mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
This commit improves the best locale match algorithm by prioritizing closer matches and add many new tests verifying that this works as expected. In order to do this, new information had to be added to the language database, which was extended with it and updated to use the latest Unicode CLDR data and latest Windows 11 locale list. Further, add a set of scripts for maintaining the language database up to date and a GitHub workflow `genlangdb.yml` which can be run manually to regenerate the wxWidgets language-related source and header files from the underlying Windows and Unicode data. It produces 2 artifacts: - wxLanguageDatabaseDist.zip allows to easily update the language-related files in the wxWidgets repository by simply copying all files. - the normal workflow log and wxLanguageDatabaseLog.zip allow to check all temporary files of the regeneration process and to detect potential issues, before the language-related files are actually replaced by the new ones. Finally, fix wxUILocaleImplName::GetPreferredUILanguages: Under Windows 10 and above the Windows API function ::GetUserPreferredUILanguages() returns only the primary UI language plus US English. Additional preferred UI languages installed by the user are ignored, so instead of using this function read the list of user preferred languages from the Windows registry. Closes #24855.
169 lines
2.4 KiB
Plaintext
169 lines
2.4 KiB
Plaintext
Adlm adlam
|
|
Aghb caucasian_albanian
|
|
Ahom ahom
|
|
Arab arabic
|
|
Armi imperial_aramaic
|
|
Armn armenian
|
|
Avst avestan
|
|
Bali balinese
|
|
Bamu bamum
|
|
Bass bassa_vah
|
|
Batk batak
|
|
Beng bengali
|
|
Bhks bhaiksuki
|
|
Bopo bopomofo
|
|
Brah brahmi
|
|
Brai braille
|
|
Bugi buginese
|
|
Buhd buhid
|
|
Cakm chakma
|
|
Cans canadian_aboriginal
|
|
Cari carian
|
|
Cham cham
|
|
Cher cherokee
|
|
Chrs chorasmian
|
|
Copt coptic
|
|
Cpmn cypro_minoan
|
|
Cprt cypriot
|
|
Cyrl cyrillic
|
|
Deva devanagari
|
|
Diak dives_akuru
|
|
Dogr dogra
|
|
Dsrt deseret
|
|
Dupl duployan
|
|
Egyp egyptian_hieroglyphs
|
|
Elba elbasan
|
|
Elym elymaic
|
|
Ethi ethiopic
|
|
Geok georgian
|
|
Geor georgian
|
|
Glag glagolitic
|
|
Gong gunjala_gondi
|
|
Gonm masaram_gondi
|
|
Goth gothic
|
|
Gran grantha
|
|
Grek greek
|
|
Gujr gujarati
|
|
Guru gurmukhi
|
|
Hang hangul
|
|
Hani han
|
|
Hano hanunoo
|
|
Hans Hans
|
|
Hant Hant
|
|
Hatr hatran
|
|
Hebr hebrew
|
|
Hira hiragana
|
|
Hluw anatolian_hieroglyphs
|
|
Hmng pahawh_hmong
|
|
Hmnp nyiakeng_puachue_hmong
|
|
Hrkt katakana_or_hiragana
|
|
Hung old_hungarian
|
|
Ital old_italic
|
|
Java javanese
|
|
Kali kayah_li
|
|
Kana katakana
|
|
Kawi kawi
|
|
Khar kharoshthi
|
|
Khmr khmer
|
|
Khoj khojki
|
|
Kits khitan_small_script
|
|
Knda kannada
|
|
Kthi kaithi
|
|
Lana tai_tham
|
|
Laoo lao
|
|
Latn latin
|
|
Lepc lepcha
|
|
Limb limbu
|
|
Lina linear_a
|
|
Linb linear_b
|
|
Lisu lisu
|
|
Lyci lycian
|
|
Lydi lydian
|
|
Mahj mahajani
|
|
Maka makasar
|
|
Mand mandaic
|
|
Mani manichaean
|
|
Marc marchen
|
|
Medf medefaidrin
|
|
Mend mende_kikakui
|
|
Merc meroitic_cursive
|
|
Mero meroitic_hieroglyphs
|
|
Mlym malayalam
|
|
Modi modi
|
|
Mong mongolian
|
|
Mroo mro
|
|
Mtei meetei_mayek
|
|
Mult multani
|
|
Mymr myanmar
|
|
Nagm nag_mundari
|
|
Nand nandinagari
|
|
Narb old_north_arabian
|
|
Nbat nabataean
|
|
Newa newa
|
|
Nkoo nko
|
|
Nshu nushu
|
|
Ogam ogham
|
|
Olck ol_chiki
|
|
Orkh old_turkic
|
|
Orya oriya
|
|
Osge osage
|
|
Osma osmanya
|
|
Ougr old_uyghur
|
|
Palm palmyrene
|
|
Pauc pau_cin_hau
|
|
Perm old_permic
|
|
Phag phags_pa
|
|
Phli inscriptional_pahlavi
|
|
Phlp psalter_pahlavi
|
|
Phnx phoenician
|
|
Plrd miao
|
|
Prti inscriptional_parthian
|
|
Rjng rejang
|
|
Rohg hanifi_rohingya
|
|
Runr runic
|
|
Samr samaritan
|
|
Sarb old_south_arabian
|
|
Saur saurashtra
|
|
Sgnw signwriting
|
|
Shaw shavian
|
|
Shrd sharada
|
|
Sidd siddham
|
|
Sind khudawadi
|
|
Sinh sinhala
|
|
Sogd sogdian
|
|
Sogo old_sogdian
|
|
Sora sora_sompeng
|
|
Soyo soyombo
|
|
Sund sundanese
|
|
Sylo syloti_nagri
|
|
Syrc syriac
|
|
Tagb tagbanwa
|
|
Takr takri
|
|
Tale tai_le
|
|
Talu new_tai_lue
|
|
Taml tamil
|
|
Tang tangut
|
|
Tavt tai_viet
|
|
Telu telugu
|
|
Tfng tifinagh
|
|
Tglg tagalog
|
|
Thaa thaana
|
|
Thai thai
|
|
Tibt tibetan
|
|
Tirh tirhuta
|
|
Tnsa tangsa
|
|
Toto toto
|
|
Ugar ugaritic
|
|
Vaii vai
|
|
Vith vithkuqi
|
|
Wara warang_citi
|
|
Wcho wancho
|
|
Xpeo old_persian
|
|
Xsux cuneiform
|
|
Yezi yezidi
|
|
Yiii yi
|
|
Zanb zanabazar_square
|
|
Zinh inherited
|
|
Zyyy common
|
|
Zzzz unknown
|