Language code list for PHP programs

Websites that are geared for multi-language support have special codes you can use to display your admin sections in the language of your preference. An example of where this is used is the interface language of programs like MediaWiki, DokuWiki, or TikiWiki. You need to use a special code in the configuration file for the software to change your administration language. There are many different codes available that correlate to each different language. The table below is not completely exhaustive; however, most of the available languages and their correlating codes are below.

Common program language code list

List of available codes for languages

aaAfar

abAbkhaz

ace Aceh

af Afrikaans

ak Akan

aln Gheg Albanian

als Alemannic

am Amharic

an Aragonese

ang Old English

anp Angika

ar Arabic

arcAramaic

arnMapuche, Mapudungu, Araucanian

ary Moroccan Spoken Arabic

arz Egyptian Spoken Arabic

as Assamese

ast Asturian

av Avar

avk Kotava

ay Aymara

az Azerbaijani

azb South Azerbaijani

ba Bashkir

bar Bavarian, Austro-Bavarian, South Tyrolean

bat-smg Samogitian

bcc Southern Balochi

bcl Bikol: Central Bicolano language

be Belarusian normative

be-tarask Belarusian in Taraskievica orthography

be-x-old Belarusian in Taraskievica orthography

bg Bulgarian

bh Bihari macro language

bho Bhojpuri

bi Bislama

bjn Banjarese

bmBambara

bnBengali

bo Tibetan

bpy Bishnupriya Manipuri

bqi Bakthiari

br Breton

brh Brahui

bs Bosnian

bug Buginese

bxr Buryat (Russia)

ca Catalan

cbk-zam Zamboanga Chavacano

cdoMin Dong

ceChechen

ceb Cebuano

ch Chamorro

cho Choctaw

chr Cherokee

chy Cheyenne

ckb Sorani.

co Corsican

cps Capiznon áá£, Cree

crh Crimean Tatar

crh-latn Crimean Tatar Latin

crh-cyrl Crimean Tatar, Cyrillic

cs Czech

csb Cassubian

cv Chuvash

cy Welsh

da Danish

de German ("Du")

de-at Austrian German

de-ch Swiss Standard German

de-formal German - formal address

diq Zazaki

dsb Lower Sorbian

dtp Central Dusun

dv Dhivehi

dz Dzongkha, Bhutan

ee Estonian

egl Emilian

el Greek

eml rumagnal, Emiliano-Romagnolo / Sammarinese

en English

en-ca Canadian English

en-gb British English

eo Esperanto

es Spanish

et Estonian

eu Basque

ext Extremaduran

fa Persian

ff Fulfulde, Maasina

fi Finnish

fit Tornedalen Finnish

fiu-vro VÃµro

fj Vakaviti, Fijian

fo Faroese

fr French

frc Cajun French

frp Franco-Proven

frr North Frisian

fur Friulian

fy Frisian

ga Irish

gag Gagauz

gan Gan

gan-hans Gan

gan-hant Gan (Traditional Han)

gd Scots Gaelic

gl Galician

glk Gilaki

gn Guarana, Paraguayan

got Gothic

grc Ancient Greek

gsw Alemannic

gu Gujarati

gv Manx

ha Hausa

hak Hakka

haw Hawaiian

he Hebrew

hi Hindi

hif Fijian Hindi

hif-latn Fiji Hindi, latin

hil Hiligaynon

ho Hiri Motu

hr Croatian

hsb Upper Sorbian

ht Haitian Creole French

hu Hungarian

hy Armenian

hz Herero

ia Interlingua (IALA)

id Indonesian

ie Interlingue (Occidental)

ig Igbo

ii Sichuan Yi

ik Inupiak Inupiatun, Northwest Alaska

ike-cans Inuktitut, Eskimo

ike-latn Inuktitut, Eastern Canadian Latin

ilo Ilokano

inh Ingush

io Ido

is Icelandic

it Italian

iu Inuktitut (macro language - do

ja Japanese

jam Jamaican, Creole, English

jbo Lojban

jut Jutish / Jutlandic

jv Javanese

ka Georgian

kaa Karakalpak

kab Kabyle

kbd Kabardian

kbd-cyrl Kabardian Cyrillic

kg Kongo

khw Khowar

ki Gikuyu

kiu Kirmanjki

kj Kwanyama

kk Kazakh

kk-arab Kazakh Arabic

kk-cyrl Kazakh Cyrillic

kk-latn Kazakh Latin

kk-cn Kazakh China

kk-kz Kazakh, Kazakhsta

kk-tr Kazakh Turkey

kl Inuktitut, Greenlandi, Greenlandic, Kalaallisut

km Khmer, Central

kn Kannada

ko Korean

ko-kp Korean (DPRK)

koi Komi-Permyak

kr Kanuri, Central

krc Karachay-Balkar

kri Krio

krj Kinaray-a

ks Kashmiri

ks-arab Kashmiri

ks-deva Kashmiri Devanagari

ksh Ripuarian

ku Kurdish

ku-latn Northern Kurdish

ku-arab Northern Kurdish

kv Komi-Zyrian

kw Cornish

ky Kirghiz

la Latin

lad Ladino

lb Luxemburguish

lbe Lak

lez Lezgi

lfn Nova, Lingua Franca Nova

lg Ganda

li Limburgian

lij Ligurian

liv Livonian

lmo Lombard

ln Lingala

lo Laotian

loz Lozi

lt Lithuanian

ltg Latgalian

lus Mizo/Lushai

lv Latvian

lzh Literary Chinese

lzz Laz

mai Maithili

map-bms Banyumasan

mdf Moksha

mg Malagasy

mh Marshallese

mhr Eastern Mari

mi Maori

min Minangkabau

mk Macedonian

ml Malayalam

mn Halh Mongolian

mo Moldovan

mr Marathi

mrj Hill Mari

msMalay

mtMaltese

musMuskogee/Creek

mwlMirandese

myBurmese

myvErzya

mzn Mazanderani

na Nauruan

nah Nahuatl

nan Min-nan

nap Neapolitan

nb Norwegian, Bokmal

nds Low German or Low Saxon

nds-nl aka Nedersaksisch: Dutch Low Saxon

ne Nepali

new Newar / Nepal Bhasha

ng Ndonga

niu Niuean

nl Dutch

nl-informal Dutch informal

nn Norwegian Nynorsk

no Norwegian

nov Novial

nrm Norman

nso Leboa, Northern Sotho

nv Navajo

ny Chichewa

oc Occitan

om Oromo

or Oriya

os Ossetic

pa Eastern Punjabi

pag Pangasinan

pam Pampanga

pap Papiamentu

pcd Picard

pdc Pennsylvania German

pdt Plautdietsch/Mennonite Low German

pfl Palatinate German

pi Pali

pih Pitkern, Norfuk

pl Polish

pms Piedmontese

pnb Western Punjabi

pnt Pontic/Pontic Greek

prg Prussian

ps Pashto,

pt Portuguese

pt-br Brasil, Brazilian Portuguese

qu Southern Quechua

qug Kichwa/Northern Quechua

rgn Romagnol

rif Tarifit

rm Raeto-Romance

rmy Vlax Romany

rn Rundi/Kirundi/Urundi

ro Romanian

roa-rup Aromanian

roa-tara Tarantino

ru Russian

rue Rusyn

rup Aromanian

ruq Megleno-Romanian

ruq-cyrl Megleno-Romanian Cyrillic

ruq-latn Megleno-Romanian

ruq-latn Megleno-Romanian

rw Kinyarwanda

sa Sanskrit

sah Sakha

sat Santali

sc Sardinian

scn Sicilian

sco Scots

sd Sindhi

sdc Sassarese

se Northern Sami

sei Seri

sg Sango/Sangho

sgs Samogitian

sh Serbocroatian

shi Tachelhit

shi-tfng Tachelhit

shi-latn Tachelhit

si Sinhalese

simple Simple English

sk Slovak

sl Slovenian

sli Lower Selisian

sm Samoan

sma Southern Sami

sn Shona

so Somali

sq Albanian

sr srpski, Serbian

sr-ec Serbian Cyrillic ekavian

sr-el Serbian Latin ekavian

srn Sranan Tongo

ss Swati

st Southern Sotho

stq Saterland Frisian

su Sundanese

sv Swedish

sw Swahili

szl Silesian

ta Tamil

tcy Tulu

te Telugu

tet Tetun

tg Tajiki

tg-cyrl Tajiki Cyrllic

tg-latn Tajiki Latin

th Thai

ti Tigrinya

tk Turkmen

tl Tagalog

tly Talysh

tn Setswana

to Tonga

tokipona Toki Pona

tpi Tok Pisin

tr Turkish

tru Turoyo

ts Tsonga

tt Tatar

tt-cyrl Tatar Cyrillic

tt-latn Tatar

tum Tumbuka

tw Twi

ty Tahitian

tyv Tyvan

udm Udmurt

ug Uyghurche, Uyghur

ug-arab Uyghur Arabic

ug-latn Uyghur Latin

uk Ukrainian

ur Urdu

uz Uzbek

ve Venda

vec Venetian

vep Veps

vi Vietnamese

vls West Flemish

vmf Upper Franconian,

vo Volapak

vot Vod/Votian

vro VÃµro

wa Walloon

war Waray-Waray

wo Wolof

wuu Wu Chinese

xal Kalmyk-Oirat

xh Xhosan

xmf Mingrelian

yi Yiddish

yo Yoruba

yue Cantonese

za Zhuang

zea Zeeng Chinese

zh-classical Classical Chinese/Literary Chinese

zh-cn Chinese (PRC)

zh-hans Mandarin Chinese

zh-hant Mandarin Chinese (Traditional Chinese script)

zh-hk Chinese (Hong Kong)

zh-min-nan Min-nan

zh-mo Chinese Macau

zh-my Chinese, Malaysia

zh-sg Chinese, Singapore

zh-tw Chinese,Taiwan

zh-yue Cantonese

zu Zulu

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)

The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.

How did you find this article?

Please tell us how we can improve this article:

Email Address

Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!