Skip to content

Locale codes

Locale code has the following format: language_Script_COUNTRY_VARIANT, where:

  • language - 2 or 3-letter language code, in lower case.

  • Script - optional, 4-letter script code, in title case.

  • COUNTRY - optional, 2-letter country code, in upper case.

  • VARIANT - optional, language variant, region and, sort order. A variant can have any number of underscored keywords.

List of supported language codes

Language codeName
aaAfar
abAbkhazian
aceAchinese
achAcoli
adaAdangme
adyAdyghe
aeAvestan
aebTunisian Arabic
afAfrikaans
afhAfrihili
agqAghem
ainAinu
agrAguaruna
akAkan
akkAkkadian
akzAlabama
aleAleut
alnGheg Albanian
altSouthern Altai
amAmharic
anAragonese
angOld English
anpAngika
arArabic
arcAramaic
arnMapudungun
aroAraona
arpArapaho
arqAlgerian Arabic
arsNajdi Arabic
arwArawak
aryMoroccan Arabic
arzEgyptian Arabic
asAssamese
asaAsu
aseAmerican Sign Language
astAsturian
avAvaric
avkKotava
awaAwadhi
aycSouthern Aymara
ayAymara
azAzerbaijani
baBashkir
balBaluchi
banBalinese
barBavarian
basBassa
baxBamun
bbcBatak Toba
bbjGhomala
beBelarusian
bejBeja
bemBemba
berBerber
bewBetawi
bezBena
bfdBafut
bfqBadaga
bgBulgarian
bhbBhili
bgnWestern Balochi
bhoBhojpuri
biBislama
bikBikol
binBini
bjnBanjar
bkmKom
blaSiksika
bmBambara
bnBengali
boTibetan
bpyBishnupriya
bqiBakhtiari
brBreton
brhBrahui
brxBodo
bsBosnian
bssAkoose
buaBuriat
bugBuginese
bumBulu
bynBilin
byvMedumba
caCatalan
cadCaddo
carCarib
cayCayuga
cchAtsam
ccpChakma
ceChechen
cebCebuano
cggChiga
chChamorro
chbChibcha
chgChagatai
chkChuukese
chmMari
chnChinook Jargon
choChoctaw
chpChipewyan
chrCherokee
chyCheyenne
cicChickasaw
ckbCentral Kurdish
csbKashubian
cmnMandarin Chinese
coCorsican
copCoptic
cpsCapiznon
crCree
crhCrimean Tatar
crsSeselwa Creole French
csCzech
csbKashubian
cuChurch Slavic
cvChuvash
cyWelsh
daDanish
dakDakota
darDargwa
davTaita
deGerman
delDelaware
denSlave
dgrDogrib
dinDinka
djeZarma
doiDogri
dsbLower Sorbian
dtpCentral Dusun
duaDuala
dumMiddle Dutch
dvDhivehi
dyoJola-Fonyi
dyuDyula
dzDzongkha
dzgDazaga
ebuEmbu
eeEwe
efiEfik
eglEmilian
egyAncient Egyptian
ekaEkajuk
elGreek
elxElamite
enEnglish
enmMiddle English
eoEsperanto
esSpanish
esuCentral Yupik
etEstonian
euBasque
ewoEwondo
extExtremaduran
faPersian
fanFang
fatFanti
ffFulah
fiFinnish
filFilipino
fitTornedalen Finnish
fjFijian
foFaroese
fonFon
frFrench
frcCajun French
frmMiddle French
froOld French
frpArpitan
frrNorthern Frisian
frsEastern Frisian
furFriulian
fyWestern Frisian
gaIrish
gaaGa
gagGagauz
ganGan Chinese
gayGayo
gbaGbaya
gbzZoroastrian Dari
gdScottish Gaelic
gezGeez
gilGilbertese
glGalician
glkGilaki
gmhMiddle High German
gnGuarani
gohOld High German
gomGoan Konkani
gonGondi
gorGorontalo
gotGothic
grbGrebo
grcAncient Greek
gswSwiss German
guGujarati
gucWayuu
gurFrafra
guzGusii
gvManx
gwiGwichʼin
haHausa
haiHaida
hakHakka Chinese
hawHawaiian
he, iwHebrew
hiHindi
hifFiji Hindi
hilHiligaynon
hitHittite
hmnHmong
hoHiri Motu
hneChhattisgarhi
hrCroatian
hsbUpper Sorbian
hsnXiang Chinese
htHaitian
huHungarian
hupHupa
husHuastec
hyArmenian
hzHerero
iaInterlingua
ibaIban
ibbIbibio
id, inIndonesian
ieInterlingue
igIgbo
iiSichuan Yi
ikInupiaq
iloIloko
inhIngush
ioIdo
isIcelandic
itItalian
iuInuktitut
izhIngrian
jaJapanese
jamJamaican Creole English
jboLojban
jgoNgomba
jmcMachame
jprJudeo-Persian
jrbJudeo-Arabic
jutJutish
jvJavanese
kaGeorgian
kaaKara-Kalpak
kabKabyle
kacKachin
kajJju
kamKamba
kawKawi
kbdKabardian
kblKanembu
kcgTyap
kdeMakonde
keaKabuverdianu
kenKenyang
kfoKoro
kgKongo
kgpKaingang
khaKhasi
khoKhotanese
khqKoyra Chiini
khwKhowar
kiKikuyu
kiuKirmanjki
kjKuanyama
kkKazakh
kkjKako
klKalaallisut
klnKalenjin
kmCentral Khmer
kmbKimbundu
knKannada
koKorean
koiKomi-Permyak
kokKonkani
kosKosraean
kpeKpelle
krKanuri
krcKarachay-Balkar
kriKrio
krjKinaray-a
krlKarelian
kruKurukh
ksKashmiri
ksbShambala
ksfBafia
kshColognian
kuKurdish
kumKumyk
kutKutenai
kvKomi
kwCornish
kyKirghiz
lagLangi
laLatin
ladLadino
lagLangi
lahLahnda
lamLamba
lbLuxembourgish
lezLezghian
lfnLingua Franca Nova
lgGanda
liLimburgan
lijLigurian
livLivonian
lktLakota
lmoLombard
lnLingala
loLao
lolMongo
louLouisiana Creole
lozLozi
lrcNorthern Luri
ltLithuanian
ltgLatgalian
luLuba-Katanga
luaLuba-Lulua
luiLuiseno
lunLunda
luoLuo
lusMizo
luyLuyia
lvLatvian
lzhLiterary Chinese
lzzLaz
madMadurese
mafMafa
magMagahi
maiMaithili
makMakasar
manMandingo
masMasai
mdeMaba
mdfMoksha
mdrMandar
menMende
merMeru
mfeMorisyen
mgMalagasy
mgaMiddle Irish
mghMakhuwa-Meetto
mgoMetaʼ
mhMarshallese
mhrEastern Mari
miMāori
micMi'kmaq
minMinangkabau
miqMískito
mjwKarbi
mkMacedonian
mlMalayalam
mnMongolian
mncManchu
mniManipuri
mnwMon
mosMossi
mohMohawk
mrMarathi
mrjWestern Mari
msMalay
mtMaltese
muaMundang
musMuscogee
mwlMirandese
mwrMarwari
mwvMentawai
myBurmese
myeMyene
myvErzya
mznMazanderani
naNauru
nahNahuatl
nanMin Nan Chinese
napNeapolitan
naqNama
nanMin Nan Chinese
nb, noNorwegian Bokmål
ndNorth Ndebele
ndsLow German
neNepali
newNewari
nhnCentral Nahuatl
ngNdonga
niaNias
niuNiuean
njoAo Naga
nlDutch
nmgKwasio
nnNorwegian Nynorsk
nnhNgiemboon
nogNogai
nonOld Norse
novNovial
nqoN'ko
nrSouth Ndebele
nsoPedi
nusNuer
nvNavajo
nwcClassical Newari
nyNyanja
nymNyamwezi
nynNyankole
nyoNyoro
nziNzima
ocOccitan
ojOjibwa
omOromo
orOdia
osOssetic
osaOsage
otaOttoman Turkish
paPanjabi
pagPangasinan
palPahlavi
pamPampanga
papPapiamento
pauPalauan
pcdPicard
pcmNigerian Pidgin
pdcPennsylvania German
pdtPlautdietsch
peoOld Persian
pflPalatine German
phnPhoenician
piPali
plPolish
pmsPiedmontese
pntPontic
ponPohnpeian
prPirate
prgPrussian
proOld Provençal
prsDari
psPushto
ptPortuguese
quQuechua
qucK'iche
qugChimborazo Highland Quichua
quyAyacucho Quechua
quzCusco Quechua
rajRajasthani
rapRapanui
rarRarotongan
rgnRomagnol
rifRiffian
rmRomansh
rnRundi
roRomanian
rofRombo
romRomany
rtmRotuman
ruRussian
rueRusyn
rugRoviana
rupAromanian
rwKinyarwanda
rwkRwa
saSanskrit
sadSandawe
sahSakha
samSamaritan Aramaic
saqSamburu
sasSasak
satSantali
sazSaurashtra
sbaNgambay
sbpSangu
scSardinian
scnSicilian
scoScots
sdSindhi
sdcSassarese Sardinian
sdhSouthern Kurdish
seNorthern Sami
seeSeneca
sehSena
seiSeri
selSelkup
sesKoyraboro Senni
sgSango
sgaOld Irish
sgsSamogitian
shSerbo-Croatian
shiTachelhit
shnShan
shsShuswap
shuChadian Arabic
siSinhala
sidSidamo
skSlovak
slSlovenian
sliLower Silesian
slySelayar
smSamoan
smaSouthern Sami
smjLule Sami
smnInari Sami
smsSkolt Sami
snShona
snkSoninke
soSomali
sogSogdien
sonSonghai
sqAlbanian
srSerbian
srnSranan Tongo
srrSerer
ssSwati
ssySaho
stSouthern Sotho
stqSaterland Frisian
suSundanese
sukSukuma
susSusu
suxSumerian
svSwedish
swSwahili
swbComorian
swcCongo Swahili
sycClassical Syriac
syrSyriac
szlSilesian
taTamil
tcyTulu
teTelugu
temTimne
teoTeso
terTereno
tetTetum
tgTajik
thThai
theChitwania Tharu
tiTigrinya
tigTigre
tivTiv
tkTurkmen
tklTokelau
tkrTsakhur
tlTagalog
tlhKlingon
tliTlingit
tlyTalysh
tmhTamashek
tnTswana
toTongan
togNyasa Tonga
tpiTok Pisin
trTurkish
truTuroyo
trvTaroko
tsTsonga
tsdTsakonian
tsiTsimshian
ttTatar
tttMuslim Tat
tumTumbuka
tvlTuvalu
twTwi
twqTasawaq
tyTahitian
tyvTuvinian
tzmCentral Atlas Tamazight
udmUdmurt
ugUyghur
ugaUgaritic
ukUkrainian
umbUmbundu
unmUnami
urUrdu
uzUzbek
vaiVai
veVenda
vecVenetian
vepVeps
viVietnamese
vlsWest Flemish
vmfMain-Franconian
voVolapük
votVotic
vroVõro
vunVunjo
waWalloon
waeWalser
walWolaytta
warWaray
wasWasho
wbpWarlpiri
woWolof
wuuWu Chinese
xalKalmyk
xhXhosa
xmfMingrelian
xogSoga
yaoYao
yapYapese
yavYangben
ybbYemba
yiYiddish
yoYoruba
yrlNheengatu
yueYue Chinese
yuwPapua New Guinea
zaZhuang
zapZapotec
zblBlissymbols
zeaZeelandic
zenZenaga
zghStandard Moroccan Tamazight
zhChinese
zuZulu
zunZuni
zzaZaza

List of supported script codes

Script codeName
AdlmAdlam
AfakAfaka
AghbCaucasian Albanian
AhomAhom
ArabArabic
ArmiImperial Aramaic
ArmnArmenian
AvstAvestan
BaliBalinese
BamuBamum
BassBassa Vah
BatkBatak
BengBengali
BhksBhaiksuki
BlisBlissymbols
BopoBopomofo
BrahBrahmi
BraiBraille
BugiBuginese
BuhdBuhid
CakmChakma
CansUnified Canadian Aboriginal
CariCarian
ChamCham
CherCherokee
ChrsChorasmian
CirtCirth
CoptCoptic
CpmnCypro-Minoan
CprtCypriot
CyrlCyrillic
DevaDevanagari
DiakDives Akuru
DogrDogra
DsrtDeseret
DuplDuployan
EgydEgyptian demotic
EgyhEgyptian hieratic
EgypEgyptian hieroglyphs
ElbaElbasan
ElymElymaic
EthiEthiopic
GeokKhutsuri
GeorGeorgian
GlagGlagolitic
GongGunjala Gondi
GonmMasaram Gondi
GothGothic
GranGrantha
GrekGreek
GujrGujarati
GuruGurmukhi
HangHangul
HaniHan
HanoHanunoo
HansSimplified
HantTraditional
HatrHatran
HebrHebrew
HiraHiragana
HluwAnatolian Hieroglyphs
HmngPahawh Hmong
HmnpNyiakeng Puachue Hmong
HungOld Hungarian
IndsIndus
ItalOld Italic
JavaJavanese
JurcJurchen
KaliKayah Li
KanaKatakana
KharKharoshthi
KhmrKhmer
KhojKhojki
KitlKhitan large script
KitsKhitan small script
KndaKannada
KpelKpelle
KthiKaithi
LanaTai Tham
LaooLao
LatnLatin
LekeLeke
LepcLepcha
LimbLimbu
LinaLinear A
LinbLinear B
LisuLisu
LomaLoma
LyciLycian
LydiLydian
MahjMahajani
MakaMakasar
MandMandaic
ManiManichaean
MarcMarchen
MayaMayan Hieroglyphs
MedfMedefaidrin
MendMende Kikakui
MercMeroitic Cursive
MeroMeroitic Hieroglyphs
MlymMalayalam
ModiModi
MongMongolian
MoonMoon
MrooMro
MteiMeitei Mayek
MultMultani
MymrMyanmar (Burmese)
NandNandinagari
NarbOld North Arabian
NbatNabataean
NewaNewa
NkdbNaxi Dongba
NkgbNakhi Geba
NkooN'ko
NshuNüshu
OgamOgham
OlckOl Chiki
OrkhOld Turkic
OryaOriya
OsgeOsage
OsmaOsmanya
OugrOld Uyghur
PalmPalmyrene
PaucPau Cin Hau
PcunProto-Cuneiform
PelmProto-Elamite
PermOld Permic
PhagPhags-pa
PhliInscriptional Pahlavi
PhlpPsalter Pahlavi
PhlvBook Pahlavi
PhnxPhoenician
PiqdKlingon
PlrdMiao
PrtiInscriptional Parthian
PsinProto-Sinaitic
RanjRanjana
RjngRejang
RohgHanifi Rohingya
RoroRongorongo
RunrRunic
SamrSamaritan
SaraSarati
SarbOld South Arabian
SaurSaurashtra
SgnwSignWriting
ShawShavian
ShrdSharada
ShuiShuishu
SiddSiddham
SindKhudawadi
SinhSinhala
SogdSogdian
SogoOld Sogdian
SoraSora Sompeng
SoyoSoyombo
SundSundanese
SyloSyloti Nagri
SyrcSyriac
TagbTagbanwa
TakrTakri
TaleTai Le
TaluNew Tai Lue
TamlTamil
TangTangut
TavtTai Viet
TeluTelugu
TengTengwar
TfngTifinagh
TglgTagalog
ThaaThaana
ThaiThai
TibtTibetan
TirhTirhuta
TnsaTangsa
TotoToto
UgarUgaritic
VaiiVai
VispVisible Speech
VithVithkuqi
WaraWarang Citi
WchoWancho
WoleWoleai
XpeoOld Persian
XsuxCuneiform
YeziYezidi
YiiiYi
ZanbZanabazar Square

List of supported country codes

Country codeName
ACAscension Island
ADAndorra
AEUnited Arab Emirates
AFAfghanistan
AGAntigua and Barbuda
AIAnguilla
ALAlbania
AMArmenia
ANNetherlands Antilles
AOAngola
AQAntarctica
ARArgentina
ASAmerican Samoa
ATAustria
AUAustralia
AWAruba
AXÅland Islands
AZAzerbaijan
BABosnia and Herzegovina
BBBarbados
BDBangladesh
BEBelgium
BFBurkina Faso
BGBulgaria
BHBahrain
BIBurundi
BJBenin
BLSt. Barthélemy
BMBermuda
BNBrunei
BOBolivia
BQCaribbean Netherlands
BRBrazil
BSBahamas
BTBhutan
BVBouvet Island
BWBotswana
BYBelarus
BZBelize
CACanada
CCCocos (Keeling) Islands
CDCongo - Kinshasa
CFCentral African Republic
CGCongo - Brazzaville
CHSwitzerland
CICôte d'Ivoire
CKCook Islands
CLChile
CMCameroon
CNChina
COColombia
CPClipperton Island
CRCosta Rica
CQIsland of Sark
CUCuba
CVCabo Verde
CWCuraçao
CXChristmas Island
CYCyprus
CZCzechia
DEGermany
DGDiego Garcia
DJDjibouti
DKDenmark
DMDominica
DODominican Republic
DZAlgeria
EACeuta and Melilla
ECEcuador
EEEstonia
EGEgypt
EHWestern Sahara
EREritrea
ESSpain
ETEthiopia
EUEuropean Union
EZEurozone
FIFinland
FJFiji
FKFalkland Islands
FMMicronesia
FOFaroe Islands
FRFrance
FXFrance, Metropolitan
GAGabon
GB, UKUnited Kingdom
GDGrenada
GEGeorgia
GFFrench Guiana
GGGuernsey
GHGhana
GIGibraltar
GLGreenland
GMGambia
GNGuinea
GPGuadeloupe
GQEquatorial Guinea
GRGreece
GSSouth Georgia and South Sandwich Islands
GTGuatemala
GUGuam
GWGuinea-Bissau
GYGuyana
HKHong Kong
HMHeard Island and McDonald Islands
HNHonduras
HRCroatia
HTHaiti
HUHungary
ICCanary Islands
IDIndonesia
IEIreland
ILIsrael
IMIsle of Man
INIndia
IOBritish Indian Ocean Territory
IQIraq
IRIran
ISIceland
ITItaly
JEJersey
JMJamaica
JOJordan
JPJapan
KEKenya
KGKyrgyzstan
KHCambodia
KIKiribati
KMComoros
KNSt. Kitts and Nevis
KPNorth Korea
KRSouth Korea
KWKuwait
KYCayman Islands
KZKazakhstan
LALaos
LBLebanon
LCSt. Lucia
LILiechtenstein
LKSri Lanka
LRLiberia
LSLesotho
LTLithuania
LULuxembourg
LVLatvia
LYLibya
MAMorocco
MCMonaco
MDMoldova
MEMontenegro
MFSt. Martin
MGMadagascar
MHMarshall Islands
MKNorth Macedonia
MLMali
MM, BUMyanmar
MNMongolia
MOMacao
MPNorthern Mariana Islands
MQMartinique
MRMauritania
MSMontserrat
MTMalta
MUMauritius
MVMaldives
MWMalawi
MXMexico
MYMalaysia
MZMozambique
NANamibia
NCNew Caledonia
NENiger
NFNorfolk Island
NGNigeria
NINicaragua
NLNetherlands
NONorway
NPNepal
NRNauru
NUNiue
NZNew Zealand
OMOman
PAPanama
PEPeru
PFFrench Polynesia
PGPapua New Guinea
PHPhilippines
PKPakistan
PLPoland
PMSt. Pierre and Miquelon
PNPitcairn Islands
PRPuerto Rico
PSPalestine
PTPortugal
PWPalau
PYParaguay
QAQatar
RERéunion
RORomania
RSSerbia
RURussia
RWRwanda
SASaudi Arabia
SBSolomon Islands
SCSeychelles
SDSudan
SESweden
SGSingapore
SHSt. Helena, Ascension and Tristan da Cunha
SISlovenia
SJSvalbard and Jan Mayen
SKSlovakia
SLSierra Leone
SMSan Marino
SNSenegal
SOSomalia
SRSuriname
SSSouth Sudan
STSao Tome and Principe
SVEl Salvador
SXSint Maarten
SYSyria
SZEswatini
TATristan da Cunha
TCTurks and Caicos Islands
TDChad
TFFrench Southern Territories
TGTogo
THThailand
TJTajikistan
TKTokelau
TL, TPTimor-Leste
TMTurkmenistan
TNTunisia
TOTonga
TRTurkey
TTTrinidad and Tobago
TVTuvalu
TWTaiwan
TZTanzania
UAUkraine
UGUganda
UMU.S. Outlying Islands
USUnited States of America
UYUruguay
UZUzbekistan
VAHoly See
VCSt. Vincent and the Grenadines
VEVenezuela
VGBritish Virgin Islands
VIU.S. Virgin Islands
VNViet Nam
VUVanuatu
WFWallis and Futuna
WSSamoa
XK, KVKosovo
YEYemen
YTMayotte
ZASouth Africa
ZMZambia
ZWZimbabwe