qtbase/util/locale_database
Edward Welbourne 9c8df22147 QLocaleXml: use tabs for indentation
One character instead of four adds up to a lot of saved bytes when a
file has many lines: and the timezone name L10n data is going to add a
lot of lines.

Task-number: QTBUG-115158
Change-Id: I856f3771266a70b7a9ef4078a9b4aecf42315831
Reviewed-by: Mate Barany <mate.barany@qt.io>
2024-06-11 15:43:04 +02:00
..
testlocales Modernise testlocales/ program and make it compile 2024-04-26 07:36:16 +02:00
README Integrate timezone data into the CLDR-via-QLocaleXml pipeline 2024-06-02 15:25:27 +02:00
cldr.py Derive C locale data from en_US, overriding minor details 2024-06-02 15:25:52 +02:00
cldr2qlocalexml.py QLocaleXml: include Qt version in the localeDatabase tag 2024-06-11 15:43:04 +02:00
dateconverter.py Improve fidelity of approximation to CLDR zone representations 2024-04-22 11:58:25 +02:00
enumdata.py Fix spacing inconsistencies brought to light by flake8 2024-04-23 20:51:19 +02:00
formattags.txt
iso639_3.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
ldml.py Add assorted notes and suggestions in util/locale_database/ 2024-06-02 15:25:21 +02:00
localetools.py QLocaleXml: include Qt version in the localeDatabase tag 2024-06-11 15:43:04 +02:00
qlocalexml.py QLocaleXml: use tabs for indentation 2024-06-11 15:43:04 +02:00
qlocalexml.rnc QLocaleXml: include Qt version in the localeDatabase tag 2024-06-11 15:43:04 +02:00
qlocalexml2cpp.py Add --verbose and --quiet arguments to CLDR processing commands 2024-06-11 15:43:04 +02:00
zonedata.py Simplify UTC offset ID data by computing the offsets 2024-06-02 15:25:13 +02: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,
time/q*calendar_data_p.h and time/qtimezone*_data_p.h under
src/corelib/). See enumdata.py and zonedata.py for when and how to
update the data they provide. You shall definitely need to pass
--no-verify or -n to git commit for these changes.