Some routines, such as SRP_Date, SRP_Time, and SRP_DateTime, use locale names to target a specific language. In such cases, SRP Utilities uses the language tagging conventions of Windows Vista and later. Instead of making you hunt down that information yourself, which is not in one tidy place, we explain what you'll need right here.

Locale names have a complex syntax that allow you to specify all aspects of a language, it's script, and the region, but in 99.99% of cases, you'll use "language-REGION" where "language" is a lowercase ISO 639-1 language code and "REGION" is an uppercase ISO 3166-1 country/region identifier. "REGION" is optional. For example, the locale name for English is "en", the locale name for English (United States) is "en-US", and the locale name for French (Canada) is "fr-CA".

Instead of making you look up language and region codes individually, here is a list of the 200 most common languages and regions:

Language CodeDescription
afAfrikaans
af-ZAAfrikaans - South Africa
arArabic
ar-AEArabic - United Arab Emirates
ar-BHArabic - Bahrain
ar-DZArabic - Algeria
ar-EGArabic - Egypt
ar-IQArabic - Iraq
ar-JOArabic - Jordan
ar-KWArabic - Kuwait
ar-LBArabic - Lebanon
ar-LYArabic - Libya
ar-MAArabic - Morocco
ar-OMArabic - Oman
ar-QAArabic - Qatar
ar-SAArabic - Saudi Arabia
ar-SYArabic - Syria
ar-TNArabic - Tunisia
ar-YEArabic - Yemen
azAzeri
az-AZCyrl Azeri (Cyrillic) - Azerbaijan
az-AZ-LatnAzeri (Latin) - Azerbaijan
beBelarusian
be-BYBelarusian - Belarus
bgBulgarian
bg-BGBulgarian - Bulgaria
caCatalan
ca-ESCatalan - Catalan
csCzech
cs-CZCzech - Czech Republic
daDanish
da-DKDanish - Denmark
deGerman
de-ATGerman - Austria
de-CHGerman - Switzerland
de-DEGerman - Germany
de-LIGerman - Liechtenstein
de-LUGerman - Luxembourg
divDhivehi
div-MVDhivehi - Maldives
elGreek
el-GRGreek - Greece
enEnglish
en-AUEnglish - Australia
en-BZEnglish - Belize
en-CAEnglish - Canada
en-CBEnglish - Caribbean
en-GBEnglish - United Kingdom
en-IEEnglish - Ireland
en-JMEnglish - Jamaica
en-NZEnglish - New Zealand
en-PHEnglish - Philippines
en-TTEnglish - Trinidad and Tobago
en-USEnglish - United States
en-ZA `English - South Africa
en-ZWEnglish - Zimbabwe
esSpanish
es-ARSpanish - Argentina
es-BOSpanish - Bolivia
es-CLeSpanish - Chile
es-COSpanish - Colombia
es-CRSpanish - Costa Rica
es-DOSpanish - Dominican Republic
es-ECSpanish - Ecuador
es-ESSpanish - Spain
es-GTSpanish - Guatemala
es-HNSpanish - Honduras
es-MXSpanish - Mexico
es-NI SpanishSpanish - Nicaragua
es-PASpanish - Panama
es-PESpanish - Peru
es-PRSpanish - Puerto Rico
es-PYSpanish - Paraguay
es-SVSpanish - El Salvador
es-UYSpanish - Uruguay
es-VESpanish - Venezuela
etEstonian
et-EEEstonian - Estonia
euBasque
eu-ESBasque - Basque
faFarsi
fa-IRFarsi - Iran
fiFinnish
fi-FIFinnish - Finland
foFaroese
fo-FOFaroese - Faroe Islands
frFrench
fr-BEFrench - Belgium
fr-CAFrench - Canada
fr-CHFrench - Switzerland
fr-FRFrench - France
fr-LUFrench - Luxembourg
fr-MCFrench - Monaco
glGalician
gl-ESGalician - Galician
guGujarati
gu-INGujarati - India
heHebrew
he-ILHebrew - Israel
hiHindi
hi-INHindi - India
hrCroatian
hr-HRCroatian - Croatia
huHungarian
hu-HUHungarian - Hungary
hyArmenian
hy-AMArmenian - Armenia
idIndonesian
id-IDIndonesian - Indonesia
isIcelandic
is-ISIcelandic - Iceland
itItalian
it-CH ItalianItalian - Switzerland
it-ITItalian - Italy
jaJapanese
ja-JPJapanese - Japan
kaGeorgian
ka-GEGeorgian - Georgia
kkKazakh
kk-KZKazakh - Kazakhstan
knKannada
kn-INKannada - India
koKorean
kokKonkani
kok-INKonkani - India
ko-KRKorean - Korea
kyKyrgyz
ky-KGKyrgyz - Kyrgyzstan
ltLithuanian
lt-LTLithuanian - Lithuania
lvLatvian
lv-LVLatvian - Latvia
mkMacedonian
mk-MKMacedonian - Former Yugoslav Republic of Macedonia
mnMongolian
mn-MNMongolian - Mongolia
mrMarathi
mr-INMarathi - India
msMalay
ms-BNMalay - Brunei
ms-MYMalay - Malaysia
nb-NONorwegian (Bokm?l) - Norway
nlDutch
nl-BEDutch - Belgium
nl-NLDutch - The Netherlands
nn-NONorwegian (Nynorsk) - Norway
noNorwegian
paPunjabi
pa-INPunjabi - India
plPolish
pl-PLPolish - Poland
ptPortuguese
pt-BRPortuguese - Brazil
pt-PTPortuguese - Portugal
roRomanian
ro-RORomanian - Romania
ruRussian
ru-RURussian - Russia
saSanskrit
sa-INSanskrit - India
skSlovak
sk-SKSlovak - Slovakia
slSlovenian
sl-SISlovenian - Slovenia
sqAlbanian
sq-ALAlbanian - Albania
sr-SP-CyrlSerbian (Cyrillic) - Serbia
sr-SP-LatnSerbian (Latin) - Serbia
svSwedish
sv-FISwedish - Finland
sv-SESwedish - Sweden
swSwahili
sw-KESwahili - Kenya
syrSyriac
syr-SYSyriac - Syria
taTamil
ta-INTamil - India
teTelugu
te-INTelugu - India
thThai
th-THThai - Thailand
trTurkish
tr-TRTurkish - Turkey
ttTatar
tt-RUTatar - Russia
ukUkrainian
uk-UAUkrainian - Ukraine
urUrdu
ur-PKUrdu - Pakistan
uzUzbek
uz-UZ-CyrlUzbek (Cyrillic) - Uzbekistan
uz-UZ-LatnUzbek (Latin) - Uzbekistan
viVietnamese
zh-CHTChinese (Traditional)
zh-CHSChinese (Simplified)
zh-CNChinese - China
zh-HKChinese - Hong Kong SAR
zh-MOChinese - Macao SAR
zh-SGChinese - Singapore
zh-TWChinese - Taiwan
  • No labels