qt5base-lts/util/locale_database
Ievgenii Meshcheriakov d804d21e8f cldr.py: Avoid raising StopIteration from generators
The behavior of StopIteration in generators was changed in Python 3
(see https://www.python.org/dev/peps/pep-0479/). Not raising that
exception makes it easier to port the code to Python 3.

Task-number: QTBUG-83488
Pick-to: 6.2
Change-Id: Iac6e3f6f1e1e8ef3a1a0d89b19d2ac2d186434f5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-07-09 13:42:21 +02:00
..
testlocales Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
cldr2qlocalexml.py Report unused enum members after CLDR data scan 2021-06-07 17:14:14 +02:00
cldr2qtimezone.py locale_database: Don't attempt to access property 'message' of IOError 2021-07-07 19:32:52 +02:00
cldr.py cldr.py: Avoid raising StopIteration from generators 2021-07-09 13:42:21 +02:00
dateconverter.py dateconverter.py: Remove shebang and executable attribute 2021-07-05 18:24:23 +02:00
enumdata.py Nomenclature change: s/countr/territor/g in locale scripts 2021-05-26 18:00:01 +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 Nomenclature change: s/countr/territor/g in locale scripts 2021-05-26 18:00:01 +02:00
localetools.py Add tools to localetools to facilitate source file recreation 2020-04-02 19:42:45 +01:00
qlocalexml2cpp.py locale_database: Don't attempt to access property 'message' of IOError 2021-07-07 19:32:52 +02:00
qlocalexml.py locale_database: Sort lists of unused tags before printing 2021-07-06 15:17:15 +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.