I18N::...::List(3perl)

okay bestie, this is the I18N::...::List(3perl) page from the Perl Programmers Reference Guide โ€” the real module here is I18N::LangTags::List, and it's all about tags and names for human languages. ๐Ÿ’…

๐Ÿ’– NAME ๐Ÿ’–

I18N::LangTags::List โ€” tags and names for human languages.


โœจ SYNOPSIS โœจ

use I18N::LangTags::List;
print "Parlez-vous... ", join(', ',
    I18N::LangTags::List::name('elx') || 'unknown_language',
    I18N::LangTags::List::name('ar-Kw') || 'unknown_language',
    I18N::LangTags::List::name('en') || 'unknown_language',
    I18N::LangTags::List::name('en-CA') || 'unknown_language',
  ), "?\n";

prints:

Parlez-vous... Elamite, Kuwait Arabic, English, Canadian English?

๐ŸŒธ DESCRIPTION ๐ŸŒธ

This module provides a function I18N::LangTags::List::name( langtag ) that takes a language tag (see I18N::LangTags) and returns the best attempt at an English name for it, or undef if it can't make sense of the tag.

The function I18N::LangTags::List::name(...) is not exported.

This module also provides a function I18N::LangTags::List::is_decent( langtag ) that returns true iff the language tag is syntactically valid and is for general use (like "fr" or "fr-ca", below). That is, it returns false for tags that are syntactically invalid and for tags, like "aus", that are listed in brackets below. This function is not exported.

The map of tags-to-names that it uses is accessible as %I18N::LangTags::List::Name, and it's the same as the list that follows in this documentation, which should be useful to you even if you don't use this module.


๐Ÿฆ‹ ABOUT LANGUAGE TAGS ๐Ÿฆ‹

Internet language tags, as defined in RFC 3066, are a formalism for denoting human languages. The two-letter ISO 639-1 language codes are well known (as "en" for English), as are their forms when qualified by a country code ("en-US"). Less well-known are the arbitrary-length non-ISO codes (like "i-mingo"), and the recently (in 2001) introduced three-letter ISO-639-2 codes.

Remember these important facts, bestie:

  • Language tags are not locale IDs. A locale ID is written with a "_" instead of a "-", (almost?) always matches "m/^\w\w_\w\w\b/", and means something different than a language tag. A language tag denotes a language. A locale ID denotes a language as used in a particular place, in combination with non-linguistic location-specific information such as what currency is used there. Locales also often denote character set information, as in "en_US.ISO8859-1".
  • Language tags are not for computer languages.
  • "Dialect" is not a useful term, since there is no objective criterion for establishing when two language-forms are dialects of eachother, or are separate languages.
  • Language tags are not case-sensitive. en-US, en-us, En-Us, etc., are all the same tag, and denote the same language.
  • Not every language tag really refers to a single language. Some language tags refer to conditions: i-default (system-message text in English plus maybe other languages), und (undetermined language). Others (notably lots of the three-letter codes) are bibliographic tags that classify whole groups of languages, as with cus "Cushitic (Other)" (i.e., a language that has been classed as Cushtic, but which has no more specific code) or the even less linguistically coherent sai for "South American Indian (Other)". Though useful in bibliography, SUCH TAGS ARE NOT FOR GENERAL USE. For further guidance, email me.
  • Language tags are not country codes. In fact, they are often distinct codes, as with language tag ja for Japanese, and ISO 3166 country code ".jp" for Japan.

๐Ÿ‘‘ LIST OF LANGUAGES ๐Ÿ‘‘

The first part of each item is the language tag, between {...}. It is followed by an English name for the language or language-group. Language tags that I judge to be not for general use, are bracketed.

This list is in alphabetical order by English name of the language.

  • {ab} โ€” Abkhazian
    • eq Abkhaz
  • {ace} โ€” Achinese
  • {ach} โ€” Acoli
  • {ada} โ€” Adangme
  • {ady} โ€” Adyghe
    • eq Adygei
  • {aa} โ€” Afar
  • {afh} โ€” Afrihili
    • (Artificial)
  • {af} โ€” Afrikaans
  • [{afa} : Afro-Asiatic (Other)] โ€” bracketed, so not for general use ๐Ÿ’€
  • {ak} โ€” Akan
    • (Formerly "aka".)
  • {akk} โ€” Akkadian
    • (Historical)
  • {sq} โ€” Albanian
  • {ale} โ€” Aleut
  • [{alg} : Algonquian languages] โ€” bracketed, not for general use
    • NOT Algonquin!
  • [{tut} : Altaic (Other)] โ€” bracketed, not for general use
  • {am} โ€” Amharic
    • NOT Aramaic!
  • {i-ami} โ€” Ami
    • eq Amis. eq 'Amis. eq Pangca.
  • [{apa} : Apache languages] โ€” bracketed, not for general use
  • {ar} โ€” Arabic
    • Many forms are mutually un-intelligible in spoken media. Notable forms: {ar-ae} UAE Arabic; {ar-bh} Bahrain Arabic; {ar-dz} Algerian Arabic; {ar-eg} Egyptian Arabic; {ar-iq} Iraqi Arabic; {ar-jo} Jordanian Arabic; {ar-kw} Kuwait Arabic; {ar-lb} Lebanese Arabic; {ar-ly} Libyan Arabic; {ar-ma} Moroccan Arabic; {ar-om} Omani Arabic; {ar-qa} Qatari Arabic; {ar-sa} Sauda Arabic; {ar-sy} Syrian Arabic; {ar-tn} Tunisian Arabic; {ar-ye} Yemen Arabic.
  • {arc} โ€” Aramaic
    • NOT Amharic! NOT Samaritan Aramaic!
  • {arp} โ€” Arapaho
  • {arn} โ€” Araucanian
  • {arw} โ€” Arawak
  • {hy} โ€” Armenian
  • {an} โ€” Aragonese
  • [{art} : Artificial (Other)] โ€” bracketed, not for general use
  • {ast} โ€” Asturian
    • eq Bable.
  • {as} โ€” Assamese
  • [{ath} : Athapascan languages] โ€” bracketed, not for general use
    • eq Athabaskan. eq Athapaskan. eq Athabascan.
  • [{aus} : Australian languages] โ€” bracketed, not for general use
  • [{map} : Austronesian (Other)] โ€” bracketed, not for general use
  • {av} โ€” Avaric
    • (Formerly "ava".)
  • {ae} โ€” Avestan
    • eq Zend
  • {awa} โ€” Awadhi
  • {ay} โ€” Aymara
  • {az} โ€” Azerbaijani
    • eq Azeri
    • Notable forms: {az-arab} Azerbaijani in Arabic script; {az-cyrl} Azerbaijani in Cyrillic script; {az-latn} Azerbaijani in Latin script.
  • {ban} โ€” Balinese
  • [{bat} : Baltic (Other)] โ€” bracketed, not for general use
  • {bal} โ€” Baluchi
  • {bm} โ€” Bambara
    • (Formerly "bam".)
  • [{bai} : Bamileke languages] โ€” bracketed, not for general use
  • {bad} โ€” Banda
  • [{bnt} : Bantu (Other)] โ€” bracketed, not for general use
  • {bas} โ€” Basa
  • {ba} โ€” Bashkir
  • {eu} โ€” Basque
  • {btk} โ€” Batak (Indonesia)
  • {bej} โ€” Beja
  • {be} โ€” Belarusian
    • eq Belarussian. eq Byelarussian. eq Belorussian. eq Byelorussian. eq White Russian. eq White Ruthenian. NOT Ruthenian!
  • {bem} โ€” Bemba
  • {bn} โ€” Bengali
    • eq Bangla.
  • [{ber} : Berber (Other)] โ€” bracketed, not for general use
  • {bho} โ€” Bhojpuri
  • {bh} โ€” Bihari
  • {bik} โ€” Bikol
  • {bin} โ€” Bini
  • {bi} โ€” Bislama
    • eq Bichelamar.
  • {bs} โ€” Bosnian
  • {bra} โ€” Braj
  • {br} โ€” Breton
  • {bug} โ€” Buginese
  • {bg} โ€” Bulgarian
  • {i-bnn} โ€” Bunun
  • {bua} โ€” Buriat
  • {my} โ€” Burmese
  • {cad} โ€” Caddo
  • {car} โ€” Carib
  • {ca} โ€” Catalan
    • eq Catalรกn. eq Catalonian.
  • [{cau} : Caucasian (Other)] โ€” bracketed, not for general use
  • {ceb} โ€” Cebuano
  • [{cel} : Celtic (Other)] โ€” bracketed, not for general use
    • Notable forms: {cel-gaulish} Gaulish (Historical)
  • [{cai} : Central American Indian (Other)] โ€” bracketed, not for general use
  • {chg} โ€” Chagatai
    • (Historical?)
  • [{cmc} : Chamic languages] โ€” bracketed, not for general use
  • {ch} โ€” Chamorro
  • {ce} โ€” Chechen
  • {chr} โ€” Cherokee
    • eq Tsalagi
  • {chy} โ€” Cheyenne
  • {chb} โ€” Chibcha
    • (Historical) NOT Chibchan (which is a language family).
  • {ny} โ€” Chichewa
    • eq Nyanja. eq Chinyanja.
  • {zh} โ€” Chinese
    • Many forms are mutually un-intelligible in spoken media. Notable forms: {zh-hans} Chinese, in simplified script; {zh-hant} Chinese, in traditional script; {zh-tw} Taiwan Chinese; {zh-cn} PRC Chinese; {zh-sg} Singapore Chinese; {zh-mo} Macau Chinese; {zh-hk} Hong Kong Chinese; {zh-guoyu} Mandarin [Putonghua/Guoyu]; {zh-hakka} Hakka [formerly "i-hakka"]; {zh-min} Hokkien; {zh-min-nan} Southern Hokkien; {zh-wuu} Shanghaiese; {zh-xiang} Hunanese; {zh-gan} Gan; {zh-yue} Cantonese.
  • {chn} โ€” Chinook Jargon
    • eq Chinook Wawa.
  • {chp} โ€” Chipewyan
  • {cho} โ€” Choctaw
  • {cu} โ€” Church Slavic
    • eq Old Church Slavonic.
  • {chk} โ€” Chuukese
    • eq Trukese. eq Chuuk. eq Truk. eq Ruk.
  • {cv} โ€” Chuvash
  • {cop} โ€” Coptic
  • {kw} โ€” Cornish
  • {co} โ€” Corsican
    • eq Corse.
  • {cr} โ€” Cree
    • NOT Creek! (Formerly "cre".)
  • {mus} โ€” Creek
    • NOT Cree!
  • [{cpe} : English-based Creoles and pidgins (Other)] โ€” bracketed, not for general use
  • [{cpf} : French-based Creoles and pidgins (Other)] โ€” bracketed, not for general use
  • [{cpp} : Portuguese-based Creoles and pidgins (Other)] โ€” bracketed, not for general use
  • [{crp} : Creoles and pidgins (Other)] โ€” bracketed, not for general use
  • {hr} โ€” Croatian
    • eq Croat.
  • [{cus} : Cushitic (Other)] โ€” bracketed, not for general use
  • {cs} โ€” Czech
  • {dak} โ€” Dakota
    • eq Nakota. eq Latoka.
  • {da} โ€” Danish
  • {dar} โ€” Dargwa
  • {day} โ€” Dayak
  • {i-default} โ€” Default (Fallthru) Language
    • Defined in RFC 2277, this is for tagging text (which must include English text, and might/should include text in other appropriate languages) that is emitted in a context where language-negotiation wasn't possible -- in SMTP mail failure messages, for example.
  • {del} โ€” Delaware
  • {din} โ€” Dinka
  • {dv} โ€” Divehi
    • eq Maldivian. (Formerly "div".)
  • {doi} โ€” Dogri
    • NOT Dogrib!
  • {dgr} โ€” Dogrib
    • NOT Dogri!
  • [{dra} : Dravidian (Other)] โ€” bracketed, not for general use
  • {dua} โ€” Duala
  • {nl} โ€” Dutch
    • eq Netherlander. Notable forms: {nl-nl} Netherlands Dutch; {nl-be} Belgian Dutch.
  • {dum} โ€” Middle Dutch (ca.1050-1350)
    • (Historical)
  • {dyu} โ€” Dyula
  • {dz} โ€” Dzongkha
  • {efi} โ€” Efik
  • {egy} โ€” Ancient Egyptian
    • (Historical)
  • {eka} โ€” Ekajuk
  • {elx} โ€” Elamite
    • (Historical)
  • {en} โ€” English
    • Notable forms: {en-au} Australian English; {en-bz} Belize English; {en-ca} Canadian English; {en-gb} UK English; {en-ie} Irish English; {en-jm} Jamaican English; {en-nz} New Zealand English; {en-ph} Philippine English; {en-tt} Trinidad English; {en-us} US English; {en-za} South African English; {en-zw} Zimbabwe English.
  • {enm} โ€” Old English (1100-1500)
    • (Historical)
  • {ang} โ€” Old English (ca.450-1100)
    • eq Anglo-Saxon. (Historical)
  • {i-enochian} โ€” Enochian (Artificial)
  • {myv} โ€” Erzya
  • {eo} โ€” Esperanto
    • (Artificial)
  • {et} โ€” Estonian
  • {ee} โ€” Ewe
    • (Formerly "ewe".)
  • {ewo} โ€” Ewondo
  • {fan} โ€” Fang
  • {fat} โ€” Fanti
  • {fo} โ€” Faroese
  • {fj} โ€” Fijian
  • {fi} โ€” Finnish
  • [{fiu} : Finno-Ugrian (Other)] โ€” bracketed, not for general use
    • eq Finno-Ugric. NOT Ugaritic!
  • {fon} โ€” Fon
  • {fr} โ€” French
    • Notable forms: {fr-fr} France French; {fr-be} Belgian French; {fr-ca} Canadian French; {fr-ch} Swiss French; {fr-lu} Luxembourg French; {fr-mc} Monaco French.
  • {frm} โ€” Middle French (ca.1400-1600)
    • (Historical)
  • {fro} โ€” Old French (842-ca.1400)
    • (Historical)
  • {fy} โ€” Frisian
  • {fur} โ€” Friulian
  • {ff} โ€” Fulah
    • (Formerly "ful".)
  • {gaa} โ€” Ga
  • {gd} โ€” Scots Gaelic
    • NOT Scots!
  • {gl} โ€” Gallegan
    • eq Galician
  • {lg} โ€” Ganda
    • (Formerly "lug".)
  • {gay} โ€” Gayo ๐ŸŒบ
  • {gba} โ€” Gbaya
  • {gez} โ€” Geez โœจ
    • eq Ge'ez
  • {ka} โ€” Georgian
  • {de} โ€” German ๐Ÿ‡ฉ๐Ÿ‡ช
    • Notable forms, bestie: {de-at} Austrian German; {de-be} Belgian German; {de-ch} Swiss German; {de-de} Germany German; {de-li} Liechtenstein German; {de-lu} Luxembourg German.
  • {gmh} โ€” Middle High German (ca.1050-1500) ๐Ÿ•ฐ๏ธ
    • (Historical)
  • {goh} โ€” Old High German (ca.750-1050) ๐Ÿ•ฐ๏ธ
    • (Historical)
  • [{gem} : Germanic (Other)] โœจ
  • {gil} โ€” Gilbertese
  • {gon} โ€” Gondi
  • {gor} โ€” Gorontalo
  • {got} โ€” Gothic ๐Ÿฆ‡
    • (Historical)
  • {grb} โ€” Grebo
  • {grc} โ€” Ancient Greek ๐Ÿ›๏ธ
    • (Historical) (Until 15th century or so.)
  • {el} โ€” Modern Greek ๐Ÿ‡ฌ๐Ÿ‡ท
    • (Since 15th century or so.)
  • {gn} โ€” Guarani
    • Guaranรญ
  • {gu} โ€” Gujarati
  • {gwi} โ€” Gwich'in
    • eq Gwichin
  • {hai} โ€” Haida
  • {ht} โ€” Haitian
    • eq Haitian Creole
  • {ha} โ€” Hausa
  • {haw} โ€” Hawaiian ๐ŸŒบ
    • Hawai'ian
  • {he} โ€” Hebrew โœก๏ธ
    • (Formerly "iw".)
  • {hz} โ€” Herero
  • {hil} โ€” Hiligaynon
  • {him} โ€” Himachali
  • {hi} โ€” Hindi
  • {ho} โ€” Hiri Motu
  • {hit} โ€” Hittite ๐Ÿบ
    • (Historical)
  • {hmn} โ€” Hmong
  • {hu} โ€” Hungarian
  • {hup} โ€” Hupa
  • {iba} โ€” Iban
  • {is} โ€” Icelandic ๐Ÿ‡ฎ๐Ÿ‡ธ
  • {io} โ€” Ido ๐Ÿค–
    • (Artificial)
  • {ig} โ€” Igbo
    • (Formerly "ibo".)
  • {ijo} โ€” Ijo
  • {ilo} โ€” Iloko
  • [{inc} : Indic (Other)] โœจ
  • [{ine} : Indo-European (Other)] โœจ
  • {id} โ€” Indonesian
    • (Formerly "in".)
  • {inh} โ€” Ingush
  • {ia} โ€” Interlingua (International Auxiliary Language Association) ๐Ÿซถ
    • (Artificial) NOT Interlingue! ๐Ÿ˜ญ
  • {ie} โ€” Interlingue ๐Ÿซถ
    • (Artificial) NOT Interlingua! ๐Ÿ˜ญ
  • {iu} โ€” Inuktitut
    • A subform of "Eskimo".
  • {ik} โ€” Inupiaq
    • A subform of "Eskimo".
  • [{ira} : Iranian (Other)] โœจ
  • {ga} โ€” Irish ๐Ÿ€
  • {mga} โ€” Middle Irish (900-1200) ๐Ÿ•ฐ๏ธ
    • (Historical)
  • {sga} โ€” Old Irish (to 900) ๐Ÿ•ฐ๏ธ
    • (Historical)
  • [{iro} : Iroquoian languages] โœจ
  • {it} โ€” Italian ๐Ÿ‡ฎ๐Ÿ‡น
    • Notable forms: {it-it} Italy Italian; {it-ch} Swiss Italian.
  • {ja} โ€” Japanese ๐Ÿ‡ฏ๐Ÿ‡ต
    • (NOT "jp"!) ๐Ÿšจ
  • {jv} โ€” Javanese
    • (Formerly "jw" because of a typo.) ๐Ÿ˜ญ
  • {jrb} โ€” Judeo-Arabic
  • {jpr} โ€” Judeo-Persian
  • {kbd} โ€” Kabardian
  • {kab} โ€” Kabyle
  • {kac} โ€” Kachin
  • {kl} โ€” Kalaallisut
    • eq Greenlandic "Eskimo"
  • {xal} โ€” Kalmyk
  • {kam} โ€” Kamba
  • {kn} โ€” Kannada
    • eq Kanarese. NOT Canadian! ๐Ÿ™ˆ
  • {kr} โ€” Kanuri
    • (Formerly "kau".)
  • {krc} โ€” Karachay-Balkar
  • {kaa} โ€” Kara-Kalpak
  • {kar} โ€” Karen
  • {ks} โ€” Kashmiri
  • {csb} โ€” Kashubian
    • eq Kashub
  • {kaw} โ€” Kawi
  • {kk} โ€” Kazakh
  • {kha} โ€” Khasi
  • {km} โ€” Khmer
    • eq Cambodian. eq Kampuchean.
  • [{khi} : Khoisan (Other)] โœจ
  • {kho} โ€” Khotanese
  • {ki} โ€” Kikuyu
    • eq Gikuyu.
  • {kmb} โ€” Kimbundu
  • {rw} โ€” Kinyarwanda
  • {ky} โ€” Kirghiz
  • {i-klingon} โ€” Klingon ๐Ÿ––
  • {kv} โ€” Komi
  • {kg} โ€” Kongo
    • (Formerly "kon".)
  • {kok} โ€” Konkani
  • {ko} โ€” Korean ๐Ÿ‡ฐ๐Ÿ‡ท
  • {kos} โ€” Kosraean
  • {kpe} โ€” Kpelle
  • {kro} โ€” Kru
  • {kj} โ€” Kuanyama
  • {kum} โ€” Kumyk
  • {ku} โ€” Kurdish
  • {kru} โ€” Kurukh
  • {kut} โ€” Kutenai
  • {lad} โ€” Ladino
    • eq Judeo-Spanish. NOT Ladin (a minority language in Italy).
  • {lah} โ€” Lahnda
    • NOT Lamba! ๐Ÿšจ
  • {lam} โ€” Lamba
    • NOT Lahnda! ๐Ÿšจ
  • {lo} โ€” Lao
    • eq Laotian.
  • {la} โ€” Latin ๐Ÿ›๏ธ
    • (Historical) NOT Ladin! NOT Ladino! ๐Ÿ˜ญ
  • {lv} โ€” Latvian
    • eq Lettish.
  • {lb} โ€” Letzeburgesch
    • eq Luxemburgian, eq Luxemburger. (Formerly "i-lux".)
  • {lez} โ€” Lezghian
  • {li} โ€” Limburgish
    • eq Limburger, eq Limburgan. NOT Letzeburgesch! ๐Ÿšจ
  • {ln} โ€” Lingala
  • {lt} โ€” Lithuanian
  • {nds} โ€” Low German
    • eq Low Saxon. eq Low German. eq Low Saxon. (yes, it says it twice, bestie, don't come for me ๐Ÿ’€)
  • {art-lojban} โ€” Lojban (Artificial) ๐Ÿค–
  • {loz} โ€” Lozi
  • {lu} โ€” Luba-Katanga
    • (Formerly "lub".)
  • {lua} โ€” Luba-Lulua
  • {lui} โ€” Luiseno
    • eq Luiseรฑo.
  • {lun} โ€” Lunda
  • {luo} โ€” Luo (Kenya and Tanzania)
  • {lus} โ€” Lushai
  • {mk} โ€” Macedonian
    • eq the modern Slavic language spoken in what was Yugoslavia. NOT the form of Greek spoken in Greek Macedonia! ๐Ÿšจ
  • {mad} โ€” Madurese
  • {mag} โ€” Magahi
  • {mai} โ€” Maithili
  • {mak} โ€” Makasar
  • {mg} โ€” Malagasy
  • {ms} โ€” Malay
    • NOT Malayalam! ๐Ÿšจ
  • {ml} โ€” Malayalam
    • NOT Malay! ๐Ÿšจ
  • {mt} โ€” Maltese
  • {mnc} โ€” Manchu
  • {mdr} โ€” Mandar
    • NOT Mandarin! ๐Ÿšจ
  • {man} โ€” Mandingo
  • {mni} โ€” Manipuri
    • eq Meithei.
  • [{mno} : Manobo languages] โœจ
  • {gv} โ€” Manx
  • {mi} โ€” Maori
    • NOT Mari! ๐Ÿšจ
  • {mr} โ€” Marathi
  • {chm} โ€” Mari
    • NOT Maori! ๐Ÿšจ
  • {mh} โ€” Marshall
    • eq Marshallese.
  • {mwr} โ€” Marwari
  • {mas} โ€” Masai
  • [{myn} : Mayan languages] โœจ
  • {men} โ€” Mende
  • {mic} โ€” Micmac
  • {min} โ€” Minangkabau
  • {i-mingo} โ€” Mingo
    • eq the Irquoian language West Virginia Seneca. NOT New York Seneca! ๐Ÿšจ
  • [{mis} : Miscellaneous languages] ๐Ÿ™…
    • Don't use this.
  • {moh} โ€” Mohawk
  • {mdf} โ€” Moksha
  • {mo} โ€” Moldavian
    • eq Moldovan.
  • [{mkh} : Mon-Khmer (Other)] โœจ
  • {lol} โ€” Mongo
  • {mn} โ€” Mongolian
    • eq Mongol.
  • {mos} โ€” Mossi
  • [{mul} : Multiple languages] โš ๏ธ
    • Not for normal use.
  • [{mun} : Munda languages] โœจ
  • {nah} โ€” Nahuatl
  • {nap} โ€” Neapolitan ๐Ÿ•
  • {na} โ€” Nauru
  • {nv} โ€” Navajo
    • eq Navaho. (Formerly "i-navajo".)
  • {nd} โ€” North Ndebele
  • {nr} โ€” South Ndebele
  • {ng} โ€” Ndonga
  • {ne} โ€” Nepali ๐Ÿ”๏ธ
    • eq Nepalese. Notable forms: {ne-np} Nepal Nepali; {ne-in} India Nepali.
  • {new} โ€” Newari
  • {nia} โ€” Nias
  • [{nic} : Niger-Kordofanian (Other)] โœจ
  • [{ssa} : Nilo-Saharan (Other)] โœจ
  • {niu} โ€” Niuean
  • {nog} โ€” Nogai
  • {non} โ€” Old Norse ๐Ÿช“
    • (Historical)
  • [{nai} : North American Indian] ๐Ÿ™…
    • Do not use this.
  • {no} โ€” Norwegian ๐Ÿ‡ณ๐Ÿ‡ด
    • Note the two following forms, bestie:
  • {nb} โ€” Norwegian Bokmal
    • eq Bokmรฅl, (A form of Norwegian.) (Formerly "no-bok".)
  • {nn} โ€” Norwegian Nynorsk
    • (A form of Norwegian.) (Formerly "no-nyn".)
  • [{nub} : Nubian languages] โœจ
  • {nym} โ€” Nyamwezi
  • {nyn} โ€” Nyankole
  • {nyo} โ€” Nyoro
  • {nzi} โ€” Nzima
  • {oc} โ€” Occitan (post 1500)
    • eq Provenรงal, eq Provencal
  • {oj} โ€” Ojibwa
    • eq Ojibwe. (Formerly "oji".)
  • {or} โ€” Oriya
  • {om} โ€” Oromo
  • {osa} โ€” Osage
  • {os} โ€” Ossetian; Ossetic
  • [{oto} : Otomian languages] โœจ
    • Group of languages collectively called "Otomรญ".
  • {pal} โ€” Pahlavi
    • eq Pahlevi
  • {i-pwn} โ€” Paiwan
    • eq Pariwan
  • {pau} โ€” Palauan
  • {pi} โ€” Pali
    • (Historical?) ๐Ÿค”
  • {pam} โ€” Pampanga
  • {pag} โ€” Pangasinan
  • {pa} โ€” Panjabi
    • eq Punjabi
  • {pap} โ€” Papiamento
    • eq Papiamentu.
  • [{paa} : Papuan (Other)] โœจ
  • {fa} โ€” Persian
    • eq Farsi. eq Iranian.
  • {peo} โ€” Old Persian (ca.600-400 B.C.) ๐Ÿบ
  • [{phi} : Philippine (Other)] โœจ
  • {phn} โ€” Phoenician
    • (Historical)
  • {pon} โ€” Pohnpeian
    • NOT Pompeiian! ๐ŸŒ‹
  • {pl} โ€” Polish ๐Ÿ‡ต๐Ÿ‡ฑ
  • {pt} โ€” Portuguese ๐Ÿ‡ต๐Ÿ‡น
    • eq Portugese. Notable forms: {pt-pt} Portugal Portuguese; {pt-br} Brazilian Portuguese.
  • [{pra} : Prakrit languages] โœจ
  • {pro} โ€” Old Provencal (to 1500)
    • eq Old Provenรงal. (Historical.)
  • {ps} โ€” Pushto
    • eq Pashto. eq Pushtu.
  • {qu} โ€” Quechua
    • eq Quecha.
  • {rm} โ€” Raeto-Romance
    • eq Romansh.
  • {raj} โ€” Rajasthani
  • {rap} โ€” Rapanui ๐Ÿ—ฟ
  • {rar} โ€” Rarotongan
  • [{qaa - qtz} : Reserved for local use.] ๐Ÿ”’
  • [{roa} : Romance (Other)] โœจ
    • NOT Romanian! NOT Romany! NOT Romansh! ๐Ÿ˜ญ
  • {ro} โ€” Romanian
    • eq Rumanian. NOT Romany! ๐Ÿšจ
  • {rom} โ€” Romany
    • eq Rom. NOT Romanian! ๐Ÿšจ
  • {rn} โ€” Rundi
  • {ru} โ€” Russian
    • NOT White Russian! NOT Rusyn! ๐Ÿšจ
  • [{sal} : Salishan languages] โœจ
    • Large language group.
  • {sam} โ€” Samaritan Aramaic
    • NOT Aramaic! ๐Ÿšจ
  • {se} โ€” Northern Sami โ„๏ธ
    • eq Lappish. eq Lapp. eq (Northern) Saami.
  • {sma} โ€” Southern Sami
  • {smn} โ€” Inari Sami
  • {smj} โ€” Lule Sami
  • {sms} โ€” Skolt Sami
  • [{smi} : Sami languages (Other)] โœจ
  • {sm} โ€” Samoan ๐Ÿ๏ธ
  • {sad} โ€” Sandawe
  • {sg} โ€” Sango
  • {sa} โ€” Sanskrit ๐Ÿ•‰๏ธ
    • (Historical)
  • {sat} โ€” Santali
  • {sc} โ€” Sardinian
    • eq Sard.
  • {sas} โ€” Sasak
  • {sco} โ€” Scots
    • NOT Scots Gaelic! ๐Ÿšจ
  • {sel} โ€” Selkup
  • [{sem} : Semitic (Other)] โœจ
  • {sr} โ€” Serbian
    • eq Serb. NOT Sorbian.
    • Notable forms: {sr-cyrl} : Serbian in Cyrillic script; {sr-latn} : Serbian in Latin script.
  • {srr} โ€” Serer
  • {shn} โ€” Shan
  • {sn} โ€” Shona
  • {sid} โ€” Sidamo
  • {sgn-...} โ€” Sign Languages ๐ŸคŸ
    • Always use with a subtag. Notable forms: {sgn-gb} British Sign Language (BSL); {sgn-ie} Irish Sign Language (ESL); {sgn-ni} Nicaraguan Sign Language (ISN); {sgn-us} American Sign Language (ASL).
    • (And so on with other country codes as the subtag.)
  • {bla} โ€” Siksika
    • eq Blackfoot. eq Pikanii.
  • {sd} โ€” Sindhi
  • {si} โ€” Sinhalese
    • eq Sinhala.
  • [{sit} : Sino-Tibetan (Other)] โœจ
  • [{sio} : Siouan languages] โœจ
  • {den} โ€” Slave (Athapascan)
    • ("Slavey" is a subform.)
  • [{sla} : Slavic (Other)] โœจ
  • {sk} โ€” Slovak
    • eq Slovakian.
  • {sl} โ€” Slovenian
    • eq Slovene.
  • {sog} โ€” Sogdian
  • {so} โ€” Somali
  • {son} โ€” Songhai
  • {snk} โ€” Soninke
  • {wen} โ€” Sorbian languages
    • eq Wendish. eq Sorb. eq Lusatian. eq Wend. NOT Venda! NOT Serbian! ๐Ÿ˜ญ
  • {nso} โ€” Northern Sotho
  • {st} โ€” Southern Sotho
    • eq Sutu. eq Sesotho.
  • [{sai} : South American Indian (Other)] โœจ
  • {es} โ€” Spanish ๐Ÿ‡ช๐Ÿ‡ธ
    • Notable forms babe, there's a LOT: {es-ar} Argentine Spanish; {es-bo} Bolivian Spanish; {es-cl} Chilean Spanish; {es-co} Colombian Spanish; {es-do} Dominican Spanish; {es-ec} Ecuadorian Spanish; {es-es} Spain Spanish; {es-gt} Guatemalan Spanish; {es-hn} Honduran Spanish; {es-mx} Mexican Spanish; {es-pa} Panamanian Spanish; {es-pe} Peruvian Spanish; {es-pr} Puerto Rican Spanish; {es-py} Paraguay Spanish; {es-sv} Salvadoran Spanish; {es-us} US Spanish; {es-uy} Uruguayan Spanish; {es-ve} Venezuelan Spanish.
  • {suk} โ€” Sukuma
  • {sux} โ€” Sumerian ๐Ÿบ
    • (Historical)
  • {su} โ€” Sundanese
  • {sus} โ€” Susu
  • {sw} โ€” Swahili
    • eq Kiswahili
  • {ss} โ€” Swati
  • {sv} โ€” Swedish ๐Ÿ‡ธ๐Ÿ‡ช
    • Notable forms: {sv-se} Sweden Swedish; {sv-fi} Finland Swedish.
  • {syr} โ€” Syriac
  • {tl} โ€” Tagalog
  • {ty} โ€” Tahitian ๐ŸŒด
  • [{tai} : Tai (Other)] โœจ
    • NOT Thai! ๐Ÿšจ
  • {tg} โ€” Tajik
  • {tmh} โ€” Tamashek
  • {ta} โ€” Tamil
  • {i-tao} โ€” Tao
    • eq Yami.
  • {tt} โ€” Tatar
  • {i-tay} โ€” Tayal
    • eq Atayal. eq Atayan.
  • {te} โ€” Telugu
  • {ter} โ€” Tereno
  • {tet} โ€” Tetum
  • {th} โ€” Thai ๐Ÿ‡น๐Ÿ‡ญ
    • NOT Tai! ๐Ÿšจ
  • {bo} โ€” Tibetan
  • {tig} โ€” Tigre
  • {ti} โ€” Tigrinya
  • {tem} โ€” Timne
    • eq Themne. eq Timene.
  • {tiv} โ€” Tiv
  • {tli} โ€” Tlingit
  • {tpi} โ€” Tok Pisin
  • {tkl} โ€” Tokelau
  • {tog} โ€” Tonga (Nyasa) ๐ŸŒ
    • NOT Tsonga! ๐Ÿšซ
  • {to} โ€” Tonga (Tonga Islands) ๐Ÿ๏ธ
    • (Pronounced "Tong-a", not "Tong-ga") ๐Ÿ—ฃ๏ธ
    • NOT Tsonga! ๐Ÿšซ
  • {tsi} โ€” Tsimshian
    • eq Sm'algyax
  • {ts} โ€” Tsonga
    • NOT Tonga! ๐Ÿšซ
  • {i-tsu} โ€” Tsou
  • {tn} โ€” Tswana
    • Same as Setswana.
  • {tum} โ€” Tumbuka
  • [{tup}] โ€” Tupi languages
  • {tr} โ€” Turkish
    • (Typically in Roman script)
  • {ota} โ€” Ottoman Turkish (1500-1928)
    • (Typically in Arabic script) (Historical) ๐Ÿ“œ
  • {crh} โ€” Crimean Turkish
    • eq Crimean Tatar
  • {tk} โ€” Turkmen
    • eq Turkmeni.
  • {tvl} โ€” Tuvalu
  • {tyv} โ€” Tuvinian
    • eq Tuvan. eq Tuvin.
  • {tw} โ€” Twi
  • {udm} โ€” Udmurt
  • {uga} โ€” Ugaritic
    • NOT Ugric! ๐Ÿšซ
  • {ug} โ€” Uighur
  • {uk} โ€” Ukrainian
  • {umb} โ€” Umbundu
  • {und} โ€” Undetermined
    • Not a tag for normal use. ๐Ÿ™…โ€โ™€๏ธ
  • {ur} โ€” Urdu
  • {uz} โ€” Uzbek
    • eq ร–zbek
    • Notable forms: {uz-cyrl} Uzbek in Cyrillic script; {uz-latn} Uzbek in Latin script.
  • {vai} โ€” Vai
  • {ve} โ€” Venda
    • NOT Wendish! NOT Wend! NOT Avestan! (Formerly "ven".) ๐Ÿšซ๐Ÿšซ๐Ÿšซ
  • {vi} โ€” Vietnamese
    • eq Viet.
  • {vo} โ€” Volapuk
    • eq Volapรผk. (Artificial) ๐Ÿค–
  • {vot} โ€” Votic
    • eq Votian. eq Vod.
  • [{wak}] โ€” Wakashan languages
  • {wa} โ€” Walloon
  • {wal} โ€” Walamo
    • eq Wolaytta.
  • {war} โ€” Waray
    • Presumably the Philippine language Waray-Waray (Samareรฑo), not the smaller Philippine language Waray Sorsogon, nor the extinct Australian language Waray. ๐Ÿค”
  • {was} โ€” Washo
    • eq Washoe
  • {cy} โ€” Welsh
  • {wo} โ€” Wolof
  • {x-...} โ€” Unregistered (Semi-Private Use) ๐Ÿ”’
    • "x-" is a prefix for language tags that are not registered with ISO or IANA. Example, x-double-dutch
  • {xh} โ€” Xhosa
  • {sah} โ€” Yakut
  • {yao} โ€” Yao
    • (The Yao in Malawi?) ๐Ÿ‡ฒ๐Ÿ‡ผ
  • {yap} โ€” Yapese
    • eq Yap
  • {ii} โ€” Sichuan Yi
  • {yi} โ€” Yiddish
    • Formerly "ji". Usually in Hebrew script.
    • Notable forms: {yi-latn} Yiddish in Latin script
  • {yo} โ€” Yoruba
  • [{ypk}] โ€” Yupik languages
    • Several "Eskimo" languages.
  • {znd} โ€” Zande
  • [{zap}] โ€” Zapotec
    • (A group of languages.)
  • {zen} โ€” Zenaga
    • NOT Zend. ๐Ÿšซ
  • {za} โ€” Zhuang
  • {zu} โ€” Zulu
  • {zun} โ€” Zuni
    • eq Zuรฑi

โœจ SEE ALSO โœจ

I18N::LangTags and its "See Also" section. ๐Ÿ‘€


Copyright (c) 2001+ Sean M. Burke. All rights reserved. ๐Ÿซถ

You can redistribute and/or modify this document under the same terms as Perl itself. That's the vibe. โœจ

This document is provided in the hope that it will be useful, but without any warranty โ€” no promises about accuracy, authoritativeness, completeness, merchantability, or fitness for a particular purpose. Basically, use it, but don't come for us if something's off. ๐Ÿ˜…

Email any corrections or questions to me. ๐Ÿ“ง


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Sean M. Burke, sburke@cpan.org ๐Ÿ’Œ


This page is from perl v5.44.0, dated 2026-10-17 โ€” go off, bestie, and tag responsibly! ๐ŸŒˆ๐Ÿ’…
๐Ÿ“ฆ where this page comes from
  • arch rolling: perl 5.44.0-1 ยท Artistic-1.0-Perl AND GPL-1.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms