qt5base-lts/util/locale_database
Edward Welbourne b7d8169f02 Suggest name, when available, for unknown codes
When parsing the CLDR data, we only handle language, script and
territory (which we call country) codes if they are known to our
enumdata.py tables.  When reporting the rest as unknown, in the
content of an actual locale definition (not the likely subtag data),
check whether en.xml can resolve the code for us; if it can, report
the full name it provides, as a hint to whoever's running the script
that an update to enumdata.py may be in order.

Change-Id: I9ca1d6922a91d45bc436f4b622e5557261897d7f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2019-05-20 20:42:11 +02:00
..
testlocales Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
cldr2qlocalexml.py Suggest name, when available, for unknown codes 2019-05-20 20:42:11 +02:00
cldr2qtimezone.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
dateconverter.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
enumdata.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
formattags.txt Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
localexml.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
qlocalexml2cpp.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
README Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
xpathlite.py Suggest name, when available, for unknown codes 2019-05-20 20:42:11 +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.