The following table lists the locale IDs used by the GetLocale and SetLocale functions. The GetLocale function returns a Long containing the decimal locale ID. In most cases, the SetLocale function accepts a locale ID in the form of a decimal, a hexadecimal, or a string value.
Locale |
Decimal ID |
Hex ID |
String ID |
---|---|---|---|
Afrikaans |
1078 |
&h0436 |
af |
Albanian |
1052 |
&h041C |
sq |
Arabic (No location) |
1 |
&h0001 |
ar |
Arabic (United Arab Emirates) |
14337 |
&h3801 |
ar-ae |
Arabic (Bahrain) |
15361 |
&h3C01 |
ar-bh |
Arabic (Algeria) |
5121 |
&h1401 |
ar-dz |
Arabic (Egypt) |
3073 |
&h0C01 |
ar-eg |
Arabic (Iraq) |
2049 |
&h0801 |
ar-iq |
Arabic (Jordan) |
11265 |
&h2C01 |
ar-jo |
Arabic (Kuwait) |
13313 |
&h3401 |
ar-kw |
Arabic (Lebanon) |
12289 |
&h3001 |
ar-lb |
Arabic (Libya) |
4097 |
&h1001 |
ar-ly |
Arabic (Morocco) |
6145 |
&h1801 |
ar-ma |
Arabic (Oman) |
8193 |
&h2001 |
ar-om |
Arabic (Qatar) |
16385 |
&h4001 |
ar-qa |
Arabic (Saudi Arabia) |
1025 |
&h0401 |
ar-sa |
Arabic (Syria) |
10241 |
&h2801 |
ar-sy |
Arabic (Tunisia) |
7169 |
&h1C01 |
ar-tn |
Arabic (Yemen) |
9217 |
&h2401 |
ar-ye |
Azeri (Latin) |
1068 |
&h042C |
az-az |
Basque |
1069 |
&h042D |
eu |
Belarusian |
1059 |
&h0423 |
be |
Bulgarian |
1026 |
&h0402 |
bg |
Catalan |
1027 |
&h0403 |
ca |
Chinese (No location) |
4 |
&h0004 |
zh |
Chinese (China) |
2052 |
&h0804 |
zh-cn |
Chinese (Hong Kong S.A.R.) |
3076 |
&h0C04 |
zh-hk |
Chinese (Singapore) |
4100 |
&h1004 |
zh-sg |
Chinese (Taiwan) |
1028 |
&h0404 |
zh-tw |
Croatian |
1050 |
&h041A |
hr |
Czech |
1029 |
&h0405 |
cs |
Danish |
1030 |
&h0406 |
da |
Dutch (The Netherlands) |
1043 |
&h0413 |
nl |
Dutch (Belgium) |
2067 |
&h0813 |
nl-be |
English (No location) |
9 |
&h0009 |
en |
English (Australia) |
3081 |
&h0C09 |
en-au |
English (Belize) |
10249 |
&h2809 |
en-bz |
English (Canada) |
4105 |
&h1009 |
en-ca |
English (Caribbean) |
9225 |
&h2409 |
|
English (Ireland) |
6153 |
&h1809 |
en-ie |
English (Jamaica) |
8201 |
&h2009 |
en-jm |
English (New Zealand) |
5129 |
&h1409 |
en-nz |
English (Philippines) |
13321 |
&h3409 |
en-ph |
English (South Africa) |
7177 |
&h1C09 |
en-za |
English (Trinidad) |
11273 |
&h2C09 |
en-tt |
English (United Kingdom) |
2057 |
&h0809 |
en-gb |
English (United States) |
1033 |
&h0409 |
en-us |
Estonian |
1061 |
&h0425 |
et |
Farsi |
1065 |
&h0429 |
fa |
Finnish |
1035 |
&h040B |
fi |
Faroese |
1080 |
&h0438 |
fo |
French (France) |
1036 |
&h040C |
fr |
French (Belgium) |
2060 |
&h080C |
fr-be |
French (Canada) |
3084 |
&h0C0C |
fr-ca |
French (Luxembourg) |
5132 |
&h140C |
fr-lu |
French (Switzerland) |
4108 |
&h100C |
fr-ch |
Gaelic (Ireland) |
2108 |
&h083C |
|
Gaelic (Scotland) |
1084 |
&h043C |
gd |
German (Germany) |
1031 |
&h0407 |
de |
German (Austria) |
3079 |
&h0C07 |
de-at |
German (Liechtenstein) |
5127 |
&h1407 |
de-li |
German (Luxembourg) |
4103 |
&h1007 |
de-lu |
German (Switzerland) |
2055 |
&h0807 |
de-ch |
Greek |
1032 |
&h0408 |
el |
Hebrew |
1037 |
&h040D |
he |
Hindi |
1081 |
&h0439 |
hi |
Hungarian |
1038 |
&h040E |
hu |
Icelandic |
1039 |
&h040F |
is |
Indonesian |
1057 |
&h0421 |
in |
Italian (Italy) |
1040 |
&h0410 |
it |
Italian (Switzerland) |
2064 |
&h0810 |
it-ch |
Japanese |
1041 |
&h0411 |
ja |
Korean |
1042 |
&h0412 |
ko |
Latvian |
1062 |
&h0426 |
lv |
Lithuanian |
1063 |
&h0427 |
lt |
FYRO Macedonian |
1071 |
&h042F |
mk |
Malay (Malaysia) |
1086 |
&h043E |
ms |
Maltese |
1082 |
&h043A |
mt |
Marathi |
1102 |
&h044E |
mr |
Norwegian (Bokmål) |
1044 |
&h0414 |
no |
Norwegian (Nynorsk) |
2068 |
&h0814 |
|
Polish |
1045 |
&h0415 |
pl |
Portuguese (Portugal) |
2070 |
&h0816 |
pt |
Portuguese (Brazil) |
1046 |
&h0416 |
pt-br |
Raeto-Romance |
1047 |
&h0417 |
rm |
Romanian (Romania) |
1048 |
&h0418 |
ro |
Romanian (Moldova) |
2072 |
&h0818 |
ro-mo |
Russian |
1049 |
&h0419 |
ru |
Russian (Moldova) |
2073 |
&h0819 |
ru-mo |
Sanskrit |
1103 |
&h044F |
|
Serbian (Cyrillic) |
3098 |
&h0C1A |
sr |
Serbian (Latin) |
2074 |
&h081A |
|
Setsuana |
1074 |
&h0432 |
tn |
Slovenian |
1060 |
&h0424 |
sl |
Slovak |
1051 |
&h041B |
sk |
Sorbian |
1070 |
&h042E |
sb |
Spanish (Spain) |
1034 |
&h0C0A |
es |
Spanish (Argentina) |
11274 |
&h2C0A |
es-ar |
Spanish (Bolivia) |
16394 |
&h400A |
es-bo |
Spanish (Chile) |
13322 |
&h340A |
es-cl |
Spanish (Colombia) |
9226 |
&h240A |
es-co |
Spanish (Costa Rica) |
5130 |
&h140A |
es-cr |
Spanish (Dominican Republic) |
7178 |
&h1C0A |
es-do |
Spanish (Ecuador) |
12298 |
&h300A |
es-ec |
Spanish (Guatemala) |
4106 |
&h100A |
es-gt |
Spanish (Honduras) |
18442 |
&h480A |
es-hn |
Spanish (Mexico) |
2058 |
&h080A |
es-mx |
Spanish (Nicaragua) |
19466 |
&h4C0A |
es-ni |
Spanish (Panama) |
6154 |
&h180A |
es-pa |
Spanish (Peru) |
10250 |
&h280A |
es-pe |
Spanish (Puerto Rico) |
20490 |
&h500A |
es-pr |
Spanish (Paraguay) |
15370 |
&h3C0A |
es-py |
Spanish (El Salvador) |
17418 |
&h440A |
es-sv |
Spanish (Uruguay) |
14346 |
&h380A |
es-uy |
Spanish (Venezuela) |
8202 |
&h200A |
es-ve |
Sutu |
1072 |
&h0430 |
sx |
Swahili |
1089 |
&h0441 |
|
Swedish (Sweden) |
1053 |
&h041D |
sv |
Swedish (Finland) |
2077 |
&h081D |
sv-fi |
Tamil |
1097 |
&h0449 |
|
Tatar |
1092 |
0X0444 |
|
Thai |
1054 |
&h041E |
th |
Turkish |
1055 |
&h041F |
tr |
Tsonga |
1073 |
&h0431 |
ts |
Ukrainian |
1058 |
&h0422 |
uk |
Urdu |
1056 |
&h0420 |
ur |
Uzbek (Cyrillic) |
2115 |
&h0843 |
uz-uz |
Uzbek (Latin) |
1091 |
&h0443 |
uz-uz |
Vietnamese |
1066 |
&h042A |
vi |
Xhosa |
1076 |
&h0434 |
xh |
Yiddish |
1085 |
&h043D |
|
Zulu |
1077 |
&h0435 |
zu |
Part I: The Basics
Introduction
Program Structure
Data Types and Variables
Error Handling and Debugging
VBScript with Active Server Pages
Programming Outlook Forms
Windows Script Host 5.6
VBScript with Internet Explorer
Windows Script Components
Part II: Reference
Part III: Appendixes
Appendix A. Language Elements by Category
Appendix B. VBScript Constants
Appendix C. Operators
Appendix E. The Script Encoder