This module contains definitions and metadata for two-letter language codes. See Wiktionary:Languages for more information.
This module must not be used directly in other modules or templates. The data should be accessed through Module:languages. For the corresponding main data, see Module:languages/data/2.
The following errors were detected by Module:data consistency check:
nb
) has Middle Norwegian language (gmq-mno
) set as an ancestor, but is not in the West Scandinavian family (gmq-wes
).nb
) has Danish language (da
) set as an ancestor, but is not in the East Scandinavian family (gmq-eas
).hns
) has Bhojpuri language (bho
) set as an ancestor, but is not in the Bihari family (inc-bih
).hns
) has Awadhi language (awa
) set as an ancestor, but is not in the Eastern Hindi family (inc-hie
).alv-gtm-pro
) does not have the expected name "Proto-Ghana-Togo Mountain", even though it is the proto-language of the Ghana-Togo Mountain languages (alv-gtm
).auf-pro
) does not have the expected name "Proto-Arauan", even though it is the proto-language of the Arauan languages (auf
).awd-amc-pro
) has a proto-language code associated with the invalid code awd-amc
.awd-kmp-pro
) has a proto-language code associated with the invalid code awd-kmp
.awd-pro
) does not have the expected name "Proto-Arawakan", even though it is the proto-language of the Arawakan languages (awd
).awd-prw-pro
) has a proto-language code associated with the invalid code awd-prw
.awd-taa-pro
) does not have the expected name "Proto-Ta-Arawakan", even though it is the proto-language of the Ta-Arawakan languages (awd-taa
).dru-pro
) has a proto-language code associated with Rukai (dru
), which is not a family.euq-pro
) does not have the expected name "Proto-Vasconic", even though it is the proto-language of the Vasconic languages (euq
).gmq-pro
) does not have the expected name "Proto-North Germanic", even though it is the proto-language of the North Germanic languages (gmq
).inc-krn-pro
) does not have the expected name "Proto-KRNB lects", even though it is the proto-language of the KRNB lects (inc-krn
).mis-hkl
, is repeated in the table of aliases
.nai-chu-pro
) does not have the expected name "Proto-Chumashan", even though it is the proto-language of the Chumashan languages (nai-chu
).nai-mdu-pro
) does not have the expected name "Proto-Maiduan", even though it is the proto-language of the Maiduan languages (nai-mdu
).nai-miz-pro
) does not have the expected name "Proto-Mixe-Zoquean", even though it is the proto-language of the Mixe-Zoquean languages (nai-miz
).nai-pom-pro
) does not have the expected name "Proto-Pomoan", even though it is the proto-language of the Pomoan languages (nai-pom
).omq-maz-pro
) does not have the expected name "Proto-Mazatecan", even though it is the proto-language of the Mazatecan languages (omq-maz
).os-pro
) has a proto-language code associated with Ossetian (os
), which is not a family.poz-swa-pro
) does not have the expected name "Proto-North Sarawakan", even though it is the proto-language of the North Sarawakan languages (poz-swa
).sal-pro
) does not have the expected name "Proto-Salishan", even though it is the proto-language of the Salishan languages (sal
).smi-pro
) does not have the expected name "Proto-Sami", even though it is the proto-language of the Sami languages (smi
).tbq-kuk-pro
) does not have the expected name "Proto-Kukish", even though it is the proto-language of the Kukish languages (tbq-kuk
).xsc-sak-pro
) does not have the expected name "Proto-Sakan", even though it is the proto-language of the Sakan languages (xsc-sak
).xsc-sar-pro
) has a proto-language code associated with the invalid code xsc-sar
.lzh-lit
) has a canonical name that is not unique; it is also used by the code lzh
.preprocess_links
for ??? (th-new
) is invalid.inc-old
) has no child families or languages.All values are optional.
aliases
varieties
{"North Azerbaijani", "South Azerbaijani",
{"Afshar", "Afshari", "Afshar Azerbaijani", "Afchar"},
{"Qashqa'i", "Qashqai", "Kashkay"},
"Sonqor"
}
Here, the Afshar variety has three aliases specified (Afshari, Afshar Azerbaijani, and Afchar) while the Qashqa'i variety has two aliases specified (Qashqai and Kashkay), and the Songor, North Azerbaijani and South Azerbaijani varieties have no aliases listed. Note that, as here, varieties at different levels of specificity can be given in the same list.
In some cases varieties should instead be added to Module:etymology languages/data, with the language as the parent
value, so that they can be referred to in etymologies.
otherNames
(deprecated)aliases
or varieties
.local m = {}
m = {
aliases = {"Qafar"},
}
m = {
aliases = {"Abkhazian", "Abxazo"},
}
m = {
aliases = {"Zend", "Old Bactrian"},
}
m = {
}
m = {
varieties = {"Twi-Fante", "Twi", {"Fante", "Fanti"}, "Asante", "Akuapem"},
}
m = {
}
m = {
}
m = {
-- FIXME, some of the following are varieties but it's not clear which ones
aliases = {"Standard Arabic", "Literary Arabic", "High Arabic"},
varieties = {"Modern Standard Arabic", "Classical Arabic", "Judeo-Arabic"},
}
m = {
aliases = {"Asamiya"},
}
m = {
aliases = {"Avaric"},
}
m = {
varieties = {"Southern Aymara", "Central Aymara"},
}
m = {
aliases = {"Azeri", "Azari", "Azeri Turkic", "Azerbaijani Turkic"},
varieties = {"North Azerbaijani", "South Azerbaijani",
{"Afshar", "Afshari", "Afshar Azerbaijani", "Afchar"},
{"Qashqa'i", "Qashqai", "Kashkay"},
"Sonqor"
},
}
m = {
}
m = {
aliases = {"Belorussian", "Belarusan", "Bielorussian", "Byelorussian", "Belarussian", "White Russian"},
}
m = {
}
m = {
}
m = {
}
m = {
aliases = {"Bamanankan"},
}
m = {
aliases = {"Bangla"},
}
m = {
varieties = {
{"Amdo Tibetan", "Amdo"},
"Dolpo",
{"Khams", "Khams Tibetan"}, "Khamba",
"Gola",
"Humla",
"Limi", {"Lhasa", "Lhasa Tibetan"}, "Lhomi", "Loke", "Lowa",
"Mugom", "Mugu", "Mustang",
"Nubri",
"Panang",
"Shing Saapa",
"Thudam", "Tichurong", "Tseku",
{"Ü", "Dbus"},
"Walungge"}, -- and "Gyalsumdo", "Lower Manang"? "Kyirong"?
}
m = {
varieties = {{"Gwenedeg", "Vannetais"}, {"Kerneveg", "Cornouaillais"}, {"Leoneg", "Léonard"}, {"Tregerieg", "Trégorrois"}},
}
m = {
-- don't list varieties here that are in ]
}
m = {
}
m = {
aliases = {"Chamoru"},
}
m = {
aliases = {"Corsu"},
}
m = {
}
m = {
}
m = {
aliases = {"Old Church Slavic"},
}
m = {
}
m = {
varieties = {"Cofi Welsh", {"Dyfedeg", "Dyfed Welsh", "Demetian"}, {"Gwenhwyseg", "Gwent Welsh", "Gwentian"}, {"Gwyndodeg", "Gwynedd Welsh", "Venedotian"}, "North Wales Welsh", {"Powyseg", "Powys Welsh", "Powysian"}, "South Wales Welsh", "Patagonian Welsh"},
}
m = {
}
m = {
aliases = {"High German", "New High German", "Deutsch"},
varieties = {"Alsatian German", "American German",
"Bavarian German", "Belgian German",
"Central German",
"DDR German",
"East African German",
"German German",
"Hessian German",
"Indiana German",
"Liechtenstein German", "Lorraine German", "Luxembourgish German",
"Namibian German", "Northern German",
"Prussian German",
"Silesia German", "South African German", "Southern German", "South Tyrolean German", "Switzerland German",
"Texan German"},
}
m = {
aliases = {"Divehi", "Maldivian"},
varieties = {{"Mahal", "Mahl"}},
}
m = {
}
m = {
}
m = {
aliases = {"Modern Greek", "Neo-Hellenic"},
}
m = {
aliases = {"Modern English", "New English"},
varieties = {"Polari", "Yinglish"},
}
m = {
}
m = {
aliases = {"Castilian"},
varieties = {{"Amazonian Spanish", "Amazonic Spanish"}, "Loreto-Ucayali Spanish"},
}
m = {
}
m = {
aliases = {"Euskara"},
}
m = {
aliases = {"Farsi", "New Persian", "Modern Persian"},
varieties = {{"Western Persian", "Iranian Persian"}, {"Eastern Persian", "Dari"}, {"Aimaq", "Aimak", "Aymaq", "Eimak"}},
}
m = {
aliases = {"Fulani"},
varieties = {"Adamawa Fulfulde", "Bagirmi Fulfulde", "Borgu Fulfulde", "Central-Eastern Niger Fulfulde", "Fulfulde", "Maasina Fulfulde", "Nigerian Fulfulde", "Pular", "Pulaar", "Western Niger Fulfulde"}, -- Maasina, etc are dialects, subsumed into this code; Pular and Pulaar are distinct
}
m = {
aliases = {"Suomi"},
}
m = {
}
m = {
aliases = {"Faeroese"},
}
m = {
aliases = {"Modern French"},
varieties = {"African French", "Algerian French", "Alsatian French", "Antilles French", "Atlantic Canadian French",
"Belgian French",
"Congolese French",
"European French",
"French French",
"Haitian French",
"Ivorian French",
"Lorraine French", "Louisiana French", "Luxembourgish French",
"Malian French", "Marseille French", "Missourian French", "Moroccan French",
"Newfoundland French", "North American French",
"Picard French", "Provençal French",
"Quebec French",
"Réunion French", "Rwandan French",
"Tunisian French",
"West African French"},
}
m = {
aliases = {"Western Frisian"},
}
m = {
aliases = {"Irish Gaelic", "Gaelic"}, -- calling it simply "Gaelic" is rare in Ireland, but relatively common in the Irish diaspora
varieties = {{"Cois Fharraige Irish", "Cois Fhairrge Irish"}, {"Connacht Irish", "Connaught Irish"}, "Cork Irish", "Donegal Irish", "Galway Irish", "Kerry Irish", "Mayo Irish", "Munster Irish", "Ulster Irish", "Waterford Irish", "West Muskerry Irish"},
}
m = {
aliases = {"Gaelic", "Gàidhlig", "Scots Gaelic", "Scottish"},
varieties = {"Argyll Gaelic", "Arran Scottish Gaelic", {"Canadian Gaelic", "Canadian Scottish Gaelic", "Cape Breton Gaelic"}, "East Sutherland Gaelic", {"Galwegian Gaelic", "Gallovidian Gaelic", "Gallowegian Gaelic", "Galloway Gaelic"}, "Hebridean Gaelic", "Highland Gaelic"},
}
m = {
}
m = {
aliases = {"Guarani"},
}
m = {
}
m = {
aliases = {"Manx Gaelic"},
varieties = {"Northern Manx", "Southern Manx"},
}
m = {
}
m = {
aliases = {"Ivrit"},
}
m = {
otherNames = {"Hindavi"},
}
m = {
aliases = {"Pidgin Motu", "Police Motu"},
}
m = {
aliases = {"Creole", "Haitian", "Kreyòl"},
}
m = {
aliases = {"Magyar"},
}
m = {
aliases = {"Modern Armenian"},
varieties = {"Eastern Armenian", "Western Armenian"},
}
m = {
}
m = {
}
m = {
}
m = {
aliases = {"Occidental"},
}
m = {
}
m = {
aliases = {
"Nosu", "Nuosu Yi", "Nosu Yi", "Sichuan Yi", "Northern Yi", "Liangshan Yi",
},
}
m = {
aliases = {"Inupiak", "Iñupiaq", "Inupiatun"},
}
m = {
}
m = {
}
m = {
}
m = {
varieties = {
"Aivilimmiut",
{"Eastern Canadian Inuktitut", "Eastern Canadian Inuit"},
{"Inuinnaq", "Inuinnaqtun"},
{"Inuvialuktun", "Inuvialuk", "Western Canadian Inuktitut", "Western Canadian Inuit", "Western Canadian Inuktun"},
"Kivallirmiut",
"Natsilingmiut", "Nunavimmiutit", "Nunatsiavummiut",
{"Siglitun", "Siglit"}},
}
m = {
aliases = {"Modern Japanese", "Nipponese", "Nihongo"},
}
m = {
}
m = {
varieties = {{"Judeo-Georgian", "Kivruli", "Gruzinic"}},
}
m = {
aliases = {"Kikongo"},
varieties = {"Koongo", "Laari", "San Salvador Kongo", "Yombe"},
}
m = {
aliases = {"Gikuyu", "Gĩkũyũ"},
}
m = {
aliases = {"Kuanyama", "Oshikwanyama"},
}
m = {
}
m = {
aliases = {"Kalaallisut"},
}
m = {
aliases = {"Cambodian", "Central Khmer", "Modern Khmer"},
}
m = {
}
m = {
aliases = {"Modern Korean"},
}
m = {
varieties = {"Kanembu", "Bilma Kanuri", "Central Kanuri", "Manga Kanuri", "Tumari Kanuri"},
}
m = {
aliases = {"Koshur"},
}
-- "kv" IS TREATED AS "koi", "kpv", SEE WT:LT
m = {
}
m = {
aliases = {"Kirghiz", "Kirgiz"},
}
m = {
}
m = {
}
m = {
aliases = {"Ganda", "Oluganda"},
}
m = {
aliases = {"Limburgan", "Limburgian", "Limburgic"},
}
m = {
aliases = {"Ngala"},
}
m = {
aliases = {"Laotian"},
}
m = {
}
m = {
}
m = {
aliases = {"Lettish", "Lett"},
}
m = {
varieties = {
{"Antankarana", "Antankarana Malagasy"},
{"Bara Malagasy", "Bara"}, {"Betsimisaraka Malagasy", "Betsimisaraka"}, {"Northern Betsimisaraka Malagasy", "Northern Betsimisaraka"}, {"Southern Betsimisaraka Malagasy", "Southern Betsimisaraka"}, {"Bushi", "Shibushi", "Kibushi"},
{"Masikoro Malagasy", "Masikoro"},
"Plateau Malagasy",
"Sakalava",
{"Tandroy Malagasy", "Tandroy"}, {"Tanosy", "Tanosy Malagasy"}, "Tesaka", {"Tsimihety", "Tsimihety Malagasy"}},
}
m = {
}
m = {
aliases = {"Māori"},
}
m = {
}
m = {
}
m = {
varieties = {"Khalkha Mongolian"},
}
-- "mo" IS TREATED AS "ro", SEE WT:LT
m = {
}
m = {
aliases = {"Malaysian", "Standard Malay"},
}
m = {
}
m = {
aliases = {"Myanmar"},
varieties = {"Mandalay Burmese", "Myeik Burmese", "Palaw Burmese", {"Rangoon Burmese", "Yangon Burmese"}, "Yaw Burmese"},
}
m = {
aliases = {"Nauru"},
}
m = {
aliases = {"Bokmål"},
}
m = {
aliases = {"North Ndebele"},
}
m = {
aliases = {"Nepalese"},
varieties = {"Palpa"}, -- 3832956, former "plp", retired by ISO as spurious
}
m = {
}
m = {
varieties = {"Netherlandic", "Flemish"}, -- FIXME, check this
}
m = {
aliases = {"New Norwegian", "Nynorsk"},
}
m = {
}
m = {
aliases = {"South Ndebele"},
}
m = {
aliases = {"Navaho", "Diné bizaad"},
}
m = {
aliases = {"Chicheŵa", "Chinyanja", "Nyanja", "Chewa", "Cicewa", "Cewa", "Cinyanja"},
}
m = {
-- don't list varieties here that are in ]
}
m = {
aliases = {"Ojibway", "Ojibwa"},
varieties = {{"Chippewa", "Ojibwemowin", "Southwestern Ojibwa"}},
}
m = {
varieties = {"Orma", "Borana-Arsi-Guji Oromo", "West Central Oromo"},
}
m = {
aliases = {"Oriya", "Oorya"},
}
m = {
aliases = {"Ossete", "Ossetic"},
varieties = {"Digor", "Iron"},
}
m = {
aliases = {"Panjabi"},
}
m = {
}
m = {
}
m = {
aliases = {"Pashtun", "Pushto", "Pashtu", "Afghani"},
varieties = {"Central Pashto", "Northern Pashto", "Southern Pashto", {"Pukhto", "Pakhto", "Pakkhto"}},
}
m = {
aliases = {"Modern Portuguese"},
}
m = {
}
m = {
aliases = {"Romansh", "Rumantsch", "Romanche"},
}
m = {
aliases = {"Daco-Romanian", "Roumanian", "Rumanian"},
}
m = {
}
m = {
-- don't list varieties here that are in ]
varieties = {{"Ha", "Giha"}, "Hangaza", "Vinza", "Shubi"}, -- Deleted "Subi", which normally refers to a different language
}
m = {
}
m = {
-- don't list varieties here that are in ]
}
m = {
}
m = {
aliases = {"North Sami", "Northern Saami", "North Saami"},
}
m = {
}
m = {
aliases = {"BCS", "Croato-Serbian", "Serbocroatian"},
-- don't list varieties here that are in ]
varieties = {"Bosnian", "Croatian", "Montenegrin", "Serbian", "Shtokavian"},
}
m = {
aliases = {"Singhalese", "Sinhala"},
}
m = {
}
m = {
aliases = {"Slovenian"},
}
m = {
}
m = {
}
m = {
}
m = {
-- don't list varieties here that are in ]
}
m = {
aliases = {"Swati"},
}
m = {
aliases = {"Sesotho", "Southern Sesotho", "Southern Sotho"},
}
m = {
}
m = {
}
m = {
varieties = {{"Settler Swahili", "KiSetla", "KiSettla", "Setla", "Settla", "Kitchen Swahili"}, {"Kihindi", "Indian Swahili"}, {"KiShamba", "Kishamba", "Field Swahili"}, {"Kibabu", "Asian Swahili"}, {"Kimanga", "Arab Swahili"}, {"Kitvita", "Army Swahili"}},
}
m = {
}
m = {
}
m = {
aliases = {"Eastern Persian", "Tadjik", "Tadzhik", "Tajiki", "Tajik Persian", "Tajiki Persian"},
}
m = {
aliases = {"Central Thai", "Siamese"},
}
m = {
aliases = {"Tigrigna"},
}
m = {
}
m = {
}
m = {
aliases = {"Setswana"},
}
m = {
}
m = {
}
m = {
aliases = {"Xitsonga"},
}
m = {
}
-- "tw" IS TREATED AS "ak", SEE WT:LT
m = {
}
m = {
aliases = {"Uigur", "Uighur", "Uygur"},
}
m = {
}
m = {
}
m = {
varieties = {"Northern Uzbek", "Southern Uzbek"},
}
m = {
}
m = {
aliases = {"Annamese", "Annamite"},
}
m = {
}
m = {
varieties = {"Liégeois", "Namurois", "Wallo-Picard", "Wallo-Lorrain"},
}
m = {
varieties = {"Gambian Wolof"}, -- the subsumed dialect 'wof'
}
m = {
}
m = {
varieties = {"American Yiddish", "Daytshmerish Yiddish", "Mideastern Yiddish", "Galitzish",
{"Northeastern Yiddish", "Litvish", "Lithuanian Yiddish"},
{"Northwestern Yiddish", "Netherlandic Yiddish"},
{"Polish Yiddish", "Poylish"},
"South African Yiddish",
{"Southeastern Yiddish", "Ukrainian Yiddish", "Ukrainish"},
{"Southwestern Yiddish", "Judeo-Alsatian"},
"Udmurtish"
},
}
m = {
}
m = {
-- FIXME, are all of the following distinct?
varieties = {
"Chongzuo Zhuang",
"Guibei Zhuang", "Guibian Zhuang",
"Central Hongshuihe Zhuang", "Eastern Hongshuihe Zhuang",
"Lianshan Zhuang", "Liujiang Zhuang", "Liuqian Zhuang",
{"Min Zhuang", "Minz Zhuang"},
"Nong Zhuang", -- see zhn
"Qiubei Zhuang",
"Shangsi Zhuang",
{"Dai Zhuang", "Wenma", "Wenma Thu", "Wenma Zhuang"},
"Yang Zhuang",
{"Yongbei Zhuang", "Wuming Zhuang", "Standard Zhuang"},
"Yongnan Zhuang", "Youjiang Zhuang",
"Zuojiang Zhuang"},
}
m = {
}
m = {
aliases = {"isiZulu"},
}
return m