qt6windows7/util/locale_database
2023-10-29 23:33:08 +01:00
..
testlocales qt 6.5.1 original 2023-10-29 23:33:08 +01:00
cldr2qlocalexml.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
cldr2qtimezone.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
cldr.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
dateconverter.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
enumdata.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
formattags.txt qt 6.5.1 original 2023-10-29 23:33:08 +01:00
iso639_3.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
ldml.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
localetools.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
qlocalexml2cpp.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
qlocalexml.py qt 6.5.1 original 2023-10-29 23:33:08 +01:00
qlocalexml.rnc qt 6.5.1 original 2023-10-29 23:33:08 +01:00
README qt 6.5.1 original 2023-10-29 23:33:08 +01: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.