[Cache/snapshot from http://www.i18nguy.com/unicode/language-identifiers.html; please see the canonical/official document, and reference.]

I18n Guy, your I18n advisor

Using Language Identifiers (RFC 3066)

Language identifiers as specified by RFC 3066, can have the form language, language-country, language-country-variant and some other specialized forms. The guidelines for choosing between language and language-country are ambiguous.

To clarify which form should be used, John Cowan and I have posted this list for review. This is currently a draft document. It will be continually revised as we get feedback from linguists and internationalization experts. (Although, I have a day job, so allow some time for me turn it around.) The topic is being discussed on the W3C www-international mail list and the IETF ietf-lang mail list.

Send comments to Tex Texin and John Cowan. To improve turn-around of edits, please make sure the mail uses the subject: "Language Identifier List Comments". This will help us easily identify the mails and process them. Please use a different subject for other discussions.

There are a number of suggestions for deciding whether to use a one-level (language only) or two-level (language-region) tag. They require some discussion and will be added here shortly.

Language codes are from ISO 639. Country codes are from ISO 3166.

DRAFT

John Cowan's Proposed List of 2-level Language Identifiers

IdentifierLanguageRegion
ar-AEArabicUnited Arab Emirates
ar-BHArabicBahrain
ar-DZArabicAlgeria
ar-EGArabicEgypt
ar-ILArabicIsrael
ar-IQArabicIraq
ar-JOArabicJordan
ar-KWArabicKuwait
ar-LBArabicLebanon
ar-LYArabicLibya
ar-MAArabicMorocco
ar-MRArabicMauritania
ar-OMArabicOman
ar-PSArabicPalestinian West Bank and Gaza
ar-QAArabicQatar
ar-SAArabicSaudi Arabia
ar-SDArabicSudan
ar-SOArabicSomalia
ar-SYArabicSyria
ar-TDArabicChad
ar-TNArabicTunisia
ar-YEArabicYemen
bn-BDBengaliBangladesh
bn-INBengaliIndia
bn-SGBengaliSingapore
ch-GUChamorroGuam
ch-MPChamorroNorthern Mariana Islands
cy-GBWelshUnited Kingdom
da-DKDanishDenmark
da-GLDanishGreenland
de-ATGermanAustria
de-BEGermanBelgium
de-CHGermanSwitzerland
de-DEGermanGermany
de-DKGermanDenmark
de-LIGermanLiechtenstein
de-LUGermanLuxembourg
el-CYGreekCyprus
el-GRGreekGreece
en-AGEnglishAntigua and Barbuda
en-AIEnglishAnguilla
en-ASEnglishAmerican Samoa
en-AUEnglishAustralia
en-BBEnglishBarbados
en-BMEnglishBermuda
en-BNEnglishBrunei
en-BSEnglishBahamas
en-BWEnglishBotswana
en-BZEnglishBelize
en-CAEnglishCanada
en-CKEnglishCook Islands
en-CMEnglishCameroon
en-DMEnglishDominica
en-EREnglishEritrea
en-ETEnglishEthiopia
en-FJEnglishFiji
en-FKEnglishFalkland Islands
en-FMEnglishMicronesia
en-GBEnglishUnited Kingdom
en-GDEnglishGrenada
en-GHEnglishGhana
en-GIEnglishGibraltar
en-GMEnglishGambia
en-GUEnglishGuam
en-GYEnglishGuyana
en-IEEnglishIreland
en-ILEnglishIsrael
en-IOEnglishBritish Indian Ocean Territ
en-JMEnglishJamaica
en-KEEnglishKenya
en-KIEnglishKiribati
en-KNEnglishSt. Kitts-Nevis
en-KYEnglishCayman Islands
en-LCEnglishSt. Lucia
en-LREnglishLiberia
en-LSEnglishLesotho
en-MPEnglishNorthern Mariana Islands
en-MSEnglishMontserrat
en-MTEnglishMalta
en-MUEnglishMauritius
en-MWEnglishMalawi
en-NAEnglishNamibia
en-NFEnglishNorfolk Island
en-NGEnglishNigeria
en-NREnglishNauru
en-NUEnglishNiue
en-NZEnglishNew Zealand
en-PGEnglishPapua New Guinea
en-PHEnglishPhilippines
en-PKEnglishPakistan
en-PNEnglishPitcairn
en-PREnglishPuerto Rico
en-PWEnglishPalau
en-RWEnglishRwanda
en-SBEnglishSolomon Islands
en-SCEnglishSeychelles
en-SGEnglishSingapore
en-SHEnglishSt. Helena
en-SLEnglishSierra Leone
en-SOEnglishSomalia
en-SZEnglishSwaziland
en-TCEnglishTurks and Caicos Islands
en-TKEnglishTokelau
en-TOEnglishTonga
en-TTEnglishTrinidad and Tobago
en-UGEnglishUganda
en-USEnglishUSA
en-VCEnglishSt. Vincent and the Grenadi
en-VGEnglishBritish Virgin Islands
en-VIEnglishU.S. Virgin Islands
en-VUEnglishVanuatu
en-WSEnglishWestern Samoa
en-ZAEnglishSouth Africa
en-ZMEnglishZambia
en-ZWEnglishZimbabwe
es-ARSpanishArgentina
es-BOSpanishBolivia
es-CLSpanishChile
es-COSpanishColombia
es-CRSpanishCosta Rica
es-CUSpanishCuba
es-DOSpanishDominican Republic
es-ECSpanishEcuador
es-ESSpanishSpain
es-GQSpanishEquatorial Guinea
es-GTSpanishGuatemala
es-HNSpanishHonduras
es-MXSpanishMexico
es-NISpanishNicaragua
es-PASpanishPanama
es-PESpanishPeru
es-PRSpanishPuerto Rico
es-PYSpanishParaguay
es-SVSpanishEl Salvador
es-USSpanishUSA
es-UYSpanishUruguay
es-VESpanishVenezuela
fr-ADFrenchAndorra
fr-BEFrenchBelgium
fr-BFFrenchBurkina Faso
fr-BIFrenchBurundi
fr-BJFrenchBenin
fr-CAFrenchCanada
fr-CDFrenchDemocratic Republic of Congo
fr-CFFrenchCentral African Republic
fr-CGFrenchCongo
fr-CHFrenchSwitzerland
fr-CIFrenchCote d'Ivoire
fr-CMFrenchCameroon
fr-DJFrenchDjibouti
fr-FRFrenchFrance
fr-GAFrenchGabon
fr-GBFrenchUnited Kingdom
fr-GFFrenchFrench Guiana
fr-GNFrenchGuinea
fr-GPFrenchGuadeloupe
fr-HTFrenchHaiti
fr-ITFrenchItaly
fr-KMFrenchComoros Islands
fr-LBFrenchLebanon
fr-LUFrenchLuxembourg
fr-MCFrenchMonaco
fr-MGFrenchMadagascar
fr-MLFrenchMali
fr-MQFrenchMartinique
fr-NCFrenchNew Caledonia
fr-PFFrenchFrench Polynesia
fr-PMFrenchSt. Pierre and Miquelon
fr-REFrenchReunion
fr-RWFrenchRwanda
fr-SCFrenchSeychelles
fr-TDFrenchChad
fr-TGFrenchTogo
fr-VUFrenchVanuatu
fr-WFFrenchWallis and Futuna
fr-YTFrenchMayotte
ga-GBIrishUnited Kingdom
ga-IEIrishIreland
gd-GBGaelicUnited Kingdom
gv-GBManxUnited Kingdom
hr-BACroatianBosnia-Herzegovina
hr-HRCroatianCroatia
hu-HUHungarianHungary
hu-SIHungarianSlovenia
it-CHItalianSwitzerland
it-HRItalianCroatia
it-ITItalianItaly
it-SIItalianSlovenia
it-SMItalianSan Marino
ko-KPKoreanKorea, North
ko-KRKoreanKorea, South
kw-GBCornishUnited Kingdom
ln-CDLingalaDemocratic Republic of Congo
ln-CGLingalaCongo
ms-BNMalayBrunei
ms-MYMalayMalaysia
ms-SGMalaySingapore
nl-ANDutchNetherlands Antilles
nl-AWDutchAruba
nl-BEDutchBelgium
nl-NLDutchNetherlands
nl-SRDutchSuriname
pt-AOPortugueseAngola
pt-BRPortugueseBrazil
pt-CVPortugueseCape Verde Islands
pt-GWPortugueseGuinea-Bissau
pt-MZPortugueseMozambique
pt-PTPortuguesePortugal
pt-STPortugueseSão Tomé e Principe
sd-INSindhiIndia
sd-PKSindhiPakistan
sr-BASerbianBosnia-Herzegovina
sr-YUSerbianYugoslavia
ss-SZSwatiSwaziland
ss-ZASwatiSouth Africa
sv-FISwedishFinland
sv-SESwedishSweden
sw-KESwahiliKenya
sw-TZSwahiliTanzania
ta-INTamilIndia
ta-SGTamilSingapore
tn-BWTswanaBotswana
tn-ZATswanaSouth Africa
tr-BGTurkishBulgaria
tr-CYTurkishCyprus
tr-TRTurkishTurkey
ur-INUrduIndia
ur-PKUrduPakistan
zh-CNMandarin ChineseChina
zh-SGMandarin ChineseSingapore
zh-TWMandarin ChineseTaiwan