跳到主要内容

GetLocale 取当地ID

🎯功能

获取当前的 locale ID

📜语法

结果 = GetLocale()

📥参数

📤返回

整数型, 获取当前的 locale ID 数值, 详见下备注里的表格

💡示例

TracePrint GetLocale()

📘备注

  • locale 是用户参考信息集合,比如语言、国家、地区和文化习俗。locale 决定键盘布局、字母排序顺序、日期、时间、数字与货币格式等等。
Locale 描述简写十六进制值十进制值
Afrikaansaf&H04361078
Albaniansq&H041C1052
Arabic – United Arab Emiratesar-ae&H380114337
Arabic - Bahrainar-bh&H3C0115361
Arabic - Algeriaar-dz&H14015121
Arabic - Egyptar-eg&H0C013073
Arabic - Iraqar-iq&H08012049
Arabic - Jordanar-jo&H2C0111265
Arabic - Kuwaitar-kw&H340113313
Arabic - Lebanonar-lb&H300112289
Arabic - Libyaar-ly&H10014097
Arabic - Moroccoar-ma&H18016145
Arabic - Omanar-om&H20018193
Arabic - Qatarar-qa&H400116385
Arabic - Saudi Arabiaar-sa&H04011025
Arabic - Syriaar-sy&H280110241
Arabic - Tunisiaar-tn&H1C017169
Arabic - Yemenar-ye&H24019217
Armenianhy&H042B1067
Azeri – Latinaz-az&H042C1068
Azeri – Cyrillicaz-az&H082C2092
Basqueeu&H042D1069
Belarusianbe&H04231059
Bulgarianbg&H04021026
Catalanca&H04031027
Chinese - Chinazh-cn&H08042052
Chinese - Hong Kong S.A.R.zh-hk&H0C043076
Chinese – Macau S.A.Rzh-mo&H14045124
Chinese - Singaporezh-sg&H10044100
Chinese - Taiwanzh-tw&H04041028
Croatianhr&H041A1050
Czechcs&H04051029
Danishda&H04061030
Dutch – The Netherlandsnl-nl&H04131043
Dutch - Belgiumnl-be&H08132067
English - Australiaen-au&H0C093081
English - Belizeen-bz&H280910249
English - Canadaen-ca&H10094105
English – Carribbeanen-cb&H24099225
English - Irelanden-ie&H18096153
English - Jamaicaen-jm&H20098201
English - New Zealanden-nz&H14095129
English – Phillippinesen-ph&H340913321
English - South Africaen-za&H1C097177
English - Trinidaden-tt&H2C0911273
English - United Kingdomen-gb&H08092057
English - United Statesen-us&H04091033
Estonianet&H04251061
Farsifa&H04291065
Finnishfi&H040B1035
Faroesefo&H04381080
French - Francefr-fr&H040C1036
French - Belgiumfr-be&H080C2060
French - Canadafr-ca&H0C0C3084
French - Luxembourgfr-lu&H140C5132
French - Switzerlandfr-ch&H100C4108
Gaelic – Irelandgd-ie&H083C2108
Gaelic - Scotlandgd&H043C1084
German - Germanyde-de&H04071031
German - Austriade-at&H0C073079
German - Liechtensteinde-li&H14075127
German - Luxembourgde-lu&H10074103
German - Switzerlandde-ch&H08072055
Greekel&H04081032
Hebrewhe&H040D1037
Hindihi&H04391081
Hungarianhu&H040E1038
Icelandicis&H040F1039
Indonesianid&H04211057
Italian - Italyit-it&H04101040
Italian - Switzerlandit-ch&H08102064
Japaneseja&H04111041
Koreanko&H04121042
Latvianlv&H04261062
Lithuanianlt&H04271063
FYRO Macedonianmk&H042F1071
Malay - Malaysiams-my&H043E1086
Malay – Bruneims-bn&H083E2110
Maltesemt&H043A1082
Marathimr&H044E1102
Norwegian - Bokmålno-no&H04141044
Norwegian – Nynorskno-no&H08142068
Polishpl&H04151045
Portuguese - Portugalpt-pt&H08162070
Portuguese - Brazilpt-br&H04161046
Raeto-Romancerm&H04171047
Romanian - Romaniaro&H04181048
Romanian - Moldovaro-mo&H08182072
Russianru&H04191049
Russian - Moldovaru-mo&H08192073
Sanskritsa&H044F1103
Serbian - Cyrillicsr-sp&H0C1A3098
Serbian – Latinsr-sp&H081A2074
Setsuanatn&H04321074
Sloveniansl&H04241060
Slovaksk&H041B1051
Sorbiansb&H042E1070
Spanish - Spaines-es&H0C0A1034
Spanish - Argentinaes-ar&H2C0A11274
Spanish - Boliviaes-bo&H400A16394
Spanish - Chilees-cl&H340A13322
Spanish - Colombiaes-co&H240A9226
Spanish - Costa Ricaes-cr&H140A5130
Spanish - Dominican Republices-do&H1C0A7178
Spanish - Ecuadores-ec&H300A12298
Spanish - Guatemalaes-gt&H100A4106
Spanish - Hondurases-hn&H480A18442
Spanish - Mexicoes-mx&H080A2058
Spanish - Nicaraguaes-ni&H4C0A19466
Spanish - Panamaes-pa&H180A6154
Spanish - Perues-pe&H280A10250
Spanish - Puerto Ricoes-pr&H500A20490
Spanish - Paraguayes-py&H3C0A15370
Spanish - El Salvadores-sv&H440A17418
Spanish - Uruguayes-uy&H380A14346
Spanish - Venezuelaes-ve&H200A8202
Sutusx&H04301072
Swahilisw&H04411089
Swedish - Swedensv-se&H041D1053
Swedish - Finlandsv-fi&H081D2077
Tamilta&H04491097
Tatartt&H04441092
Thaith&H041E1054
Turkishtr&H041F1055
Tsongats&H04311073
Ukrainianuk&H04221058
Urduur&H04201056
Uzbek – Cyrillicuz-uz&H08432115
Uzbek – Latinuz-uz&H04431091
Vietnamesevi&H042A1066
Xhosaxh&H04341076
Yiddishyi&H043D1085
Zuluzu&H04351077