qt6-bb10/util/locale_database
Edward Welbourne 6a0f00ac4e Update CLDR to v45, adding language Kuvi
This was in fact present in v44, but we overlooked it somehow. The new
version also fixes some inconsistencies in the data, that I reported
against v44.1; in particular, Tamil no longer claims to override the
root AM/PM markers (probably because it uses 24-hour time so doesn't
need them).

Add the test-file under util to the list of files containing generated
content.

Conflict at 6.8 resolved by regenerating the data; this only changed
the date of generation, not the data. Then hand-edited the date to
match the picked upstream commit, to avoid future conflicts.

[ChangeLog][Third-Party Code] Updated CLDR data, used by QLocale, to
v45.

Task-number: QTBUG-126060
Pick-to: 6.7 6.5 6.2
Change-Id: I81a5bcca49519b55091fc541de6b73b606661bb4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit f79548e268a496698d77d0e78365334d0e507212)
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-07-17 12:57:30 +02:00
..
testlocales Update CLDR to v45, adding language Kuvi 2024-07-17 12:57:30 +02:00
README Integrate timezone data into the CLDR-via-QLocaleXml pipeline 2024-06-02 15:25:27 +02:00
cldr.py Derive C locale data from en_US, overriding minor details 2024-06-02 15:25:52 +02:00
cldr2qlocalexml.py Derive C locale data from en_US, overriding minor details 2024-06-02 15:25:52 +02:00
dateconverter.py Improve fidelity of approximation to CLDR zone representations 2024-04-22 11:58:25 +02:00
enumdata.py Update CLDR to v45, adding language Kuvi 2024-07-17 12:57:30 +02:00
formattags.txt
iso639_3.py Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
ldml.py Add assorted notes and suggestions in util/locale_database/ 2024-06-02 15:25:21 +02:00
localetools.py Use CLDR's names in QLocale::*ToName() for language, script, territory 2023-08-09 17:53:42 +02:00
qlocalexml.py Update C Locale constructor to match others on ids and codes 2024-06-02 15:26:05 +02:00
qlocalexml.rnc Integrate timezone data into the CLDR-via-QLocaleXml pipeline 2024-06-02 15:25:27 +02:00
qlocalexml2cpp.py qlocalexml2cpp.py: rework StringData handling of bit-sizes 2024-06-02 15:26:17 +02:00
zonedata.py Simplify UTC offset ID data by computing the offsets 2024-06-02 15:25:13 +02:00

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.