Appendix G. Language Codes

The following table shows the two-letter ISO 639 language codes that are used to declare the language of a document in the lang and xml:lang attributes. It covers many of the world's major languages.

Country

ISO Code

Country

ISO Code

Abkhazian

AB

Bhutani

DZ

Afan (Oromo)

OM

Bihari

BH

Afar

AA

Bislama

BI

Afrikaans

AF

Breton

BR

Albanian

SQ

Bulgarian

BG

Amharic

AM

Burmese

MY

Arabic

AR

Byelorussian

BE

Armenian

HY

Cambodian

KM

Assamese

AS

Catalan

CA

Aymara

AY

Chinese

ZH

Azerbaijani

AZ

Corsican

CO

Bashkir

BA

Croatian

HR

Basque

EU

Czech

CS

Bengali; Bangla

BN

Danish

DA

Dutch

NL

Japanese

JA

English

EN

Javanese

JV

Esperanto

EO

Kannada

KN

Estonian

ET

Kashmiri

KS

Faroese

FO

Kazakh

KK

Fiji

FJ

Kinyarwanda

RW

Finnish

FI

Kirghiz

KY

French

FR

Korean

KO

Frisian

FY

Kurdish

KU

Galician

GL

Kurundi

RN

Georgian

KA

Laothian

LO

German

DE

Latin

LA

Greek

EL

Latvian; Lettish

LV

Greenlandic

KL

Lingala

LN

Guarani

GN

Lithuanian

LT

Gujarati

GU

Macedonian

MK

Hausa

HA

Malagasy

MG

Hebrew

HE

Malay

MS

Hindi

HI

Malayalam

ML

Hungarian

HU

Maltese

MT

Icelandic

IS

Maori

MI

Indonesian

ID

Marathi

MR

Interlingua

IA

Moldavian

MO

Interlingue

IE

Mongolian

MN

Inuktitut

IU

Nauru

NA

Inupiak

IK

Nepali

NE

Irish

GA

Norwegian

NO

Italian

IT

Occitan

OC

Oriya

OR

Swedish

SV

Pashto; Pushto

PS

Tagalog

TL

Persian (Farsi)

FA

Tajik

TG

Polish

PL

Tamil

TA

Portuguese

PT

Tatar

TT

Punjabi

PA

Telugu

TE

Quechua

QU

Thai

TH

Rhaeto-Romance

RM

Tibetan

BO

Romanian

RO

Tigrinya

TI

Russian

RU

Tonga

TO

Samoan

SM

Tsonga

TS

Sangho

SG

Turkish

TR

Sanskrit

SA

Turkmen

TK

Scots Gaelic

GD

Twi

TW

Serbian

SR

Uigur

UG

Serbo-Croatian

SH

Ukrainian

UK

Sesotho

ST

Urdu

UR

Setswana

TN

Uzbek

UZ

Shona

SN

Vietnamese

VI

Sindhi

SD

Volapuk

VO

Singhalese

SI

Welsh

CY

Siswati

SS

Wolof

WO

Slovak

SK

Xhosa

XH

Slovenian

Get Beginning HTML, XHTML, CSS, and JavaScript® 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.