qt5base-lts/util/locale_database
Edward Welbourne 9fab53a513 Rework qlocalexml2cpp.py to use writers based on Transcriber
This saves repetition of temporary-file manipulation code. In the
process, ensure that we tidy away temporary files on failure.

Moved a comment in qlocale.h to *outside* the re-written portion, to
save having to rewrite it every time. Added blank lines to separate
script data from country data in the generated output. Changed 0s in
one comment to zeros, to match another comment.

Isolated use of sys to the __main__ block.
Isolated use of enumdata to the new LocaleHeaderWriter class.
Modernised all the string-formatting I touched.

Task-number: QTBUG-81344
Change-Id: I5768e45d9a8ea23facc303b3dd8af8b3ccbf7ff2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2020-04-02 19:42:56 +01:00
..
testlocales Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
cldr2qlocalexml.py Move some shared code to a localetools module 2020-04-02 19:42:40 +01:00
cldr2qtimezone.py Rework cldr2qtimezone.py into more maintainable form 2020-04-02 19:42:50 +01:00
dateconverter.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
enumdata.py Update CLDR to v36 2019-10-25 11:44:48 +02:00
formattags.txt Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
localetools.py Add tools to localetools to facilitate source file recreation 2020-04-02 19:42:45 +01:00
qlocalexml2cpp.py Rework qlocalexml2cpp.py to use writers based on Transcriber 2020-04-02 19:42:56 +01:00
qlocalexml.py Move some shared code to a localetools module 2020-04-02 19:42:40 +01:00
README Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
xpathlite.py Move some shared code to a localetools module 2020-04-02 19:42:40 +01: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.