ISO Language Codes

ISO Language Codes (语言代码)

ISO Language Codes

ISO Language Codes (语言代码)

The HTML lang attribute declares the language of a web page or only a part of a web page. It is used to help search engines and browsers. (HTML lang属性声明网页的语言或仅声明网页的一部分。它用于帮助搜索引擎和浏览器。)

W3C suggests to declare the primary language for every web page with the lang attribute inside the <html> tag.

See how to do it below:

<html lang="hy">
...
</html>

See how it must be in XHTML below:

<html xmlns="//www.w3cdoc.com/2014/xhtml" lang="en" xml:lang="en">
...
</html>

ISO 639-1 Language Codes

ISO 639-1 defines languages’ abbreviations. (ISO 639-1定义了语言的缩写。)

See the list of language codes by country:

LanguageISO Code
Abkhazianab
Afaraa
Afrikaansaf
Albaniansq
Amharicam
Arabicar
Aragonesean
Armenianhy
Assameseas
Aymaraay
Azerbaijaniaz
Bashkirba
Basqueeu
Bengali (Bangla)bn
Bhutanidz
Biharibh
Bislamabi
Bretonbr
Bulgarianbg
Burmesemy
Belarussian (Byelorussian)be
Cambodiankm
Catalanca
Cherokee-
Chewa-
Chinesezh
Chinese (Simplified)zh-Hans
Chinese (Traditional)zh-Hant
Corsicanco
Croatianhr
Czechcs
Danishda
Divehi-
Dutchnl
Edo-
Englishen
Esperantoeo
Estonianet
Faeroesefo
Farsifa
Fijifj
Finnishfi
Flemish-
Frenchfr
Frisianfy
Fulfulde-
Galiciangl
Gaelic (Scottish)gd
Gaelic (Manx)gv
Georgianka
Germande
Greekel
Greenlandickl
Guaranign
Gujaratigu
Haitian Creoleht
Hausaha
Hawaiian-
Hebrewhe, iw
Hindihi
Hungarianhu
Ibibio-
Icelandicis
Idoio
Igbo-
Indonesianid, in
Interlinguaia
Interlingueie
Inuktitutiu
Inupiakik
Irishga
Italianit
Japaneseja
Javanesejv
Kannadakn
Kanuri-
Kashmiriks
Kazakhkk
Kinyarwanda (Rwanda)rw
Kirghizky
Kirundi (Rundi)rn
Konkani-
Koreanko
Kurdishku
Laothianlo
Latinla
Latvian (Lettish)lv
Limburgish (Limburger)li
Lingalaln
Lithuanianlt
Macedonianmk
Malagasymg
Malayms
Malayalamml
Maltesemt
Maorimi
Marathimr
Mongolianmn
Nauruna
Nepaline
Norwegianno
Occitanoc
Oriyaor
Oromo (Afaan Oromo)om
Papiamentu-
Pashto (Pushto)ps
Polishpl
Portuguesept
Punjabipa
Quechuaqu
Rhaeto-Romancerm
Romanianro
Russianru
Sami (Lappish)-
Samoansm
Sangrosg
Sanskritsa
Serbiansr
Serbo-Croatiansh
Sesothost
Setswanatn
Shonasn
Sichuan Yiii
Sindhisd
Sinhalesesi
Siswatiss
Slovaksk
Sloveniansl
Somaliso
Spanishes
Sundanesesu
Swahili (Kiswahili)sw
Swedishsv
Syriac-
Tagalogtl
Tajiktg
Tamazight-
Tamilta
Tatartt
Telugute
Thaith
Tibetanbo
Tigrinyati
Tongato
Tsongats
Turkishtr
Turkmentk
Twitw
Uighurug
Ukrainianuk
Urduur
Uzbekuz
Venda-
Vietnamesevi
Volapükvo
Wallonwa
Welshcy
Wolofwo
Xhosaxh
Yi-
Yiddishyi , ji
Yorubayo
Zuluzu


请遵守《互联网环境法规》文明发言,欢迎讨论问题
扫码反馈

扫一扫,反馈当前页面

咨询反馈
扫码关注
返回顶部