qt5base-lts/util/locale_database
Edward Welbourne b051b18490 Add a note explaining what a macrolanguage is
The comments in enumdata.py indicating macrolanguages meant nothing to
me, until I stumbled on a reference that lead me to ISO 639's usage of
the term. Add a minimal explanation to save such confusion for others.

Change-Id: Ia1d849d93a1d94c04c8c461debdecf879e9a7db5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-11-24 18:54:45 +01:00
..
testlocales Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
cldr2qlocalexml.py Remove unused imports 2020-07-10 02:36:54 +02:00
cldr2qtimezone.py Reorder locale enums alphabetically 2020-11-08 13:01:18 +01:00
cldr.py Check our enumdata.py tables are consistent with CLDR 2020-11-08 03:14:00 +01:00
dateconverter.py
enumdata.py Add a note explaining what a macrolanguage is 2020-11-24 18:54:45 +01:00
formattags.txt
ldml.py QLocale: simplify currency display name lookup 2020-11-17 19:55:04 +01:00
localetools.py Add tools to localetools to facilitate source file recreation 2020-04-02 19:42:45 +01:00
qlocalexml2cpp.py Implement binary search in QLocale's likely sub-tag lookup 2020-11-08 13:01:33 +01:00
qlocalexml.py Implement binary search in QLocale's likely sub-tag lookup 2020-11-08 13:01:33 +01: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.