Appendix D. Language Tags

Language tags are a system defined in RFC 3066, which is used in various Internet protocols and formats, including HTML, HTTP, and XML. For example, an HTTP request often has an Accept-Language header, an HTTP response can have a Content-Language header, and any HTML element can have a lang="en-US" or (in XML and XHTML) an xml:lang="en-US" attribute to indicate that its content is in that language.

There are many more language tags than are presented here; for the full list, see documentation for the Perl module I18N::LangTags::List. This appendix lists major languages, in alphabetical order by their English names.

Note: the core Perl module I18N::LangTags::List contains (as data table and as documentation you can read now) a much more complete list. I had to keep the list below short for sake of brevity of the book.)
TagLanguage
sqAlbanian
arArabic
hyArmenian
asAssamese
euBasque
beBelarusian
bnBengali/Bangla
bgBulgarian
caCatalan
zhChinese
zh-cn · Mainland Chinese
zh-tw · Taiwan Chinese
hrCroatian
csCzech
daDanish
nlDutch
enEnglish
en-us · American English
en-gb · British English
etEstonian
faFarsi
fiFinnish
frFrench
fr-ca · Canadian French
fr-fr · French French
gaIrish Gaelic
gdScots Gaelic
deGerman
elModern Greek
grcAncient Greek
guGujarati
hawHawaiian
heHebrew
hiHindi
huHungarian
isIcelandic
idIndonesian
itItalian
jaJapanese
knKannada
ksKashmiri
kokKonkani
koKorean
laLatin
lvLatvian
ltLithuanian
mkMacedonian
msMalay
mlMalayalam
mtMaltese
miMaori
mrMarathi
mniMeithei/Manipuri
neNepali
noNorwegian
nbNorwegian Bokmål
nnNorwegian Nynorsk
orOriya
plPolish
ptPortuguese
pt-br · Brazilian Portuguese
pt-pt · European Portuguese
paPunjabi
roRomanian
ruRussian
saSanskrit
srSerbian
sdSindhi
skSlovak
slSlovene
esSpanish
es-es · European Spanish
es-mx · Mexican Spanish
svSwedish
tlTagalog
taTamil
teTelugu
thThai
trTurkish
ukUkrainian
urUrdu
viVietnamese
cyWelsh
One of my more, uh, colicky consulting editors, had a some sort of fit of loud officiousness when he saw the above list. What's this Konkani? and Tee-loo-goo?! I've never heard of these languages! Who put this list together, who decided what got on this list?! etc etc.

I replied, basically: I put the list together (this being my book, and welcome to it), and while I decidedly will not walk you down the list explaining how each line satisfies one or more exacting criterion, FYI, it's basically a combination of: ...and (I continued, to the colicky consulting editor), Konkani has more speakers than Danish (which you've heard of), and Telugu has more speakers than German (which you've heard of, and heard!), so failing to have ever heard of them is, well, just too bad for you.