Add new languages and a script for CLDR v43

Also add a comment to check the locales new additions enable do have
substantial data. Some of those added in the past are more or less
stubs, for all that they're officially present.

Task-number: QTBUG-111550
Change-Id: I04d46ee96303ecec56c056a0deff6a9457b863e9
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Reviewed-by: Mate Barany <mate.barany@qt.io>
(cherry picked from commit 5db5d3e4b1e4c3ba996f9cc6109d1d0309255aa3)
This commit is contained in:
Edward Welbourne 2023-07-27 18:50:21 +02:00
parent bf650edb2e
commit 5b97f49777

View File

@ -367,7 +367,15 @@ language_map = {
334: ("Toki Pona", "tok"),
335: ("Pijin", "pis"),
336: ("Obolo", "ann"),
# added in CLDR v43
337: ("Baluchi", "bal"),
338: ("Ligurian", "lij"),
339: ("Rohingya", "rhg"),
340: ("Torwali", "trw"),
}
# Don't add languages just because they exist; check CLDR does provide
# substantial data for locales using it; and check, once added, they
# don't show up in cldr2qlocalexmo.py's unused listing.
language_aliases = {
# Renamings prior to Qt 6.0 (CLDR v37):
@ -837,6 +845,8 @@ script_map = {
139: ("Vai", "Vaii"),
140: ("Varang Kshiti", "Wara"),
141: ("Yi", "Yiii"),
# Added at CLDR v43
142: ("Hanifi", "Rohg"), # Used for Rohingya
}
script_aliases = {