qtbase-opensource-src/util/locale_database
openKylinBot e082218519 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
..
testlocales Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
README Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
cldr.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
cldr2qlocalexml.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
cldr2qtimezone.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
dateconverter.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
enumdata.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
formattags.txt Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
ldml.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
localetools.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
qlocalexml.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
qlocalexml2cpp.py Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00

README

locale_database is used to generate qlocale data from CLDR.

CLDR is the Common Locale Data Repository, a database for localized
data (like date formats, country names etc).  It is provided by the
Unicode consortium.

See cldr2qlocalexml.py for how to run it and qlocalexml2cpp.py to
update the locale data tables (principally text/qlocale_data_p.h and
time/q*calendar_data_p.h under src/corelib/). See enumdata.py for when
and how to update the data it provides. You shall definitely need to
pass --no-verify or -n to git commit for these changes.

See cldr2qtimezone.py on how to update tables of Windows-specific
names for zones and UTC-offset zone names.