ISO 639-1 language codes
Up to mPDF 6.x The language/country codes recognised by mPDF are configurable in the config_cp.php file.
ISO 639-1 Code | Language | Recognised by mPDF | Country |
aa | Afar | ||
ab | Abkhazian | ||
af | Afrikaans | ||
ak | Akan | ||
sq | Albanian | ||
am | Amharic | ||
ar | Arabic | YES | |
an | Aragonese | ||
hy | Armenian | ||
as | Assamese | YES | |
av | Avaric | ||
ae | Avestan | ||
ay | Aymara | ||
az | Azerbaijani | ||
ba | Bashkir | ||
bm | Bambara | ||
eu | Basque | ||
be | Belarusian | ||
bn | Bengali | YES | |
bh | Bihari | ||
bi | Bislama | ||
bo | Tibetan | ||
bs | Bosnian | ||
br | Breton | ||
bg | Bulgarian | YES | |
my | Burmese | ||
ca | Catalan; Valencian | YES | |
cs | Czech | YES | |
ch | Chamorro | ||
ce | Chechen | ||
zh | Chinese | YES | |
cv | Chuvash | ||
kw | Cornish | ||
co | Corsican | ||
cr | Cree | ||
cy | Welsh | YES | |
cs | Czech | YES | |
da | Danish | YES | |
de | German | YES | |
dv | Divehi; Dhivehi; Maldivian | ||
nl | Dutch; Flemish | YES | |
dz | Dzongkha | ||
el | Greek, Modern (1453-) | YES | |
en | English | YES | |
eo | Esperanto | ||
et | Estonian | YES | |
eu | Basque | YES | |
ee | Ewe | ||
fo | Faroese | ||
fa | Persian | YES | |
fj | Fijian | ||
fi | Finnish | YES | |
fr | French | YES | |
ff | Fulah | ||
ka | Georgian | ||
de | German | YES | |
gd | Gaelic; Scottish Gaelic | ||
ga | Irish | YES | |
gl | Galician | ||
gv | Manx | ||
el | Greek, Modern (1453-) | YES | |
gu | Gujarati | YES | |
ht | Haitian; Haitian Creole | ||
ha | Hausa | ||
he | Hebrew | YES | |
hz | Herero | ||
hi | Hindi | YES | |
ho | Hiri Motu | ||
hr | Croatian | YES | |
hu | Hungarian | YES | |
hy | Armenian | ||
ig | Igbo | ||
is | Icelandic | YES | |
io | Ido | ||
ie | Interlingue; Occidental | ||
ia | Interlingua | ||
id | Indonesian | ||
ik | Inupiaq | ||
is | Icelandic | YES | |
it | Italian | YES | |
jv | Javanese | ||
ja | Japanese | YES | |
kl | Kalaallisut; Greenlandic | YES | |
kn | Kannada | YES | |
ks | Kashmiri | YES | |
ka | Georgian | ||
kr | Kanuri | ||
kk | Kazakh | ||
km | Central Khmer | ||
ki | Kikuyu; Gikuyu | ||
rw | Kinyarwanda | ||
ky | Kirghiz; Kyrgyz | ||
kv | Komi | ||
kg | Kongo | ||
ko | Korean | YES | |
kj | Kuanyama; Kwanyama | ||
ku | Kurdish | ||
lo | Lao | ||
la | Latin | ||
lv | Latvian | YES | |
li | Limburgan; Limburger; Limburgish | ||
ln | Lingala | ||
lt | Lithuanian | YES | |
lb | Luxembourgish; Letzeburgesch | ||
lu | Luba-Katanga | ||
lg | Ganda | ||
mk | Macedonian | YES | |
mh | Marshallese | ||
ml | Malayalam | YES | |
mi | Maori | ||
mr | Marathi | ||
ms | Malay | ||
mk | Macedonian | YES | |
mg | Malagasy | ||
mt | Maltese | ||
mn | Mongolian | ||
mi | Maori | ||
ms | Malay | ||
my | Burmese | ||
na | Nauru | ||
nv | Navajo; Navaho | ||
nr | Ndebele, South; South Ndebele | ||
nd | Ndebele, North; North Ndebele | ||
ng | Ndonga | ||
ne | Nepali | YES | |
nl | Dutch; Flemish | YES | |
nn | Norwegian Nynorsk | ||
nb | Bokmål, Norwegian | ||
no | Norwegian | YES | |
ny | Chichewa; Chewa; Nyanja | ||
oc | Occitan | ||
oj | Ojibwa | ||
or | Oriya | YES | |
om | Oromo | ||
os | Ossetian; Ossetic | ||
pa | Panjabi; Punjabi | YES | |
fa | Persian | YES | |
pi | Pali | ||
pl | Polish | YES | |
pt | Portuguese | YES | |
ps | Pushto; Pashto | YES | |
qu | Quechua | ||
rm | Romansh | ||
ro | Romanian; Moldavian; Moldovan | YES | |
rn | Rundi | ||
ru | Russian | YES | |
sg | Sango | ||
sa | Sanskrit | ||
si | Sinhala; Sinhalese | ||
sk | Slovak | YES | |
sl | Slovenian | YES | |
se | Northern Sami | ||
sm | Samoan | ||
sn | Shona | ||
sd | Sindhi | YES | -IN, -PK |
so | Somali | ||
st | Sotho, Southern | ||
es | Spanish; Castilian | YES | |
sq | Albanian | ||
sc | Sardinian | ||
sr | Serbian | YES | |
ss | Swati | ||
su | Sundanese | ||
sw | Swahili | ||
sv | Swedish | YES | |
ty | Tahitian | ||
ta | Tamil | YES | |
tt | Tatar | ||
te | Telugu | YES | |
tg | Tajik | ||
tl | Tagalog | ||
th | Thai | YES | |
bo | Tibetan | ||
ti | Tigrinya | ||
to | Tonga (Tonga Islands) | ||
tn | Tswana | ||
ts | Tsonga | ||
tk | Turkmen | ||
tr | Turkish | YES | |
tw | Twi | ||
ug | Uighur; Uyghur | ||
uk | Ukrainian | YES | |
ur | Urdu | YES | |
uz | Uzbek | ||
ve | Venda | ||
vi | Vietnamese | YES | |
vo | Volapük | ||
cy | Welsh | YES | |
wa | Walloon | ||
wo | Wolof | ||
xh | Xhosa | ||
yi | Yiddish | ||
yo | Yoruba | ||
za | Zhuang; Chuang | ||
zh | Chinese | YES | -TW, -HK, -CN |
zu | Zulu |