qt5base-lts/util/locale_database
Yuhang Zhao 42fe677584 Core: make CLDR data constexpr
Task-number: QTBUG-100485
Pick-to: 6.3 6.2
Change-Id: Ib8c5160ca0994662a5fdc2293dc734c1bdcac4f2
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2022-05-27 09:33:28 +08:00
..
testlocales Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cldr2qlocalexml.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cldr2qtimezone.py Core: make CLDR data constexpr 2022-05-27 09:33:28 +08:00
cldr.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dateconverter.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
enumdata.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
formattags.txt Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
iso639_3.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
ldml.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
localetools.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocalexml2cpp.py Core: make CLDR data constexpr 2022-05-27 09:33:28 +08:00
qlocalexml.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocalexml.rnc Use SPDX license identifiers 2022-05-16 16:37:38 +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.