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>
This commit is contained in:
Edward Welbourne 2023-07-27 18:50:21 +02:00
parent 8a762c6f0f
commit 5db5d3e4b1

View File

@ -367,7 +367,15 @@ language_map = {
334: ("Toki Pona", "tok"), 334: ("Toki Pona", "tok"),
335: ("Pijin", "pis"), 335: ("Pijin", "pis"),
336: ("Obolo", "ann"), 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 = { language_aliases = {
# Renamings prior to Qt 6.0 (CLDR v37): # Renamings prior to Qt 6.0 (CLDR v37):
@ -837,6 +845,8 @@ script_map = {
139: ("Vai", "Vaii"), 139: ("Vai", "Vaii"),
140: ("Varang Kshiti", "Wara"), 140: ("Varang Kshiti", "Wara"),
141: ("Yi", "Yiii"), 141: ("Yi", "Yiii"),
# Added at CLDR v43
142: ("Hanifi", "Rohg"), # Used for Rohingya
} }
script_aliases = { script_aliases = {