mirror of https://github.com/qt/qtbase.git
One character instead of four adds up to a lot of saved bytes when a file has many lines: and the timezone name L10n data is going to add a lot of lines. Task-number: QTBUG-115158 Change-Id: I856f3771266a70b7a9ef4078a9b4aecf42315831 Reviewed-by: Mate Barany <mate.barany@qt.io> |
||
---|---|---|
.. | ||
testlocales | ||
README | ||
cldr.py | ||
cldr2qlocalexml.py | ||
dateconverter.py | ||
enumdata.py | ||
formattags.txt | ||
iso639_3.py | ||
ldml.py | ||
localetools.py | ||
qlocalexml.py | ||
qlocalexml.rnc | ||
qlocalexml2cpp.py | ||
zonedata.py |
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, time/q*calendar_data_p.h and time/qtimezone*_data_p.h under src/corelib/). See enumdata.py and zonedata.py for when and how to update the data they provide. You shall definitely need to pass --no-verify or -n to git commit for these changes.