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"] = {"திபெத்திய மொழி"}, -- Tibetan
["cu"] = {"பண்டைய மசிதோனிய மொழி"}, -- Church Slavic, Church Slavonic, Old Bulgarian, Old Church Slavonic, Old Slavonic
["de-AT"] = {"Austrian German"},
["el"] = {"கிரேக்கம்"}, -- Modern Greek (1453-)
["en-AU"] = {"ஆஸ்திரேலிய ஆங்கிலம்"},
["en-CA"] = {"Canadian English"},
["en-GB"] = {"பிரித்தானிய ஆங்கிலம்"},
["en-IE"] = {"Irish English"},
["en-NZ"] = {"New Zealand English"},
["en-SA"] = {"South African English"},
["en-US"] = {"அமெரிக்க ஆங்கிலம்"},
["ff"] = {"Fula"}, -- Fulah
["fy"] = {"Frisian"}, -- Western Frisian
["ht"] = {"ஐத்தி கிரியோல் மொழி"}, -- Haitian, Haitian Creole
["hz"] = {"எரேரோ மொழி"}, -- Herero
["ia"] = {"நடுநிலை மொழி"}, -- Interlingua (International Auxiliary Language Association)
["ii"] = {"Yi"}, -- Sichuan Yi, Nuosu
["ki"] = {"Gikuyu"}, -- Kikuyu, Gikuyu
["kk"] = {"காசாக்கு மொழி"}, -- Kazakh; same, delete?
["kl"] = {"Greenlandic"}, -- Kalaallisut, Greenlandic
["km"] = {"கெமர்"}, -- Central Khmer
["ky"] = {"Kyrgyz"}, -- Kirghiz, Kyrgyz
["lg"] = {"ஒலுகாந்த மொழி"}, -- Ganda
["li"] = {"இலிம்பூர்கு மொழி"}, -- Limburgan, Limburger, Limburgish
["mi"] = {"மாவோரி மொழி"}, -- Maori
["ms"] = {"மலாய்"}, -- Malay (macrolanguage)
["na"] = {"Nauruan"}, -- Nauru
["nb"] = {"பூக்மோல் மொழி"}, -- Norwegian Bokmål
["nd"] = {"Northern Ndebele"}, -- North Ndebele
["ne"] = {"Nepali"}, -- Nepali (macrolanguage)
["nn"] = {"நீநொர்ஸ்க் மொழி"}, -- Norwegian Nynorsk
["nr"] = {"Southern Ndebele"}, -- South Ndebele
["ny"] = {"நியாஞ்ச மொழி"}, -- Nyanja, Chewa, Chichewa
["oc"] = {"ஆக்சிதம்"}, -- Occitan (post 1500)
["oj"] = {"Ojibwe"}, -- Ojibwa
["or"] = {"ஒடியா"}, -- Oriya (macrolanguage), Odia (macrolanguage)
["pa"] = {"பஞ்சாபி மொழி"}, -- Panjabi, Punjabi
["pi"] = {"பாளி"}, -- Pali; same, delete?
["rn"] = {"கிருண்டி மொழி"}, -- Rundi
["ro"] = {"Romanian"}, -- Romanian, Moldavian, Moldovan; same as first in IANA list, delete?
["rw"] = {"கின்யருவாண்டா மொழி"}, -- Kinyarwanda; same, delete?
["si"] = {"சிங்களம்"}, -- சிங்களம்
["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 languages
["pra"] = {"பிராகிருதம்"}, -- 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"] = {"அக்லான்"}, -- Aklanon
["alt"] = {"Altay"}, -- Southern Altai
["ang"] = {"பண்டைய ஆங்கிலம்"}, -- Old English (ca. 450-1100)
["apm"] = {"Mescalero-Chiricahua"}, -- Mescalero-Chiricahua Apache
["bal"] = {"Balochi"}, -- Baluchi
["bar"] = {"பவேரிய மொழி"}, -- Bavarian
["bcl"] = {"மத்திய பிகோல் மொழி"}, -- Central Bikol
["bin"] = {"Edo"}, -- Bini, Edo
["bpy"] = {"பிஷ்ணுப்ரியா மணிப்புரீ மொழி"}, -- Bishnupriya
["brx"] = {"Bodo"}, -- Bodo (India)
["chg"] = {"Chagatay"}, -- Chagatai
["chm"] = {"Mari"}, -- Mari (Russia)
["ckb"] = {"சொரானி மொழி"}, -- Central Kurdish
["cnu"] = {"Shenwa"}, -- Chenoua
["coc"] = {"Cocopah"}, -- Cocopa
["deu"] = {"early German"}, -- not in IANA; see code de
["diq"] = {"திமிலி மொழி"}, -- 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; 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 (to 1453)
["gsw"] = {"அலேமானிசு"}, -- Swiss German, Alemannic, Alsatian
["gul"] = {"Gullah"}, -- Sea Island Creole English
["hak"] = {"Hakka"}, -- Hakka Chinese
["hbo"] = {"விவிலிய எபிரேயம்"}, -- 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 (individual language)
["kok"] = {"கொங்கணி மொழி"}, -- 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"] = {"அசர்பைஜான் மொழி"}, -- Coatepec Nahuatl; clearly a misuse of code naz
["nci"] = {"Classical Nahuatl"}, -- Classical Nahuatl; same, delete?
["nds-nl"] = {"கீழ் சாசிய தச்சு மொழி"}, -- Low German, Low Saxon; as spoken in the Netherlands; see code nsd
["new"] = {"நேபால் பாசா"}, -- Newari, Nepal Bhasa
-- ["nrm"] = {"Norman"}, -- Narom; clearly a misuse of code nrm
-- ["nsd"] = {"கீழ் சாசிய தச்சு மொழி"}, -- Southern Nisu; how can this be ? 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"] = {"பிராகிருதம்"}, -- 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