模块:Language/data/wp languages
此模块的文档可以在模块:Language/data/wp languages/doc创建
return { -- wp preferred names -- IANA language names and notes
--ISO 639-1 codes
--统一使用繁体中文
["ab"] = {"阿布哈茲語"}, -- Abkhazian
["an"] = {"亞拉岡語"}, -- Aragonese; same, delete?
["ar"] = {"阿拉伯語"},
["av"] = {"阿瓦爾語"}, -- Avaric
["as"] = {"阿薩姆語"},
["bh"] = {"比哈爾語"}, -- Bihari languages; collective
["bi"] = {"比斯拉馬語"},
["bn"] = {"孟加拉語"},
["bo"] = {"標準藏語"}, -- Tibetan
["bs"] = {"波斯尼亞語"},
["cu"] = {"古教會斯拉夫語"}, -- Church Slavic, Church Slavonic, Old Bulgarian, Old Church Slavonic, Old Slavonic'
["cs"] = {"捷克語"},
["da"] = {"丹麥語"},
["de-AT"] = {"奧地利德語"},
["el"] = {"希臘語"}, -- Modern Greek (1453-)
["en-AU"] = {"澳洲英語"},
["en-CA"] = {"加拿大英語"},
["en-GB"] = {"British English"},
["en-IE"] = {"Irish English"},
["en-NZ"] = {"New Zealand English"},
["en-SA"] = {"South African English"},
["en-US"] = {"American English"},
["es"] = {"西班牙語"},
["fa"] = {"波斯語"},
["ff"] = {"Fula"}, -- Fulah
["fy"] = {"菲士蘭語"}, -- Western Frisian
["ga"] = {"愛爾蘭語"},
["hi"] = {"印地語"},
["ht"] = {"海地克里奧爾語"}, -- Haitian, Haitian Creole
["hu"] = {"匈牙利語"},
["hy"] = {"亞美尼亞語"},
["hz"] = {"Otjiherero"}, -- Herero
["ia"] = {"因特語"}, -- Interlingua (International Auxiliary Language Association)
["id"] = {"印尼語"},
["ii"] = {"彝語北部方言"}, -- Sichuan Yi, Nuosu
["ki"] = {"基庫尤語"}, -- Kikuyu, Gikuyu
["kk"] = {"哈薩克語"}, -- Kazakh; same, delete?
["kl"] = {"格陵蘭語"}, -- Kalaallisut, Greenlandic
["km"] = {"高棉語"}, -- Central Khmer
["ky"] = {"柯爾克孜語"}, -- Kirghiz, Kyrgyz
["la"] = {"拉丁語"},
["lg"] = {"盧干達語"}, -- Ganda
["li"] = {"林堡語"}, -- Limburgan, Limburger, Limburgish
["ln"] = {"林格拉語"},
["mi"] = {"毛利語"}, -- Maori
["mk"] = {"馬其頓語"},
["ms"] = {"馬來語"}, -- Malay (macrolanguage)
["mt"] = {"馬爾他語"},
["my"] = {"緬甸語"},
["na"] = {"諾魯語"}, -- Nauru
["nb"] = {"書面挪威語"}, -- Norwegian Bokmål
["nd"] = {"北恩德貝勒語"}, -- North Ndebele
["ne"] = {"尼泊爾語"}, -- Nepali (macrolanguage)
["nl"] = {"荷蘭語"},
["nn"] = {"新挪威語"}, -- Norwegian Nynorsk
["no"] = {"挪威語"},
["nr"] = {"南恩德貝勒語"}, -- South Ndebele <not found in Chinese Wikipedia>
["ny"] = {"齊切瓦語"}, -- Nyanja, Chewa, Chichewa
["oc"] = {"奧克語"}, -- Occitan (post 1500)
["oj"] = {"歐及布威語"}, -- Ojibwa
["or"] = {"歐利亞語"}, -- Oriya (macrolanguage), Odia (macrolanguage)
["os"] = {"奧塞梯語"},
["pa"] = {"旁遮普語"}, -- Panjabi, Punjabi
["pl"] = {"波蘭語"},
["pi"] = {"巴利語"}, -- Pali; same, delete?
["pt"] = {"葡萄牙語"},
["rn"] = {"克倫地語"}, -- Rundi
["ro"] = {"羅馬尼亞語"}, -- Romanian, Moldavian, Moldovan; same as first in IANA list, delete?
["rw"] = {"盧安達語"}, -- Kinyarwanda; same, delete?
["sa"] = {"梵語"},
["si"] = {"僧伽羅語"}, -- Sinhala, Sinhalese
["sn"] = {"修納語"},
["sl"] = {"斯洛維尼亞語"}, -- Slovenian
["sr-Cyrl"] = {"塞爾維亞語西里爾字母"}, -- sr = Serbian; Cyrillic is the alphabet
["ss"] = {"史瓦濟語"}, -- Swati
["st"] = {"塞索托語"}, -- Southern Sotho
["sv"] = {"瑞典語"},
["sw"] = {"斯瓦希里語"}, -- Swahili (macrolanguage)
["th"] = {"泰語"},
["tr"] = {"土耳其語"},
["to"] = {"東加語"}, -- Tonga (Tonga Islands)
["vi"] = {"越南語"},
["za"] = {"壯語"}, -- Zhuang, Chuang; ; same as first in IANA list, delete?
-- ISO 639-2 codes
["ber"] = {"柏柏爾語"}, -- Berber languages
["cel"] = {"原始凱爾特語"}, -- Celtic languages
["cop"] = {"科普特語"},
["gem"] = {"原始日耳曼語"}, -- Germanic languages
["myn"] = {"瑪雅語系"}, -- Mayan languages
["nah"] = {"納瓦特爾語"}, -- Nahuatl languages
["pra"] = {"普拉克里特諸語言"}, -- Prakrit languages
-- ["roa"] = {"Jèrriais"}, -- Romance languages
["sal"] = {"薩利希語系"}, -- Salishan languages
["sla"] = {"斯拉夫語族"}, -- Slavic languages
["son"] = {"桑海語族"}, -- Songhai languages
["uk"] = {"烏克蘭語"},
["wen"] = {"索布語"}, -- Sorbian languages
-- ISO 639-3 codes
["abk"] = {"Abkhaz"}, -- not in IANA; see code ab
["alr"] = {"阿留特語"},
["ace"] = {"亞齊語"}, -- Achinese
["aec"] = {"Sa'idi Arabic"}, -- Saidi Arabic
["ain"] = {"阿伊努語"}, -- Ainu (Japan)
["akl"] = {"阿克蘭語"}, -- Aklanon
["alt"] = {"阿爾泰語"}, -- Southern Altai
-- ["ang"] = {"古英語"}, -- Old English (ca. 450-1100)
["apm"] = {"Mescalero-Chiricahua"}, -- Mescalero-Chiricahua Apache
["bal"] = {"Balochi"}, -- Baluchi
["bar"] = {"巴伐利亞語"}, -- Bavarian
["bcl"] = {"中比科爾語"}, -- Central Bikol
["bin"] = {"埃多語"}, -- Bini, Edo
["bpy"] = {"Bishnupriya Manipuri"}, -- Bishnupriya
["brx"] = {"Bodo"}, -- Bodo (India)
["chg"] = {"察合台突厥語"}, -- Chagatai
["chm"] = {"Mari"}, -- Mari (Russia)
["ckb"] = {"Sorani Kurdish"}, -- Central Kurdish
["ckt"] = {"楚科奇語"},
["cnu"] = {"Shenwa"}, -- Chenoua
["coc"] = {"Cocopah"}, -- Cocopa
["deu"] = {"早期德語"}, -- not in IANA; see code de
["diq"] = {"扎扎其語"}, -- Dimli (individual language)
["egy"] = {"埃及語"}, -- Egyptian (Ancient)
["ell"] = {"現代希臘語"}, -- not in IANA; see code el
["enm"] = {"中古英語"}, -- Middle English (1100-1500)
["fit"] = {"梅安語"}, -- Tornedalen Finnish
["fkv"] = {"克文語"}, -- Kven Finnish
["frk"] = {"古法蘭克語"}, -- Frankish
["frm"] = {"中古法語"}, -- Middle French (ca. 1400-1600)
["fro"] = {"古法語"}, -- Old French (842-ca. 1400)
["fry"] = {"西菲士蘭語"}, -- not in IANA; see code fy
["gez"] = {"吉茲語"}, -- Geez
["gju"] = {"Gujari "}, -- Gujari; same, delete?
["gmh"] = {"中古高地德語"}, -- Middle High German (ca. 1050-1500)
["goh"] = {"古高地德語"}, -- Old High German (ca. 750-1050)
["grc"] = {"古希臘語"}, -- Ancient Greek (to 1453)
["gsw"] = {"阿勒曼尼語"}, -- Swiss German, Alemannic, Alsatian
["gul"] = {"Gullah"}, -- Sea Island Creole English
["hak"] = {"客家語"}, -- Hakka Chinese
["hbo"] = {"聖經希伯來語"}, -- Ancient Hebrew
["hnd"] = {"Hindko"}, -- Southern Hindko
["ikt"] = {"Inuvialuk"}, -- Inuinnaqtun, Western Canadian Inuktitut
["ilo"] = {"Ilokano"}, -- Iloko
["kaa"] = {"Karakalpak"}, -- Kara-Kalpak
["kan"] = {"康納達語"}, -- Kannada
["khb"] = {"傣仂語"}, -- Lü
["kmr"] = {"北庫德語"}, -- Northern Kurdish
["knn"] = {"Konkani"}, -- Konkani (individual language)
["kok"] = {"Konkani"}, -- Konkani (macrolanguage)
["kpo"] = {"Kposo"}, -- Ikposo
["kpy"] = {"科里亞克語"},
["krj"] = {"Kinaray-a"}, -- Kinaray-A
["ksh"] = {"Ripuarian"}, -- Kölsch; --ksh is the code of Colognian, but ksh.wiki is the Ripuarian Wikipedia
["ktz"] = {"Juǀ'hoan"}, -- Ju/'hoan, Juǀʼhoan, Juǀʼhoansi
["lez"] = {"Lezgian"}, -- Lezghian
["liv"] = {"立窩尼亞語"}, -- Liv
["lng"] = {"Lombardic"}, -- Langobardic
["maz"] = {"Mazovian"}, -- Central Mazahua
["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"] = {"白苗話"}, -- Hmong Daw
["mzn"] = {"Mazanderani"}, -- Mazanderani
["nan"] = {"臺灣話"}, -- Min Nan Chinese
["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 (1500-1928)
["otk"] = {"古突厥語"}, -- Old Turkish
["pal"] = {"中古波斯語"}, -- Pahlavi
["pam"] = {"Kapampangan"}, -- Pampanga, Kapampangan
["pcd"] = {"庇卡底語"},
["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
["prs"] = {"達利語"},
["psu"] = {"Shauraseni"}, -- Sauraseni Prākrit
["rap"] = {"Rapa Nui"}, -- Rapanui
["rar"] = {"Cook Islands Māori"}, -- Rarotongan, Cook Islands Maori
["rmu"] = {"Scandoromani"}, -- Tavringer Romani
["rom"] = {"羅姆語"}, -- Romany
["rup"] = {"阿羅蒙語"}, -- Macedo-Romanian, Aromanian, Arumanian
["rus"] = {"俄語"}, -- not in IANA; see code ru
["ryu"] = {"沖繩語"}, -- Central Okinawan
["sah"] = {"雅庫特語"}, -- Yakut 又譯作薩哈語
["sdc"] = {"Sassarese"}, -- Sassarese Sardinian
["sdn"] = {"Gallurese"}, -- Gallurese Sardinian
["sga"] = {"古愛爾蘭語"}, -- 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
["zea"] = {"西蘭語"},
-- 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
}