qt5base-lts/util/locale_database
Edward Welbourne 181424d9b5 QLocaleXmlWriter.enumData(): move enumdata import to method from caller
The only reason cldr.py imported enumdata was so as to pass what it
imported to writer.enumData(); that method might as well do the import
itself.

Change-Id: Ie77dcd29058f926b8cca4deef35837f30505859f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2021-05-26 18:00:01 +02:00
..
testlocales Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
cldr2qlocalexml.py QLocaleXmlWriter.enumData(): move enumdata import to method from caller 2021-05-26 18:00:01 +02:00
cldr2qtimezone.py Update to CLDR v38.1, adding Yukon Standard Time 2021-01-27 15:00:57 +01:00
cldr.py Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
dateconverter.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
enumdata.py Remove unused functions from enumdata.py 2021-05-18 20:57:25 +02:00
formattags.txt Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
ldml.py QLocale: simplify currency display name lookup 2020-11-17 19:55:04 +01:00
localetools.py Add tools to localetools to facilitate source file recreation 2020-04-02 19:42:45 +01:00
qlocalexml2cpp.py Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
qlocalexml.py QLocaleXmlWriter.enumData(): move enumdata import to method from caller 2021-05-26 18:00:01 +02:00
README Update CLDR to v37, adding Nigerian Pidgin as a new language 2020-10-26 15:28:59 +02:00

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.