qt6-bb10/util/locale_database
Edward Welbourne e08ca2c9c8 Fix spacing inconsistencies brought to light by flake8
It has many grumbles about spacing, but at least this code is
currently consistent about its departure from PEP8's spacing rules
(and closer to Qt's) for the present. We can review whether to do a
drastic spacing revolution later.

Change-Id: Ife4e8a5b02b63434bd9c7ac7ba4cbc11b6311f9f
Reviewed-by: Mate Barany <mate.barany@qt.io>
2024-04-23 20:51:19 +02:00
..
testlocales Preparations to deprecate QItemDelegate 2023-10-05 21:08:45 +02:00
README
cldr.py Use dict comprehensions more in cldr.py and qlocalexml.py 2024-04-22 18:56:20 +02:00
cldr2qlocalexml.py Prepare to support taking CLDR data from its github upstream 2024-01-19 15:38:25 +01:00
cldr2qtimezone.py Move QTimeZone's CLDR-derived data into a namespace 2024-02-08 15:40:04 +01: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 Fix spacing inconsistencies brought to light by flake8 2024-04-23 20:51:19 +02:00
localetools.py Use CLDR's names in QLocale::*ToName() for language, script, territory 2023-08-09 17:53:42 +02:00
qlocalexml.py Fix spacing inconsistencies brought to light by flake8 2024-04-23 20:51:19 +02:00
qlocalexml.rnc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocalexml2cpp.py Fix spacing inconsistencies brought to light by flake8 2024-04-23 20:51:19 +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 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.