Appendix G
Language Codes
Table G-1 shows the two-letter ISO 639 language codes that you can use to declare the language of a document in the lang attribute. It covers many of the world’s major languages.
Language | ISO Code |
Abkhazian | AB |
Afan (Oromo) | OM |
Afar | AA |
Afrikaans | AF |
Albanian | SQ |
Amharic | AM |
Arabic | AR |
Armenian | HY |
Assamese | AS |
Aymara | AY |
Azerbaijani | AZ |
Bashkir | BA |
Basque | EU |
Bengali; Bangla | BN |
Bhutani | DZ |
Bihari | BH |
Bislama | BI |
Breton | BR |
Bulgarian | BG |
Burmese | MY |
Byelorussian | BE |
Cambodian | KM |
Catalan | CA |
Chinese | ZH |
Corsican | CO |
Croatian | HR |
Czech | CS |
Danish | DA |
Dutch | NL |
English | EN |
Esperanto | EO |
Estonian | ET |
Faroese | FO |
Fiji | FJ |
Finnish | FI |
French | FR |
Frisian | FY |
Galician | GL |
Georgian | KA |
German | DE |
Greek | EL |
Greenlandic | KL |
Guarani | GN |
Gujarati | GU |
Hausa | HA |
Hebrew | HE |
Hindi | HI |
Hungarian | HU |
Icelandic | IS |
Indonesian | ID |
Interlingua | IA |
Interlingue | IE |
Inuktitut | IU |
Inupiak | IK |
Irish | GA |
Italian | IT |
Japanese | JA |
Javanese | JV |
Kannada | KN |
Kashmiri | KS |
Kazakh | KK |
Kinyarwanda | RW |
Kirghiz | KY |
Korean | KO |
Kurdish | KU |
Kurundi | RN |
Laothian | LO |
Latin | LA |
Latvian; Lettish | LV |
Lingala | LN |
Lithuanian | LT |
Macedonian | MK |
Malagasy | MG |
Malay | MS |
Malayalam | ML |
Maltese | MT |
Maori | MI |
Marathi | MR |
Moldavian | MO |
Mongolian | MN |
Nauru | NA |
Nepali | NE |
Norwegian | NO |
Occitan | OC |
Oriya | OR |
Pashto; Pushto | PS |
Persian (Farsi) | FA |
Polish | PL |
Portuguese | PT |
Punjabi | PA |
Quechua | QU |
Rhaeto-Romance | RM |
Romanian | RO |
Russian | RU |
Samoan | SM |
Sangho | SG |
Sanskrit | SA |
Scots Gaelic | GD |
Serbian | SR |
Serbo-Croatian | SH |
Sesotho | ST |
Setswana | TN |
Shona | SN |
Sindhi | SD |
Singhalese ... |
Get Beginning HTML and CSS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.