qt6-bb10/util/local_database
Edward Welbourne c1b15005c6 Fix handling of default content locale data
We iterate theoretically many sources (albeit there's only really ever
one) for this data, so accumulate instead of only keeping the last
(and initialize it as the list it always ended up being, not a
dictionary, so that this can work).

The form of each token is a locale name, so it may be lang_Script just
as readily as lang_LAND; so parse (and validate) the tags more
faithfully to catch both cases.  Abstract that parsing into a function
and use it in both places that need it.

Change-Id: Ibdbc4eafefab6a5ef70646d9fea150f2cb408d05
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
2018-08-22 18:00:14 +00:00
..
testlocales Updated license headers 2016-01-21 18:55:18 +00:00
README
cldr2qlocalexml.py Fix handling of default content locale data 2018-08-22 18:00:14 +00:00
cldr2qtimezone.py Made the "do not edit generated code" notice clearer 2017-06-08 13:37:21 +00:00
dateconverter.py Updated license headers 2016-01-21 18:55:18 +00:00
enumdata.py Tidy up generation of aliases in locale-related enums 2018-08-16 10:10:04 +00:00
formattags.txt
localexml.py Add byte-based units to CLDR data 2017-06-13 11:28:09 +00:00
qlocalexml2cpp.py Tidy up generation of aliases in locale-related enums 2018-08-16 10:10:04 +00:00
xpathlite.py Updated license headers 2016-01-21 18:55:18 +00:00

README

local_database is used to generate qlocale data from the Common Locale Data Repository (The database for localized names (like date formats, country names etc)).