Difference between revisions of "Module:Language/data/wp languages"

From annadreambrush.com/wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
return {
+
return { -- wp preferred names -- IANA language names and notes
    ["ab"] = {"Abkhaz"},
+
--ISO 639-1 codes
    ["abk"] = {"Abkhaz"},
+
["ab"] = {"Abkhaz"}, -- Abkhazian
    ["ace"] = {"Acehnese"},
+
["an"] = {"Aragonese"}, -- Aragonese; same, delete?
    ["aec"] = {"Sa'idi Arabic"},
+
["av"] = {"Avar"}, -- Avaric
    ["ain"] = {"Ainu"},
+
["bh"] = {"Bihari"}, -- Bihari languages; collective
    ["akl"] = {"Aklan"},
+
["bo"] = {"Standard Tibetan"}, -- Tibetan
    ["alt"] = {"Altay"},
+
["cu"] = {"Old Church Slavonic"}, -- Church Slavic, Church Slavonic, Old Bulgarian, Old Church Slavonic, Old Slavonic
    ["an"] = {"Aragonese"},
+
["de-AT"] = {"Austrian German"},
    ["ang"] = {"Old English"},
+
["el"] = {"Greek"}, -- Modern Greek (1453-)
    ["apm"] = {"Mescalero-Chiricahua"},
+
["en-AU"] = {"Australian English"},
    ["av"] = {"Avar"},
+
["en-CA"] = {"Canadian English"},
    ["bal"] = {"Balochi"},
+
["en-GB"] = {"British English"},
    ["bar"] = {"Austro-Bavarian"},
+
["en-IE"] = {"Irish English"},
    ["bat-smg"] = {"Samogitian"},
+
["en-NZ"] = {"New Zealand English"},
    ["bcl"] = {"Central Bicolano"},
+
["en-SA"] = {"South African English"},
    ["be-x-old "] = {"Belarusian (Taraškievica)"},
+
["en-US"] = {"American English"},
    ["ber"] = {"Berber"},
+
["ff"] = {"Fula"}, -- Fulah
    ["bh"] = {"Bihari"},
+
["fy"] = {"Frisian"}, -- Western Frisian
    ["bin"] = {"Edo"},
+
["ht"] = {"Haitian Creole"}, -- Haitian, Haitian Creole
    ["bo"] = {"Standard Tibetan"},
+
["hz"] = {"Otjiherero"}, -- Herero
    ["bpy"] = {"Bishnupriya Manipuri"},
+
["ia"] = {"Interlingua"}, -- Interlingua (International Auxiliary Language Association)
    ["brx"] = {"Bodo"},
+
["ii"] = {"Yi"}, -- Sichuan Yi, Nuosu
    ["cbk-zam"] = {"Chavacano"},
+
["ki"] = {"Gikuyu"}, -- Kikuyu, Gikuyu
    ["cel"] = {"Proto-Celtic"},
+
["kk"] = {"Kazakh"}, -- Kazakh; same, delete?
    ["cg"] = {"Montenegrin", "sr-ME"},
+
["kl"] = {"Greenlandic"}, -- Kalaallisut, Greenlandic
    ["chg"] = {"Chagatay"},
+
["km"] = {"Khmer"}, -- Central Khmer
    ["chm"] = {"Mari"},
+
["ky"] = {"Kyrgyz"}, -- Kirghiz, Kyrgyz
    ["ckb"] = {"Sorani Kurdish"},
+
["lg"] = {"Luganda"}, -- Ganda
    ["cnu"] = {"Shenwa"},
+
["li"] = {"Limburgish"}, -- Limburgan, Limburger, Limburgish
    ["coc"] = {"Cocopah"},
+
["mi"] = {"Māori"}, -- Maori
    ["cu"] = {"Old Church Slavonic"},
+
["ms"] = {"Malay"}, -- Malay (macrolanguage)
    ["de-AT"] = {"Austrian German"},
+
["na"] = {"Nauruan"}, -- Nauru
    ["deu"] = {"early German"},
+
["nb"] = {"Bokmål"}, -- Norwegian Bokmål
    ["diq"] = {"Zazaki"},
+
["nd"] = {"Northern Ndebele"}, -- North Ndebele
    ["egy"] = {"Egyptian"},
+
["ne"] = {"Nepali"}, -- Nepali (macrolanguage)
    ["el"] = {"Greek"},
+
["nn"] = {"Nynorsk"}, -- Norwegian Nynorsk
    ["ell"] = {"Modern Greek"},
+
["nr"] = {"Southern Ndebele"}, -- South Ndebele
    ["en-AU"] = {"Australian English"},
+
["ny"] = {"Chichewa"}, -- Nyanja, Chewa, Chichewa
    ["en-CA"] = {"Canadian English"},
+
["oc"] = {"Occitan"}, -- Occitan (post 1500)
    ["en-emodeng"] = {"Early Modern English"},
+
["oj"] = {"Ojibwe"}, -- Ojibwa
    ["en-GB"] = {"British English"},
+
["or"] = {"Odia"}, -- Oriya (macrolanguage), Odia (macrolanguage)
    ["en-IE"] = {"Irish English"},
+
["pa"] = {"Punjabi"}, -- Panjabi, Punjabi
    ["en-NZ"] = {"New Zealand English"},
+
["pi"] = {"Pali"}, -- Pali; same, delete?
    ["en-SA"] = {"South African English"},
+
["rn"] = {"Kirundi"}, -- Rundi
    ["en-US"] = {"American English"},
+
["ro"] = {"Romanian"}, -- Romanian, Moldavian, Moldovan; same as first in IANA list, delete?
    ["enm"] = {"Middle English"},
+
["rw"] = {"Kinyarwanda"}, -- Kinyarwanda; same, delete?
    ["ff"] = {"Fula"},
+
["si"] = {"Sinhalese"}, -- Sinhala, Sinhalese
    ["fit"] = {"Meänkieli"},
+
["sl"] = {"Slovene"}, -- Slovenian
    ["fiu-vro"] = {"Võro"},
+
["sr-Cyrl"] = {"Serbian Cyrillic"}, -- sr = Serbian; Cyrillic is the alphabet
    ["fkv"] = {"Kven"},
+
["ss"] = {"Swazi"}, -- Swati
    ["frk"] = {"Old Frankish"},
+
["st"] = {"Sotho"}, -- Southern Sotho
    ["frm"] = {"Middle French"},
+
["sw"] = {"Swahili"}, -- Swahili (macrolanguage)
    ["fro"] = {"Old French"},
+
["to"] = {"Tongan"}, -- Tonga (Tonga Islands)
    ["fry"] = {"West Frisian"},
+
["za"] = {"Zhuang"}, -- Zhuang, Chuang; ; same as first in IANA list, delete?
    ["fy"] = {"Frisian"},
+
 
    ["gem"] = {"Proto-Germanic"},
+
 
    ["gez"] = {"Ge'ez"},
+
-- ISO 639-2 codes
    ["gju"] = {"Gujari "},
+
["ber"] = {"Berber"}, -- Berber languages
    ["gkm"] = {"Medieval Greek", "grc"},
+
["cel"] = {"Proto-Celtic"}, -- Celtic languages
    ["gmh"] = {"Middle High German"},
+
["gem"] = {"Proto-Germanic"}, -- Germanic languages
    ["goh"] = {"Old High German"},
+
["myn"] = {"Mayan"}, -- Mayan languages
    ["grc"] = {"Ancient Greek"},
+
["nah"] = {"Nahuatl"}, -- Nahuatl languages
    ["grc-gre"] = {"Greek", "grc"},
+
["pra"] = {"Prakrit"}, -- Prakrit languages
    ["gsw"] = {"Alemannic German"},
+
-- ["roa"] = {"Jèrriais"}, -- Romance languages
    ["gul"] = {"Gullah"},
+
["sal"] = {"Salish"}, -- Salishan languages
    ["hak"] = {"Hakka"},
+
["sla"] = {"Slavic"}, -- Slavic languages
    ["hbo"] = {"Biblical Hebrew"},
+
["son"] = {"Songhay"}, -- Songhai languages
    ["hnd"] = {"Hindko"},
+
["wen"] = {"Sorbian"}, -- Sorbian languages
    ["ht"] = {"Haitian Creole"},
+
 
    ["hz"] = {"Otjiherero"},
+
 
    ["ia"] = {"Interlingua"},
+
-- ISO 639-3 codes
    ["ii"] = {"Yi"},
+
["abk"] = {"Abkhaz"}, -- not in IANA; see code ab
    ["ikt"] = {"Inuvialuk"},
+
["ace"] = {"Acehnese"}, -- Achinese
    ["ilo"] = {"Ilokano"},
+
["aec"] = {"Sa'idi Arabic"}, -- Saidi Arabic
    ["kaa"] = {"Karakalpak"},
+
["ain"] = {"Ainu"}, -- Ainu (Japan)
    ["khb"] = {"Tai Lü"},
+
["akl"] = {"Aklan"}, -- Aklanon
    ["ki"] = {"Gikuyu"},
+
["alt"] = {"Altay"}, -- Southern Altai
    ["kk"] = {"Kazakh"},
+
["ang"] = {"Old English"}, -- Old English (ca. 450-1100)
    ["kl"] = {"Greenlandic"},
+
["apm"] = {"Mescalero-Chiricahua"}, -- Mescalero-Chiricahua Apache
    ["km"] = {"Khmer"},
+
["bal"] = {"Balochi"}, -- Baluchi
    ["kmr"] = {"Kurmanji Kurdish"},
+
["bar"] = {"Austro-Bavarian"}, -- Bavarian
    ["knn"] = {"Konkani"},
+
["bcl"] = {"Central Bicolano"}, -- Central Bikol
    ["kok"] = {"Konkani"},
+
["bin"] = {"Edo"}, -- Bini, Edo
    ["kpo"] = {"Kposo"},
+
["bpy"] = {"Bishnupriya Manipuri"}, -- Bishnupriya
    ["krj"] = {"Kinaray-a"},
+
["brx"] = {"Bodo"}, -- Bodo (India)
    ["ksh"] = {"Ripuarian"}, --ksh is the code of Colognian, but ksh.wiki is the Ripuarian Wikipedia
+
["chg"] = {"Chagatay"}, -- Chagatai
    ["ktz"] = {"Juǀ'hoan"},
+
["chm"] = {"Mari"}, -- Mari (Russia)
    ["ky"] = {"Kyrgyz"},
+
["ckb"] = {"Sorani Kurdish"}, -- Central Kurdish
    ["lez"] = {"Lezgian"},
+
["cnu"] = {"Shenwa"}, -- Chenoua
    ["lg"] = {"Luganda"},
+
["coc"] = {"Cocopah"}, -- Cocopa
    ["li"] = {"Limburgish"},
+
["deu"] = {"early German"}, -- not in IANA; see code de
    ["liv"] = {"Livonian"},
+
["diq"] = {"Zazaki"}, -- Dimli (individual language)
    ["lng"] = {"Lombardic"},
+
["egy"] = {"Egyptian"}, -- Egyptian (Ancient)
    ["map-bms"] = {"Banyumasan"},
+
["ell"] = {"Modern Greek"}, -- not in IANA; see code el
    ["maz"] = {"Mazovian"},
+
["enm"] = {"Middle English"}, -- Middle English (1100-1500)
    ["mga"] = {"Middle Irish"},
+
["fit"] = {"Meänkieli"}, -- Tornedalen Finnish
    ["mhr"] = {"Mari"},
+
["fkv"] = {"Kven"}, -- Kven Finnish
    ["mi"] = {"Māori"},
+
["frk"] = {"Old Frankish"}, -- Frankish
    ["mia"] = {"Miami-Illinois"},
+
["frm"] = {"Middle French"}, -- Middle French (ca. 1400-1600)
    ["miq"] = {"Miskito"},
+
["fro"] = {"Old French"}, -- Old French (842-ca. 1400)
    ["mix"] = {"Mixtec"},
+
["fry"] = {"West Frisian"}, -- not in IANA; see code fy
    ["mla"] = {"Medieval Latin"},
+
["gez"] = {"Ge'ez"}, -- Geez
    ["mni"] = {"Meitei"},
+
["gju"] = {"Gujari "}, -- Gujari; same, delete?
    ["mol"] = {"Moldovan", "ro"},
+
["gmh"] = {"Middle High German"}, -- Middle High German (ca. 1050-1500)
    ["mrj"] = {"Hill Mari"},
+
["goh"] = {"Old High German"}, -- Old High German (ca. 750-1050)
    ["ms"] = {"Malay"},
+
["grc"] = {"Ancient Greek"}, -- Ancient Greek (to 1453)
    ["mww"] = {"White Hmong"},
+
["gsw"] = {"Alemannic German"}, -- Swiss German, Alemannic, Alsatian
    ["myn"] = {"Mayan"},
+
["gul"] = {"Gullah"}, -- Sea Island Creole English
    ["mzn"] = {"Mazanderani"},
+
["hak"] = {"Hakka"}, -- Hakka Chinese
    ["na"] = {"Nauruan"},
+
["hbo"] = {"Biblical Hebrew"}, -- Ancient Hebrew
    ["nah"] = {"Nahuatl"},
+
["hnd"] = {"Hindko"}, -- Southern Hindko
    ["nan"] = {"Taiwanese Hokkien"},
+
["ikt"] = {"Inuvialuk"}, -- Inuinnaqtun, Western Canadian Inuktitut
    ["naq"] = {"Khoekhoe"},
+
-- ["ilo"] = {"Ilokano"}, -- Iloko; disabled here in favor of Ilocano in Module:Lang/data
    ["naz"] = {"North Azeri"},
+
["kaa"] = {"Karakalpak"}, -- Kara-Kalpak
    ["nb"] = {"Bokmål"},
+
["khb"] = {"Tai Lü"}, -- Lü
    ["nci"] = {"Classical Nahuatl"},
+
["kmr"] = {"Kurmanji Kurdish"}, -- Northern Kurdish
    ["nd"] = {"Northern Ndebele"},
+
["knn"] = {"Konkani"}, -- Konkani (individual language)
    ["nds-nl"] = {"Dutch Low Saxon"},
+
["kok"] = {"Konkani"}, -- Konkani (macrolanguage)
    ["ne"] = {"Nepali"},
+
["kpo"] = {"Kposo"}, -- Ikposo
    ["new"] = {"Nepal Bhasa"},
+
["krj"] = {"Kinaray-a"}, -- Kinaray-A
    ["nn"] = {"Nynorsk"},
+
-- ["ksh"] = {"Ripuarian"}, -- Kölsch; --ksh is the code of Colognian, but ksh.wiki is the Ripuarian Wikipedia; disabled here so that:
    ["nr"] = {"Southern Ndebele"},
+
-- ksh -> IANA/ISO-639-3 Kölsch; mis-x-colog -> Colognian & mis-x-ripuar -> Ripuarian both defined in Module:Lang/data
    ["nrm"] = {"Norman"},
+
["ktz"] = {"Juǀ'hoan"}, -- Ju/'hoan, Juǀʼhoan, Juǀʼhoansi
    ["nsd"] = {"Dutch Low Saxon"},
+
["lez"] = {"Lezgian"}, -- Lezghian
    ["nso"] = {"Northern Sotho"},
+
["liv"] = {"Livonian"}, -- Liv
    ["nwc"] = {"Classical Nepal Bhasa"},
+
["lng"] = {"Lombardic"}, -- Langobardic
    ["ny"] = {"Chichewa"},
+
-- ["maz"] = {"Mazovian"}, -- Central Mazahua; a misuse of code for an unrelated language;
    ["oc"] = {"Occitan"},
+
["mga"] = {"Middle Irish"}, -- Middle Irish (900-1200)
    ["oci"] = {"Provençal"},
+
["mhr"] = {"Mari"}, -- Eastern Mari
    ["oj"] = {"Ojibwe"},
+
["mia"] = {"Miami-Illinois"}, -- Miami
    ["ood"] = {"O'odham"},
+
["miq"] = {"Miskito"}, -- Mískito
    ["or"] = {"Oriya"},
+
["mix"] = {"Mixtec"}, -- Mixtepec Mixtec
    ["ota"] = {"Ottoman Turkish"},
+
-- ["mla"] = {"Medieval Latin"}, -- Malo; clearly a misuse of code mla;
    ["otk"] = {"Old Turkic"},
+
["mni"] = {"Meitei"}, -- Manipuri
    ["pa"] = {"Punjabi"},
+
["mol"] = {"Moldovan", "ro"}, -- Moldavian, Moldovan (639-3, both retired)
    ["pal"] = {"Middle Persian"},
+
["mrj"] = {"Hill Mari"}, -- Western Mari
    ["pam"] = {"Kapampangan"},
+
["mww"] = {"White Hmong"}, -- Hmong Daw
    ["peo"] = {"Old Persian"},
+
["mzn"] = {"Mazanderani"}, -- Mazanderani
    ["pgl"] = {"Proto-Irish"},
+
-- ["nan"] = {"Taiwanese Hokkien"}, -- Min Nan Chinese; disabled here so that nan -> Min Nan Chinese; nan-tw -> Taiwanese Hokkien in Module:Lang/data
    ["phr"] = {"Potwari"},
+
["naq"] = {"Khoekhoe"}, -- Khoekhoe, Nama (Namibia); same as first in IANA list, delete?
    ["pi"] = {"Pali"},
+
-- ["naz"] = {"North Azeri"}, -- Coatepec Nahuatl; clearly a misuse of code naz
    ["pka"] = {"Jain Prakrit"},
+
["nci"] = {"Classical Nahuatl"}, -- Classical Nahuatl; same, delete?
    ["pnb"] = {"Punjabi"},
+
["nds-nl"] = {"Dutch Low Saxon"}, -- Low German, Low Saxon; as spoken in the Netherlands; see code nsd
    ["pra"] = {"Prakrit"},
+
["new"] = {"Nepal Bhasa"}, -- Newari, Nepal Bhasa
    ["psu"] = {"Shauraseni"},
+
-- ["nrm"] = {"Norman"}, -- Narom; clearly a misuse of code nrm
    ["rap"] = {"Rapa Nui"},
+
-- ["nsd"] = {"Dutch Low Saxon"}, -- Southern Nisu; how can this be right? typo related to code nds-nl?
    ["rar"] = {"Cook Islands Māori"},
+
["nso"] = {"Northern Sotho"}, -- Pedi, Northern Sotho, Sepedi
    ["rmu"] = {"Scandoromani"},
+
["nwc"] = {"Classical Nepal Bhasa"}, -- Classical Newari, Classical Nepal Bhasa, Old Newari
    ["rn"] = {"Kirundi"},
+
["oci"] = {"Provençal"}, -- oc
    ["ro"] = {"Romanian"},
+
["ood"] = {"O'odham"}, -- Tohono O'odham
    ["roa"] = {"Jèrriais"},
+
["ota"] = {"Ottoman Turkish"}, -- Ottoman Turkish (1500-1928)
    ["roa-rup"] = {"Aromanian"},
+
["otk"] = {"Old Turkic"}, -- Old Turkish
    ["roa-tara"] = {"Tarantino"},
+
["pal"] = {"Middle Persian"}, -- Pahlavi
    ["rom"] = {"Romani"},
+
["pam"] = {"Kapampangan"}, -- Pampanga, Kapampangan
    ["rup"] = {"Aromanian"},
+
["peo"] = {"Old Persian"}, -- Old Persian (ca. 600-400 B.C.)
    ["rus"] = {"Russian"},
+
["phr"] = {"Potwari"}, -- Pahari-Potwari
    ["rw"] = {"Kinyarwanda"},
+
["pka"] = {"Jain Prakrit"}, -- Ardhamāgadhī Prākrit
    ["ryu"] = {"Okinawan"},
+
["pnb"] = {"Punjabi"}, -- Western Panjabi
    ["sah"] = {"Sakha"},
+
["psu"] = {"Shauraseni"}, -- Sauraseni Prākrit
    ["sal"] = {"Salish"},
+
["rap"] = {"Rapa Nui"}, -- Rapanui
    ["saz"] = {"South Azeri"},
+
["rar"] = {"Cook Islands Māori"}, -- Rarotongan, Cook Islands Maori
    ["sdc"] = {"Sassarese"},
+
["rmu"] = {"Scandoromani"}, -- Tavringer Romani
    ["sdn"] = {"Gallurese"},
+
["rom"] = {"Romani"}, -- Romany
    ["sga"] = {"Old Irish"},
+
["rup"] = {"Aromanian"}, -- Macedo-Romanian, Aromanian, Arumanian
    ["shp"] = {"Shipibo"},
+
["rus"] = {"Russian"}, -- not in IANA; see code ru
    ["si"] = {"Sinhalese"},
+
["ryu"] = {"Okinawan"}, -- Central Okinawan
    ["simple"] = {"Simple English"},
+
-- ["sah"] = {"Sakha"}, -- Yakut; article moved to Yakut with this disucssion: Talk:Yakut_language#Requested_move_21_September_2015
    ["skr"] = {"Saraiki"},
+
["sdc"] = {"Sassarese"}, -- Sassarese Sardinian
    ["sl"] = {"Slovene"},
+
["sdn"] = {"Gallurese"}, -- Gallurese Sardinian
    ["sla"] = {"Slavic"},
+
["sga"] = {"Old Irish"}, -- Old Irish (to 900)
    ["son"] = {"Songhay"},
+
["shp"] = {"Shipibo"}, -- Shipibo-Conibo
    ["sr-Cyrl"] = {"Serbian Cyrillic"},
+
["skr"] = {"Saraiki"}, -- Saraiki, Seraiki; same as first in IANA list, delete?
    ["src"] = {"Logudorese"},
+
["src"] = {"Logudorese"}, -- Logudorese Sardinian
    ["sro"] = {"Campidanese"},
+
["sro"] = {"Campidanese"}, -- Campidanese Sardinian
    ["ss"] = {"Swazi"},
+
["tkl"] = {"Tokelauan"}, -- Tokelau
    ["st"] = {"Sotho"},
+
["tvl"] = {"Tuvaluan"}, -- Tuvalu
    ["sw"] = {"Swahili"},
+
["tyv"] = {"Tuvan"}, -- Tuvinian
    ["tkl"] = {"Tokelauan"},
+
["vls"] = {"West Flemish"}, -- Vlaams
    ["to"] = {"Tongan"},
+
["war"] = {"Waray"}, -- Waray (Philippines)
    ["tvl"] = {"Tuvaluan"},
+
["wep"] = {"Westphalian"}, -- Westphalien
    ["tyv"] = {"Tuvan"},
+
["xal"] = {"Oirat"}, -- Kalmyk, Oirat
    ["vls"] = {"West Flemish"},
+
["xal-RU"] = {"Kalmyk Oirat"},
    ["war"] = {"Waray-Waray"},
+
["xcl"] = {"Old Armenian"}, -- Classical Armenian
    ["wen"] = {"Sorbian"},
+
["yua"] = {"Yucatec Maya"}, -- Yucateco, Yucatec Maya
    ["wep"] = {"Westphalian"},
+
 
    ["xal"] = {"Oirat"},
+
 
    ["xal-RU"] = {"Kalmyk Oirat"},
+
-- non-standard codes
    ["xcl"] = {"Old Armenian"},
+
["bat-smg"] = {"Samogitian"}, -- bat = Baltic languages (639-2); dialect of Lithuanian has it's own IANA code sgs; bat-smg
    ["yua"] = {"Yucatec Maya"},
+
["be-x-old "] = {"Belarusian (Taraškievica)"}, -- be = Belarusian; x-old = private use tag; be-x-old.wikipedia.org; space char in index may indicate that this code not used
    ["za"]  = {"Zhuang"},
+
["cbk-zam"] = {"Chavacano"}, -- cbk = Chavacano; zam = Zamboangueño? zam is not an IANA-registered extlang; cbk-zam.wikipedia.org
    ["zh-classical"]  = {"Classical Chinese"},
+
-- ["cg"] = {"Montenegrin", "sr-ME"}, -- IANA / ISO 639-3 code is cnr
    ["zh-min-nan"] = {"Min Nan"},
+
["en-emodeng"] = {"Early Modern English"}, -- emodeng is not an IANA-registered variant
    ["zh-yue"] = {"Cantonese"},
+
["fiu-vro"] = {"Võro"}, -- fiu = Finno-Ugrian languages (639-2); vro = Võro (639-3); fiu-vro.wikipedia.org
}
+
["gkm"] = {"Medieval Greek", "grc"},
 +
["grc-gre"] = {"Greek", "grc"}, -- grc = Ancient Greek (to 1453); gre not an IANA-registered code; used by Template:lang-grc-gre
 +
["map-bms"] = {"Banyumasan"}, -- dialect of Javanese; map = Austronesian languages (639-2); bms is an IANA registered code not related to Javanese; map-bms.wikipedia.org
 +
["roa-rup"] = {"Aromanian"}, -- roa = Romance languages (639-2); rup = Macedo-Romanian, Aromanian, Arumanian (639-3); roa-rup.wikipedia.org
 +
["roa-tara"] = {"Tarantino"}, -- roa = Romance languages (639-2); tara is not an IANA registered script; roa-tara.wikipedia.org
 +
["simple"] = {"Simple English"}, -- simple is not an IANA registered variant; simple.wikipedia.org
 +
["zh-classical"] = {"Classical Chinese"}, -- zh = Chinese; classical is not an IANA-registered variant; zh-classical.wikipedia.org
 +
["zh-min-nan"] = {"Min Nan"}, -- zh-min-nan = Minnan, Hokkien, Amoy, Taiwanese, Southern Min, Southern Fujian, Hoklo, Southern Fukien, Ho-lo; granfathered in IANA, nan preferred; zh-min-nan.wikipedia.org
 +
["zh-yue"] = {"Cantonese"} -- zh-yue = Cantonese; redundant in IANA, yue preferred; zh-yue.wikipedia.org
 +
}

Latest revision as of 14:34, 9 March 2020

Documentation for this module may be created at Module:Language/data/wp languages/doc

return 	{	-- wp preferred names													-- IANA language names and notes
--ISO 639-1 codes
	["ab"] = {"Abkhaz"},														-- Abkhazian
	["an"] = {"Aragonese"},														-- Aragonese; same, delete?
	["av"] = {"Avar"},															-- Avaric
	["bh"] = {"Bihari"},														-- Bihari languages; collective
	["bo"] = {"Standard Tibetan"},												-- Tibetan
	["cu"] = {"Old Church Slavonic"},											-- Church Slavic, Church Slavonic, Old Bulgarian, Old Church Slavonic, Old Slavonic
	["de-AT"] = {"Austrian German"},
	["el"] = {"Greek"},															-- Modern Greek (1453-)
	["en-AU"] = {"Australian English"},
	["en-CA"] = {"Canadian English"},
	["en-GB"] = {"British English"},
	["en-IE"] = {"Irish English"},
	["en-NZ"] = {"New Zealand English"},
	["en-SA"] = {"South African English"},
	["en-US"] = {"American English"},
	["ff"] = {"Fula"},															-- Fulah
	["fy"] = {"Frisian"},														-- Western Frisian
	["ht"] = {"Haitian Creole"},												-- Haitian, Haitian Creole
	["hz"] = {"Otjiherero"},													-- Herero
	["ia"] = {"Interlingua"},													-- Interlingua (International Auxiliary Language Association)
	["ii"] = {"Yi"},															-- Sichuan Yi, Nuosu
	["ki"] = {"Gikuyu"},														-- Kikuyu, Gikuyu
	["kk"] = {"Kazakh"},														-- Kazakh; same, delete?
	["kl"] = {"Greenlandic"},													-- Kalaallisut, Greenlandic
	["km"] = {"Khmer"},															-- Central Khmer
	["ky"] = {"Kyrgyz"},														-- Kirghiz, Kyrgyz
	["lg"] = {"Luganda"},														-- Ganda
	["li"] = {"Limburgish"},													-- Limburgan, Limburger, Limburgish
	["mi"] = {"Māori"},															-- Maori
	["ms"] = {"Malay"},															-- Malay (macrolanguage)
	["na"] = {"Nauruan"},														-- Nauru
	["nb"] = {"Bokmål"},														-- Norwegian Bokmål
	["nd"] = {"Northern Ndebele"},												-- North Ndebele
	["ne"] = {"Nepali"},														-- Nepali (macrolanguage)
	["nn"] = {"Nynorsk"},														-- Norwegian Nynorsk
	["nr"] = {"Southern Ndebele"},												-- South Ndebele
	["ny"] = {"Chichewa"},														-- Nyanja, Chewa, Chichewa
	["oc"] = {"Occitan"},														-- Occitan (post 1500)
	["oj"] = {"Ojibwe"},														-- Ojibwa
	["or"] = {"Odia"},															-- Oriya (macrolanguage), Odia (macrolanguage)
	["pa"] = {"Punjabi"},														-- Panjabi, Punjabi
	["pi"] = {"Pali"},															-- Pali; same, delete?
	["rn"] = {"Kirundi"},														-- Rundi
	["ro"] = {"Romanian"},														-- Romanian, Moldavian, Moldovan; same as first in IANA list, delete?
	["rw"] = {"Kinyarwanda"},													-- Kinyarwanda; same, delete?
	["si"] = {"Sinhalese"},														-- Sinhala, Sinhalese
	["sl"] = {"Slovene"},														-- Slovenian
	["sr-Cyrl"] = {"Serbian Cyrillic"},											-- sr = Serbian; Cyrillic is the alphabet
	["ss"] = {"Swazi"},															-- Swati
	["st"] = {"Sotho"},															-- Southern Sotho
	["sw"] = {"Swahili"},														-- Swahili (macrolanguage)
	["to"] = {"Tongan"},														-- Tonga (Tonga Islands)
	["za"] = {"Zhuang"},														-- Zhuang, Chuang; ; same as first in IANA list, delete?


-- ISO 639-2 codes
	["ber"] = {"Berber"},														-- Berber languages
	["cel"] = {"Proto-Celtic"},													-- Celtic languages
	["gem"] = {"Proto-Germanic"},												-- Germanic languages
	["myn"] = {"Mayan"},														-- Mayan languages
	["nah"] = {"Nahuatl"},														-- Nahuatl languages
	["pra"] = {"Prakrit"},														-- Prakrit languages
--	["roa"] = {"Jèrriais"},														-- Romance languages
	["sal"] = {"Salish"},														-- Salishan languages
	["sla"] = {"Slavic"},														-- Slavic languages
	["son"] = {"Songhay"},														-- Songhai languages
	["wen"] = {"Sorbian"},														-- Sorbian languages


-- ISO 639-3 codes
	["abk"] = {"Abkhaz"},														-- not in IANA; see code ab
	["ace"] = {"Acehnese"},														-- Achinese
	["aec"] = {"Sa'idi Arabic"},												-- Saidi Arabic
	["ain"] = {"Ainu"},															-- Ainu (Japan)
	["akl"] = {"Aklan"},														-- Aklanon
	["alt"] = {"Altay"},														-- Southern Altai
	["ang"] = {"Old English"},													-- Old English (ca. 450-1100)
	["apm"] = {"Mescalero-Chiricahua"},											-- Mescalero-Chiricahua Apache
	["bal"] = {"Balochi"},														-- Baluchi
	["bar"] = {"Austro-Bavarian"},												-- Bavarian
	["bcl"] = {"Central Bicolano"},												-- Central Bikol
	["bin"] = {"Edo"},															-- Bini, Edo
	["bpy"] = {"Bishnupriya Manipuri"},											-- Bishnupriya
	["brx"] = {"Bodo"},															-- Bodo (India)
	["chg"] = {"Chagatay"},														-- Chagatai
	["chm"] = {"Mari"},															-- Mari (Russia)
	["ckb"] = {"Sorani Kurdish"},												-- Central Kurdish
	["cnu"] = {"Shenwa"},														-- Chenoua
	["coc"] = {"Cocopah"},														-- Cocopa
	["deu"] = {"early German"},													-- not in IANA; see code de
	["diq"] = {"Zazaki"},														-- Dimli (individual language)
	["egy"] = {"Egyptian"},														-- Egyptian (Ancient)
	["ell"] = {"Modern Greek"},													-- not in IANA; see code el
	["enm"] = {"Middle English"},												-- Middle English (1100-1500)
	["fit"] = {"Meänkieli"},													-- Tornedalen Finnish
	["fkv"] = {"Kven"},															-- Kven Finnish
	["frk"] = {"Old Frankish"},													-- Frankish
	["frm"] = {"Middle French"},												-- Middle French (ca. 1400-1600)
	["fro"] = {"Old French"},													-- Old French (842-ca. 1400)
	["fry"] = {"West Frisian"},													-- not in IANA; see code fy
	["gez"] = {"Ge'ez"},														-- Geez
	["gju"] = {"Gujari "},														-- Gujari; same, delete?
	["gmh"] = {"Middle High German"},											-- Middle High German (ca. 1050-1500)
	["goh"] = {"Old High German"},												-- Old High German (ca. 750-1050)
	["grc"] = {"Ancient Greek"},												-- Ancient Greek (to 1453)
	["gsw"] = {"Alemannic German"},												-- Swiss German, Alemannic, Alsatian
	["gul"] = {"Gullah"},														-- Sea Island Creole English
	["hak"] = {"Hakka"},														-- Hakka Chinese
	["hbo"] = {"Biblical Hebrew"},												-- Ancient Hebrew
	["hnd"] = {"Hindko"},														-- Southern Hindko
	["ikt"] = {"Inuvialuk"},													-- Inuinnaqtun, Western Canadian Inuktitut
--	["ilo"] = {"Ilokano"},														-- Iloko; disabled here in favor of Ilocano in Module:Lang/data
	["kaa"] = {"Karakalpak"},													-- Kara-Kalpak
	["khb"] = {"Tai Lü"},														-- Lü
	["kmr"] = {"Kurmanji Kurdish"},												-- Northern Kurdish
	["knn"] = {"Konkani"},														-- Konkani (individual language)
	["kok"] = {"Konkani"},														-- Konkani (macrolanguage)
	["kpo"] = {"Kposo"},														-- Ikposo
	["krj"] = {"Kinaray-a"},													-- Kinaray-A
--	["ksh"] = {"Ripuarian"},													-- Kölsch;  --ksh is the code of Colognian, but ksh.wiki is the Ripuarian Wikipedia; disabled here so that:
																				-- ksh -> IANA/ISO-639-3 Kölsch; mis-x-colog -> Colognian & mis-x-ripuar -> Ripuarian both defined in Module:Lang/data
	["ktz"] = {"Juǀ'hoan"},														-- Ju/'hoan, Juǀʼhoan, Juǀʼhoansi
	["lez"] = {"Lezgian"},														-- Lezghian
	["liv"] = {"Livonian"},														-- Liv
	["lng"] = {"Lombardic"},													-- Langobardic
--	["maz"] = {"Mazovian"},														-- Central Mazahua; a misuse of code for an unrelated language;
	["mga"] = {"Middle Irish"},													-- Middle Irish (900-1200)
	["mhr"] = {"Mari"},															-- Eastern Mari
	["mia"] = {"Miami-Illinois"},												-- Miami
	["miq"] = {"Miskito"},														-- Mískito
	["mix"] = {"Mixtec"},														-- Mixtepec Mixtec
--	["mla"] = {"Medieval Latin"},												-- Malo; clearly a misuse of code mla;
	["mni"] = {"Meitei"},														-- Manipuri
	["mol"] = {"Moldovan", "ro"},												-- Moldavian, Moldovan (639-3, both retired)
	["mrj"] = {"Hill Mari"},													-- Western Mari
	["mww"] = {"White Hmong"},													-- Hmong Daw
	["mzn"] = {"Mazanderani"},													-- Mazanderani
--	["nan"] = {"Taiwanese Hokkien"},											-- Min Nan Chinese; disabled here so that nan -> Min Nan Chinese; nan-tw -> Taiwanese Hokkien in Module:Lang/data
	["naq"] = {"Khoekhoe"},														-- Khoekhoe, Nama (Namibia); same as first in IANA list, delete?
--	["naz"] = {"North Azeri"},													-- Coatepec Nahuatl; clearly a misuse of code naz
	["nci"] = {"Classical Nahuatl"},											-- Classical Nahuatl; same, delete?
	["nds-nl"] = {"Dutch Low Saxon"},											-- Low German, Low Saxon; as spoken in the Netherlands; see code nsd
	["new"] = {"Nepal Bhasa"},													-- Newari, Nepal Bhasa
--	["nrm"] = {"Norman"},														-- Narom; clearly a misuse of code nrm
--	["nsd"] = {"Dutch Low Saxon"},												-- Southern Nisu; how can this be right? typo related to code nds-nl?
	["nso"] = {"Northern Sotho"},												-- Pedi, Northern Sotho, Sepedi
	["nwc"] = {"Classical Nepal Bhasa"},										-- Classical Newari, Classical Nepal Bhasa, Old Newari
	["oci"] = {"Provençal"},													-- oc
	["ood"] = {"O'odham"},														-- Tohono O'odham
	["ota"] = {"Ottoman Turkish"},												-- Ottoman Turkish (1500-1928)
	["otk"] = {"Old Turkic"},													-- Old Turkish
	["pal"] = {"Middle Persian"},												-- Pahlavi
	["pam"] = {"Kapampangan"},													-- Pampanga, Kapampangan
	["peo"] = {"Old Persian"},													-- Old Persian (ca. 600-400 B.C.)
	["phr"] = {"Potwari"},														-- Pahari-Potwari
	["pka"] = {"Jain Prakrit"},													-- Ardhamāgadhī Prākrit
	["pnb"] = {"Punjabi"},														-- Western Panjabi
	["psu"] = {"Shauraseni"},													-- Sauraseni Prākrit
	["rap"] = {"Rapa Nui"},														-- Rapanui
	["rar"] = {"Cook Islands Māori"},											-- Rarotongan, Cook Islands Maori
	["rmu"] = {"Scandoromani"},													-- Tavringer Romani
	["rom"] = {"Romani"},														-- Romany
	["rup"] = {"Aromanian"},													-- Macedo-Romanian, Aromanian, Arumanian
	["rus"] = {"Russian"},														-- not in IANA; see code ru
	["ryu"] = {"Okinawan"},														-- Central Okinawan
--	["sah"] = {"Sakha"},														-- Yakut; article moved to Yakut with this disucssion: Talk:Yakut_language#Requested_move_21_September_2015
	["sdc"] = {"Sassarese"},													-- Sassarese Sardinian
	["sdn"] = {"Gallurese"},													-- Gallurese Sardinian
	["sga"] = {"Old Irish"},													-- Old Irish (to 900)
	["shp"] = {"Shipibo"},														-- Shipibo-Conibo
	["skr"] = {"Saraiki"},														-- Saraiki, Seraiki; same as first in IANA list, delete?
	["src"] = {"Logudorese"},													-- Logudorese Sardinian
	["sro"] = {"Campidanese"},													-- Campidanese Sardinian
	["tkl"] = {"Tokelauan"},													-- Tokelau
	["tvl"] = {"Tuvaluan"},														-- Tuvalu
	["tyv"] = {"Tuvan"},														-- Tuvinian
	["vls"] = {"West Flemish"},													-- Vlaams
	["war"] = {"Waray"},														-- Waray (Philippines)
	["wep"] = {"Westphalian"},													-- Westphalien
	["xal"] = {"Oirat"},														-- Kalmyk, Oirat
	["xal-RU"] = {"Kalmyk Oirat"},
	["xcl"] = {"Old Armenian"},													-- Classical Armenian
	["yua"] = {"Yucatec Maya"},													-- Yucateco, Yucatec Maya


-- non-standard codes
	["bat-smg"] = {"Samogitian"},												-- bat = Baltic languages (639-2); dialect of Lithuanian has it's own IANA code sgs; bat-smg
	["be-x-old "] = {"Belarusian (Taraškievica)"},								-- be = Belarusian; x-old = private use tag; be-x-old.wikipedia.org; space char in index may indicate that this code not used
	["cbk-zam"] = {"Chavacano"},												-- cbk = Chavacano; zam = Zamboangueño? zam is not an IANA-registered extlang; cbk-zam.wikipedia.org
--	["cg"] = {"Montenegrin", "sr-ME"},											-- IANA / ISO 639-3 code is cnr
	["en-emodeng"] = {"Early Modern English"},									-- emodeng is not an IANA-registered variant
	["fiu-vro"] = {"Võro"},														-- fiu = Finno-Ugrian languages (639-2); vro = Võro (639-3); fiu-vro.wikipedia.org
	["gkm"] = {"Medieval Greek", "grc"},
	["grc-gre"] = {"Greek", "grc"},												-- grc = Ancient Greek (to 1453); gre not an IANA-registered code; used by Template:lang-grc-gre
	["map-bms"] = {"Banyumasan"},												-- dialect of Javanese; map = Austronesian languages (639-2); bms is an IANA registered code not related to Javanese; map-bms.wikipedia.org
	["roa-rup"] = {"Aromanian"},												-- roa = Romance languages (639-2); rup = Macedo-Romanian, Aromanian, Arumanian (639-3); roa-rup.wikipedia.org
	["roa-tara"] = {"Tarantino"},												-- roa = Romance languages (639-2); tara is not an IANA registered script; roa-tara.wikipedia.org
	["simple"] = {"Simple English"},											-- simple is not an IANA registered variant; simple.wikipedia.org
	["zh-classical"] = {"Classical Chinese"},									-- zh = Chinese; classical is not an IANA-registered variant; zh-classical.wikipedia.org
	["zh-min-nan"] = {"Min Nan"},												-- zh-min-nan = Minnan, Hokkien, Amoy, Taiwanese, Southern Min, Southern Fujian, Hoklo, Southern Fukien, Ho-lo; granfathered in IANA, nan preferred; zh-min-nan.wikipedia.org
	["zh-yue"] = {"Cantonese"}													-- zh-yue = Cantonese; redundant in IANA, yue preferred; zh-yue.wikipedia.org
	}