Contains data for language or language family codes that are used mainly in etymology templates (specifically foreign derivation templates) such as {{der}} and {{cog}}.

The following errors were detected by Module:data consistency check: Lua ဗၠေတ်: not enough memory.

1 (required)
The canonical name.
2
The Wikidata item with the Q at the beginning removed.
3 (required)
The parent: the regular language, etymology language, or language family that this etymology language is a subvariety of. For instance, "en" (English) is the parent of en-GB (British English), and "gmw" (West Germanic) is the parent of gem-sue (Suevic).
aliases, varieties, otherNames, wikipedia_article
These have the same meaning as they do in the data modules for the regular languages; see Module:languages/data/2, Module:languages/data/2/extra.
ancestors
The ancestor of this etymology language. Add this only if the etymology language is listed as an ancestor of a regular language.

local m = {}

local function alias_codes(a, b) for _, v in ipairs(b) do m[v] = m[a] end end -- allows aliases to be entered as a list

-- Albanian varieties


m["aln"] = {
	"Gheg Albanian",
	181037,
	"sq",
	aliases = {"Gheg"},
}

m["aae"] = {
	"Arbëresh Albanian",
	1075302,
	"sq",
	aliases = {"Arbëreshë", "Arbëresh"},
}

m["aat"] = {
	"Arvanitika Albanian",
	29347,
	"sq",
	aliases = {"Arvanitika"},
}

m["als"] = {
	"Tosk Albanian",
	180937,
	"sq",
	aliases = {"Tosk"},
}

-- Bantu varieties

m["bnt-cmn"] = {
	"Common Bantu",
	nil,
	"bnt-pro",
}

-- Semitic varieties

-- Akkadian varieties

m["akk-old"] = {
	"Old Akkadian",
	nil,
	"akk",
}

m["akk-obb"] = {
	"Old Babylonian",
	nil,
	"akk",
}

m["akk-oas"] = {
	"Old Assyrian",
	nil,
	"akk",
}

m["akk-mbb"] = {
	"Middle Babylonian",
	nil,
	"akk",
}

m["akk-mas"] = {
	"Middle Assyrian",
	nil,
	"akk",
}

m["akk-nbb"] = {
	"Neo-Babylonian",
	nil,
	"akk",
}

m["akk-nas"] = {
	"Neo-Assyrian",
	nil,
	"akk",
}

m["akk-lbb"] = {
	"Late Babylonian",
	nil,
	"akk",
}

m["akk-stb"] = {
	"Standard Babylonian",
	nil,
	"akk",
}

-- Arabic varieties

m["jrb"] = {
	canonicalName = "အာရဗဳ-ဇူဒိအဝ်",
	parent = "ar",
	wikidata_item = "Q37733",
}

-- Aramaic varieties

m["arc-bib"] = {
	"Biblical Aramaic",
	843235,
	"arc",
}

m["arc-cpa"] = {
	"Christian Palestinian Aramaic",
	60790119,
	"arc",
	aliases = {"Melkite Aramaic", "Palestinian Syriac", "Syropalestinian Aramaic"},
}

m["arc-imp"] = {
	"Imperial Aramaic",
	7079491,
	"arc",
	aliases = {"Official Aramaic"},
}

m["arc-hat"] = {
	canonicalName = "အာရမေအဳ ဟာက်ထရာန်",
	parent = "arc",
}

m["arc-jla"] = {
	"Jewish Literary Aramaic",
	105952842,
	"arc",
}

m["arc-nab"] = {
	"Nabataean Aramaic",
	36178,
	"arc",
}

m["arc-old"] = {
	"Old Aramaic",
	3398392,
	"arc",
}

m["arc-pal"] = {
	canonicalName = "အာရမေအဳ ပါန်မာဲရေန်",
	parent = "arc",
}

m["tmr"] = {
	"Jewish Babylonian Aramaic",
	33407,
	"arc",
}

m["jpa"] = {
	"Jewish Palestinian Aramaic",
	948909,
	"arc",
	aliases = {"Galilean Aramaic"},
}

-- Catalan varieties

m["ca-val"] = {
	"Valencian",
	32641,
	"ca",
}

-- Central Nicobarese varieties

m["ncb-cam"] = {
	"Camorta",
	5026908,
	"ncb",
	aliases = {"Kamorta"},
}

m["ncb-kat"] = {
	"Katchal",
	17064263,
	"ncb",
	aliases = {"Tehnu"},
}

m["ncb-nan"] = {
	"Nancowry",
	6962504,
	"ncb",
	aliases = {"Nankwari"},
}

-- Chinese varieties

m["och-ear"] = {
	"Early Old Chinese",
	nil,
	"och",
}

m["och-lat"] = {
	"Late Old Chinese",
	nil,
	"och",
}

m["ltc-ear"] = {
	"Early Middle Chinese",
	nil,
	"ltc",
}

m["ltc-lat"] = {
	"Late Middle Chinese",
	nil,
	"ltc",
}

m["cmn-ear"] = {
	"Early Mandarin",
	nil,
	"cmn",
}

m["wuu-sha"] = {
	"Shanghainese",
	36718,
	"wuu",
}

m["hsn-old"] = {
	"Old Xiang",
	7085453,
	"hsn",
	aliases = {"Lou-Shao"},
}

m["zhx-pin"] = {
	"Pinghua",
	2735715,
	"yue",
}

m["nan-hai"] = {
	"Hainanese",
	934541,
	"nan",
}

m["nan-hok"] = {
	"Hokkien",
	1624231,
	"nan",
}

m["nan-xm"] = {
	"Amoy",
	68744,
	"nan-hok",
	aliases = {"Xiamenese"},
}

m["nan-zz"] = {
	"Zhangzhou Hokkien",
	nil,
	"nan-hok",
}

m["nan-qz"] = {
	"Quanzhou Hokkien",
	nil,
	"nan-hok",
}

m["nan-jj"] = {
	"Jinjiang Hokkien",
	nil,
	"nan-qz",
}

m["nan-ph"] = {
	"Philippine Hokkien",
	3236692,
	"nan-jj",
}

-- Chinese romanization
-- [[Wiktionary:Information desk/2022/June#Etymology Coding Issue]]
-- [[Wiktionary:Grease pit/2022/June#Transliteration Systems in Etymologies 2]]

m["cmn-pinyin"] = {
	canonicalName = "ဟာန်ယူ ဖှေန်အိန်",
	otherNames = {"Pinyin"},
	parent = "cmn",
	wikidata_item = "Q42222",
}

m["cmn-tongyong"] = {
	"Tongyong Pinyin",
	700739,
	"cmn",
}

m["cmn-wadegile"] = {
	canonicalName = "ဝေအ်–ဂျာယ်",
	parent = "cmn",
	wikidata_item = "Q208442",
	otherNames = {"Wade-Giles", "Wade Giles"},
}

-- Chinese cyrillization

m["cmn-palladius"] = {
	"Palladius",
	1234239,
	"cmn",
	aliases = {"Palladius system"},
}

-- Coptic varieties

m["cop-akh"] = {
	canonicalName = "ကေအ်ပတေတ် အာပ်မေန်မေတ်",
	parent = "cop",
	aliases = {"Akhmimic"},
}

m["cop-boh"] = {
	canonicalName = "ကေအ်ပတေတ် ဗဝ်ဟာဲရေတ်",
	otherNames = {"Memphitic Coptic"},
	parent = "cop",
	wikidata_item = "Q890733",
}

m["cop-ggg"] = {
	"Coptic Dialect G",
	nil,
	"cop",
	aliases = {"Dialect G", "Mansuric Coptic", "Mansuric"},
}

m["cop-jjj"] = {
	"Coptic Dialect J",
	nil,
	"cop",
}

m["cop-kkk"] = {
	"Coptic Dialect K",
	nil,
	"cop",
}

m["cop-ppp"] = {
	"Coptic Dialect P",
	nil,
	"cop",
	aliases = {"Proto-Theban Coptic", "Palaeo-Theban Coptic"},
}

m["cop-fay"] = {
	"Fayyumic Coptic",
	1399115,
	"cop",
	aliases = {"Fayyumic", "Faiyumic Coptic", "Faiyumic", "Fayumic Coptic", "Fayumic",
		"Bashmuric Coptic", "Bashmuric"},
}

m["cop-her"] = {
	"Hermopolitan Coptic",
	nil,
	"cop",
	aliases = {"Hermopolitan", "Coptic Dialect H", "Ashmuninic", "Ashmuninic Coptic"},
}

m["cop-lyc"] = {
	"Lycopolitan Coptic",
	nil,
	"cop",
	aliases = {
		"Lycopolitan",
		"Assiutic Coptic", "Asyutic Coptic", "Assiutic", "Asyutic",
		"Lyco-Diospolitan Coptic", "Lyco-Diospolitan",
		"Subakhmimic Coptic", "Subakhmimic"
	},
}

m["cop-old"] = {
	"Old Coptic",
	nil,
	"cop",
}

m["cop-oxy"] = {
	"Oxyrhynchite Coptic",
	nil,
	"cop",
	aliases = {"Oxyrhynchite", "Mesokemic Coptic", "Mesokemic", "Middle Egyptian Coptic"},
}

m["cop-ply"] = {
	"Proto-Lycopolitan Coptic",
	nil,
	"cop",
	aliases = {"Coptic Dialect i", "Proto-Lyco-Diospolitan Coptic"},
}

m["cop-sah"] = {
	canonicalName = "ကေအ်ပတေတ် သာဟေတ်ဒေတ်",
	otherNames = {"Thebaic Coptic"},
	parent = "cop",
	wikidata_item = "Q2645851",
}

-- Dutch varieties

m["nl-BE"] = {
	"Belgian Dutch",
	34147,
	"nl",
	aliases = { "Flemish", "Flemish Dutch", "Southern Dutch"},
}

-- Egyptian varieties

m["egy-old"] = {
	"Old Egyptian",
	447117,
	"egy",
}

m["egy-mid"] = {
	"Middle Egyptian",
	657330,
	"egy",
	aliases = {"Classical Egyptian"},
}

m["egy-nmi"] = {
	"Neo-Middle Egyptian",
	nil,
	"egy",
	aliases = {"Égyptien de tradition", "Traditional Egyptian"},
}

m["egy-lat"] = {
	"Late Egyptian",
	1852329,
	"egy",
}

-- Elamite varieties

m["elx-old"] = {
	"Old Elamite",
	nil,
	"elx",
}

m["elx-mid"] = {
	"Middle Elamite",
	nil,
	"elx",
}

m["elx-neo"] = {
	"Neo-Elamite",
	nil,
	"elx",
}

m["elx-ach"] = {
	"Achaemenid Elamite",
	nil,
	"elx",
}

-- English, Scots and Old English varieties
m["en-CA"] = {
	"Canadian English",
	44676,
	"en",
}

m["en-GB"] = {
	"British English",
	7979,
	"en",
}
alias_codes("en-GB", {"British English", "BE."})

m["en-US"] = {
	"American English",
	7976,
	"en",
}
alias_codes("en-US", {"American English", "AE."})

m["en-geo"] = {
	"Geordie English",
	nil,
	"en",
}

m["en-HK"] = {
	"Hong Kong English",
	1068863,
	"en",
}

-- Scots varieties

m["sco-osc"] = {
	canonicalName = "Early Scots",
		wikidata_item = "Q5326738",
	parent = "enm",
	aliases = {"Old Scots"},
}
alias_codes("sco-osc", {"Early Scots", "Old Scots", "O.Sc."})

m["sco-smi"] = {
	canonicalName = "သကတ် လဒေါဝ်",
	parent = "sco-osc",
	wikidata_item = "Q3327000",
}
alias_codes("sco-smi", {"Middle Scots", "Mid.Sc."})

m["sco-ins"] = {
	"Insular Scots",
	16919205,
	"sco",
}
alias_codes("sco-ins", {"Insular Scots", "Ins.Sc."})

m["sco-uls"] = {
	"Ulster Scots",
	201966,
	"sco",
}
alias_codes("sco-uls", {"Ulster Scots", "Uls.Sc."})

m["sco-nor"] = {
	"Northern Scots",
	16928150,
	"sco",
}
alias_codes("sco-nor", {"Northern Scots", "Nor.Sc."})

m["sco-sou"] = {
	"South Scots",
	7570457,
	"sco",
	aliases = {"Southern Scots", "Borders Scots"},
}
alias_codes("sco-sou", {"Southern Scots", "Borders Scots", "Sou.Sc."})

-- Middle English varieties
m["enm-nor"] = {
	"Northern Middle English",
	nil,
	"enm",
	aliases = {"Northumbrian Middle English"},
}

-- Old English varieties

-- Includes both Mercian and Northumbrian.
m["ang-ang"] = {
	"Anglian Old English",
	nil,
	"ang",
}

m["ang-mer"] = {
	"Mercian Old English",
	nil,
	"ang",
}

m["ang-nor"] = {
	"Northumbrian Old English",
	1798915,
	"ang",
}

--[[
m["ang-wsx"] = {
	"West Saxon Old English",
	nil,
	"ang",
}
]]


-- French and French-based creole varieties

m["fro-nor"] = {
	"နဝ်မာံတြေံ",
	2044917,
	"fro",
	aliases = {"Old Norman", "Old Norman French"},
}
alias_codes("fro-nor", {"Old Northern French", "ONF."})

m["fro-pic"] = {
	"Picard Old French",
	nil,
	"fro",
}

m["xno"] = {
	canonicalName = "အာန်ဂလဝ်-နဝ်မာန်",
	parent = "fro",
	wikidata_item = "Q35214",
}

m["fr-CA"] = {
	"Canadian French",
	1450506,
	"fr",
}
alias_codes("fr-CA", {"Canadian French", "CF."})

m["fr-CH"] = {
	"Switzerland French",
	1480152,
	"fr",
}
alias_codes("fr-CH", {"Swiss French", "Switzerland French"})

m["fr-aca"] = {
	"Acadian French",
	415109,
	"fr",
}
alias_codes("fr-aca", {"Acadian French", "fra-aca"})

m["frc"] = {
	"Cajun French",
	880301,
	"fr",
	aliases = {"Louisiana French"},
}

m["ht-sdm"] = {
	"Saint Dominican Creole French",
	nil,
	"ht",
}

-- Norman varieties

m["roa-grn"] = {
	"Guernsey Norman",
	56428,
	"nrf",
	aliases = {"Guernsey"},
}
alias_codes("roa-grn", {"nrf-grn"})

m["roa-jer"] = {
	"Jersey Norman",
	56430,
	"nrf",
	aliases = {"Jersey"},
}
alias_codes("roa-jer", {"nrf-jer"})

-- Brythonic

m["bry-ear"] = {
	"Early Brythonic",
	nil,
	"cel-bry-pro",
}

m["bry-lat"] = {
	"Late Brythonic",
	nil,
	"cel-bry-pro",
}

-- Gaulish

m["xcg"] = {
	"Cisalpine Gaulish",
	3832927,
	"cel-gau",
}

m["xtg"] = {
	"Transalpine Gaulish",
	29977,
	"cel-gau",
}

-- Portuguese varieties

m["pt-BR"] = {
	"Brazilian Portuguese",
	750553,
	"pt",
}

-- Spanish varieties

m["es-AR"] = {
	"Rioplatense Spanish",
	509780,
	"es",
}

m["es-CO"] = {
	"Colombian Spanish",
	1115875,
	"es",
}

m["es-CU"] = {
	"Cuban Spanish",
	824909,
	"es",
}

m["es-MX"] = {
	"Mexican Spanish",
	616620,
	"es",
}

m["es-US"] = {
	"United States Spanish",
	2301077,
	"es",
	aliases = {"US Spanish"},
}
--use label "US Spanish" to put Spanish terms in this category

m["es-PR"] = {
	"Puerto Rican Spanish",
	7258609,
	"es",
}

-- Germanic varieties
-- (modern) German varieties

m["de-AT"] = {
	"Austrian German",
	306626,
	"de",
}
alias_codes("de-AT", {"Austrian German", "AG."})

m["de-AT-vie"] = {
	"Viennese German",
	56474,
	"de-AT",
}
alias_codes("de-AT-vie", {"Viennese German", "VG."})

m["de-CH"] = {
	"Swiss High German",
	1366643,
	"de",
	aliases = {"Schweizer Hochdeutsch", "Swiss Standard German"},
}

m["ksh"] = {
	canonicalName = "ခေါဝ်အ်",
	parent = "gmw-cfr",
	wikidata_item = "Q4624",
}
m["Kölsch"] = m["ksh"]

m["pfl"] = {
	"Palatine German",
	23014,
	"gmw-rfr",
	aliases = {"Pfälzisch", "Pälzisch", "Palatinate German"},
}

m["sli"] = {
	"Silesian German",
	152965,
	"gmw-ecg",
	aliases = {"Silesian"},
}

m["sxu"] = {
	"Upper Saxon",
	699284,
	"gmw-ecg",
}

-- Old High German varieties

m["lng"] = {
	canonicalName = "လီုဗါဒေါတ်",
	parent = "goh",
	wikidata_item = "Q35972",
}
alias_codes("lng", {"Lombardic", "goh-lng"})

-- Proto-West Germanic varieties

m["frk"] = {
	canonicalName = "ပြင်ဂေတ်တြေံ",
	parent = "gmw-pro",
	wikidata_item = "Q10860505",
}
-- Alemannic German varieties

m["gsw-FR"] = {
	"Alsatian",
	8786,
	"gsw",
	wikipedia_article = "Alsatian dialect",
}

-- Old Norse varieties

m["non-oen"] = {
	"Old East Norse",
	10498031,
	"non",
}

m["non-ogt"] = {
	"Old Gutnish",
	1133488,
	"non",
	aliases = {"Old Gotlandic"},
}

m["non-own"] = {
	"Old West Norse",
	10498026,
	"non",
}


-- Greek varieties

m["gkm"] = {
    canonicalName = "ဂရေတ် ၜါန်သေန်တိုင်",
	otherNames = {"Medieval Greek"},
	parent = "grc",
	wikidata_item = "Q36387",
}

m["qsb-grc"] = {
	canonicalName = "ဂရေတ်-ဖှဳ",
	otherNames = {"Pre-Greek"},
	parent = "qfa-sub",
	wikidata_item = "Q965052",
}
m["pregrc"] = m["qfa-sub-grc"]

m["grc-boi"] = {
	"ဂရေတ် ဗဳယိုဝ်ဃှေန်",
	406373,
	"grc-aeo",
}

m["grc-koi"] = {
	canonicalName = "ဂရေတ် ခါဝ်အိန်",
	--otherNames = {"Hellenistic Greek"},
	parent = "grc",
	wikidata_item = "Q107358",
}
m["Koine"] = m["grc-koi"]

m["gkm"] = {
    canonicalName = "ဂရေတ် ၜါန်သေန်တိုင်",
	otherNames = {"Medieval Greek"},
	parent = "grc",
	wikidata_item = "Q36387",
}
m["Medieval Greek"] = m["gkm"]

m["grc-dor"] = {
	"ဂရေတ် ဒေါန်ရေက်",
	285494,
	"grc",
}

m["grc-att"] = {
	"ဂရေတ် အာတ်ဒေတ်",
	506588,
	"grc",
}

m["grc-ion"] = {
	"Ionic Greek",
	504165,
	"grc",
}

m["grc-pam"] = {
	"Pamphylian Greek",
	2271793,
	"grc",
}

m["grc-kre"] = { -- code used elsewhere: see [[Module:grc:Dialects]]
	"Cretan Ancient Greek", -- to distinguish from Cretan Greek below
	nil,
	"grc-dor",
}

m["grc-arp"] = {
	"Arcadocypriot Greek",
	499602,
	"grc",
}

m["grc-arc"] = {
	"Arcadian Greek",
	nil,
	"grc-arp",
}

m["el-cyp"] = {
	"Cypriot Greek",
	nil,
	"el",
	aliases = {"Cypriotic Greek"},
}

m["el-pap"] = {
	"Paphian Greek",
	nil,
	"el",
}

m["grc-aeo"] = {
	"Aeolic Greek",
	406373,
	"grc",
	aliases = {"Lesbic Greek", "Lesbian Greek", "Aeolian Greek"},
}

m["loc-ozo"] = {
	"Ozolian Locrian",
	nil,
	"grc",
}

m["loc-opu"] = {
	"Opuntian Locrian",
	nil,
	"grc",
}

m["grc-ths"] = {
	"Thessalian Greek",
	406373,
	"grc-aeo",
}

m["grc-ela"] = {
	"Elean Greek",
	nil,
	"grc",
}

m["grc-epc"] = {
	"Epic Greek",
	990062,
	"grc",
	aliases = {"Homeric Greek"},
}

m["el-crt"] = {
	"Cretan Greek",
	588306,
	"el",
}

m["el-kth"] = {
	"Katharevousa",
	31035762,
	"el",
	aliases = {"Katharevousa Greek"},
}


-- Hebrew varieties

m["hbo"] = {
	canonicalName = "ဟဳဘရဝ် ပြကိုဟ်သၠပတ်",
	otherNames = {"Classical Hebrew"},
	parent = "he",
	wikidata_item = "Q1982248",
}

m["he-mis"] = {
	"ဟဳဘရဝ် မေတ်ချနာအေတ်",
	1649362,
	"he",
}

m["he-med"] = {
	"ဟဳဘရဝ် ခေတ်လဒေါဝ်",
	2712572,
	"he",
}

m["he-IL"] = {
	"ဟဳဘရဝ် အေတ်သဝါလဳ",
	8141,
	"he",
}

m["bsh-kat"] = {
	canonicalName = "ကာတဳဝဳရဳ",
	parent = "bsh",
	wikidata_item = "Q2605045",
}

m["bsh-kam"] = {
	canonicalName = "ကာမ်ဝဳရဳ",
	parent = "bsh",
	wikidata_item = "Q1193495",
	aliases = {"Kamvíri"},
}
alias_codes("bsh-kam", {"xvi"})

m["bsh-mum"] = {
	"Mumviri",
	nil,
	aliases = {"Mumvíri"},
	"bsh"
}

-- Iranian varieties:

m["qfa-sub-bma"] = {
	"ဗါတ်တဳရဳယျာ–မာဂျဳယျာနာ အပၠဴ",
	1054850,
	"qfa-sub",
}

-- Historical and current Iranian dialects

m["ae-old"] = {
	canonicalName = "အဗါတ်သတေန်တြေံ",
	parent = "ae",
	aliases = {"Gathic Avestan"},
}

m["ae-yng"] = {
	canonicalName = "အဗါတ်သတေန်အဝဲဍောတ်",
	parent = "ae-old",
	wikidata_item = "Q29572",
	aliases = {"Young Avestan"},
}

m["bcc"] = {
	"Southern Balochi",
	33049,
	"bal",
	aliases = {"Southern Baluchi"},
}
alias_codes("bcc", {"bal-sou"})

m["bgp"] = {
	"Eastern Balochi",
	33049,
	"bal",
	aliases = {"Eastern Baluchi"},
}
alias_codes("bgp", {"bal-eas"})

m["bgn"] = {
	"Western Balochi",
	33049,
	"bal",
	aliases = {"Western Baluchi"},
}
alias_codes("bgn", {"bal-wes"})

m["bgn"] = {
	"Western Balochi",
	nil,
	"bal",
	aliases = {"Western Baluchi"},
}

m["bsg-ban"] = {
	"Bandari",
	nil,
	"bsg",
}

m["bsg-bas"] = {
	"Bashkardi",
	nil,
	"bsg",
}

m["bsg-hor"] = {
	"Hormozi",
	nil,
	"bsg",
}

m["bsg-min"] = {
	"Minabi",
	nil,
	"bsg",
}

m["ira-mid"] = {
	"အဳရာန်အဒေါဝ်",
	6841465,
	"ira",
	alias_codes = {"MIr."}
}

m["ira-old"] = {
	canonicalName = "အဳရာန်တြေံ",
	otherNames = {"Old Iranian languages"},
	parent = "ira",
	wikidata_item = "Q23301845",
}
m["Old Iranian languages"] = m["OIr."]

m["kho-old"] = {
	canonicalName = "ခဝ်တာန်နေတ်ဇြဳတြေံ",
	parent = "kho",
}


m["kho-lat"] = {
	canonicalName = "ခဝ်တာန်နေတ်ဇြဳလဇုဲ",
	parent = "kho-old",
}

m["peo-ear"] = {
	"Early Old Persian",
	nil,
	"peo",
}

m["peo-lat"] = {
	"Late Old Persian",
	nil,
	"peo",
}

m["pal-ear"] = {
	"Early Middle Persian",
	nil,
	"pal",
}

m["pal-lat"] = {
	"Late Middle Persian",
	nil,
	"pal",
}

m["ps-nwe"] = {
	"Northwestern Pashto",
	nil,
	"ps",
}

m["ps-cgi"] = {
	"Central Ghilzay",
	nil,
	"ps-nwe",
}

m["ps-mah"] = {
	"Mahsudi",
	nil,
	"ps-nwe",
}

m["ps-nea"] = {
	"Northeastern Pashto",
	nil,
	"ps",
}

m["ps-afr"] = {
	"Afridi",
	nil,
	"ps-nea",
}

m["ps-bng"] = {
	"Bangash",
	nil,
	"ps-nea",
}


m["ps-xat"] = {
	"Khatak",
	nil,
	"ps-nea",
}

m["ps-pes"] = {
	"Peshawari",
	nil,
	"ps-nea",
}

m["ps-sea"] = {
	"Southeastern Pashto",
	nil,
	"ps",
}

m["ps-ban"] = {
	"Bannu",
	nil,
	"ps-sea",
}

m["ps-kak"] = {
	"Kakari",
	nil,
	"ps-sea",
}

m["ps-ser"] = {
	"Sher",
	nil,
	"ps-sea",
}

m["ps-waz"] = {
	"Waziri",
	12274473,
	"ps-sea",
}

m["ps-swe"] = {
	"Southwestern Pashto",
	nil,
	"ps",
}

m["ps-kan"] = {
	"Kandahari",
	nil,
	"ps-swe",
}

m["ps-jad"] = {
	"Jadrani",
	nil,
	"ps",
}

m["xme-azr"] = {
	"Old Azari",
	nil,
	"xme-ott",
	aliases = {"Old Azeri", "Azari", "Azeri", "Āḏarī", "Adari", "Adhari"},
}

m["xme-ttc-cen"] = {
	"Central Tati",
	nil,
	"xme-ott",
}

m["xme-ttc-eas"] = {
	"Eastern Tati",
	nil,
	"xme-ott",
}

m["xme-ttc-nor"] = {
	"Northern Tati",
	nil,
	"xme-ott",
}

m["xme-ttc-sou"] = {
	"Southern Tati",
	nil,
	"xme-ott",
}

m["xme-ttc-wes"] = {
	"Western Tati",
	nil,
	"xme-ott",
}

m["xmn"] = {
	"ပါရှေန်မနဳချေန်အဒေါဝ်",
	nil,
	"pal",
}

m["fa-ira"] = {
	"ပါရှေန် အဳရာန်",
	3513637,
	"fa",
	aliases = {"Modern Persian", "Western Persian"},
}

m["fa-cls"] = {
	canonicalName = "ပါရှေန်ဝင်ဂန္ထ",
	parent = "fa",
	wikidata_item = "Q9168",
}

m["prs"] = {
	canonicalName = "ဒါရဳ",
	otherNames = {"Dari Persian", "Eastern Persian", "Afghan Persian"},
	parent = "fa",
	wikidata_item = "Q178440",
}

m["os-dig"] = {
	canonicalName = "ဒိကိုဝ်",
	parent = "os",
	wikidata_item = "Q3027861",
	aliases = {"Digoron"},
}

m["os-iro"] = {
	canonicalName = "အာဲရာန်",
	parent = "os",
}

m["sog-ear"] = {
	"Early Sogdian",
	nil,
	"sog",
}

m["sog-lat"] = {
	"Late Sogdian",
	nil,
	"sog-ear",
}

m["oru-kan"] = {
	"Kaniguram",
	6363164,
	"oru",
}

m["oru-log"] = {
	"Logar",
	nil,
	"oru",
}

m["oos-ear"] = {
	"Early Old Ossetic",
	nil,
	"oos",
}

m["oos-lat"] = {
	"Late Old Ossetic",
	nil,
	"oos",
}

m["xln"] = {
	"Alanic",
	3658580,
	"oos",
}

m["rdb-rud"] = {
	"Rudbari",
	nil,
	"rdb",
}

m["rdb-jir"] = {
	"Jirofti",
	nil,
	"rdb",
}

m["rdb-kah"] = {
	"Kahnuji",
	nil,
	"rdb",
}

-- Southwestern Fars lects

m["fay-bur"] = {
	"Burenjani",
	nil,
	"fay",
}

m["fay-bsh"] = {
	"Bushehri",
	nil,
	"fay",
}

m["fay-dsh"] = {
	"Dashtaki",
	nil,
	"fay",
}

m["fay-dav"] = {
	"Davani",
	5228140,
	"fay",
}

m["fay-eze"] = {
	"Emamzada Esma’ili",
	nil,
	"fay",
}

m["fay-gav"] = {
	"Gavkoshaki",
	nil,
	"fay",
}

m["fay-kho"] = {
	"Khollari",
	nil,
	"fay",
}

m["fay-kon"] = {
	"Kondazi",
	nil,
	"fay",
}

m["fay-kzo"] = {
	"Old Kazeruni",
	nil,
	"fay",
}

m["fay-mas"] = {
	"Masarami",
	nil,
	"fay",
}

m["fay-pap"] = {
	"Papuni",
	nil,
	"fay",
}

m["fay-sam"] = {
	"Samghani",
	nil,
	"fay",
}

m["fay-shr"] = {
	"Shirazi",
	nil,
	"fay",
}

m["fay-sho"] = {
	"Old Shirazi",
	nil,
	"fay",
}

m["fay-sam"] = {
	"Samghani",
	nil,
	"fay",
}

m["fay-kar"] = {
	"Khargi",
	nil,
	"fay",
}

m["fay-sor"] = {
	"Sorkhi",
	nil,
	"fay",
}

-- Talysh lects

m["tly-cen"] = {
	"Central Talysh",
	nil,
	"tly",
}

m["tly-asa"] = {
	"Asalemi",
	nil,
	"tly-cen",
}

m["tly-kar"] = {
	"Karganrudi",
	nil,
	"tly-cen",
}

m["tly-tul"] = {
	"Tularudi",
	nil,
	"tly-cen",
}

m["tly-tal"] = {
	"Taleshdulabi",
	nil,
	"tly-cen",
}

m["tly-nor"] = {
	"Northern Talysh",
	nil,
	"tly",
}

m["tly-aze"] = {
	"Azerbaijani Talysh",
	nil,
	"tly-nor",
}

m["tly-anb"] = {
	"Anbarani",
	nil,
	"tly-nor",
}

m["tly-sou"] = {
	"Southern Talysh",
	nil,
	"tly",
}

m["tly-fum"] = {
	"Fumani",
	nil,
	"tly-sou",
}

m["tly-msu"] = {
	"Masulei",
	nil,
	"tly-sou",
}

m["tly-msa"] = {
	"Masali",
	nil,
	"tly-sou",
}

m["tly-san"] = {
	"Shandarmani",
	nil,
	"tly-sou",
}

-- Tafreshi lects

m["xme-amo"] = {
	"Amorehi",
	nil,
	"xme-taf",
}

m["xme-ast"] = {
	"Ashtiani",
	3436590,
	"xme-taf",
	wikipedia_article = "Ashtiani language",
}
alias_codes("xme-ast", {"atn"})

m["xme-bor"] = {
	"Borujerdi",
	nil,
	"xme-taf",
}

m["xme-ham"] = {
	"Hamadani",
	6302426,
	"xme-taf",
}

m["xme-kah"] = {
	"Kahaki",
	nil,
	"xme-taf",
}

m["xme-vaf"] = {
	"Vafsi",
	32611,
	"xme-taf",
}
alias_codes("xme-vaf", {"vaf"})

-- Kermanic lects

m["xme-xun"] = {
	"Khunsari",
	6403030,
	"xme-ker",
	wikipedia_article = "Khunsari language",
}
alias_codes("xme-xun", {"kfm"})

m["xme-mah"] = {
	"Mahallati",
	nil,
	"xme-ker",
}

m["xme-von"] = {
	"Vonishuni",
	nil,
	"xme-ker",
}

m["xme-bdr"] = {
	"Badrudi",
	nil,
	"xme-ker",
}

m["xme-del"] = {
	"Delijani",
	nil,
	"xme-ker",
}

m["xme-kas"] = {
	"Kashani",
	nil,
	"xme-ker",
}

m["xme-kes"] = {
	"Kesehi",
	nil,
	"xme-ker",
}

m["xme-mey"] = {
	"Meymehi",
	nil,
	"xme-ker",
}

m["xme-nat"] = {
	"Natanzi",
	6968399,
	"xme-ker",
	wikipedia_article = "Natanzi language",
}
alias_codes("xme-nat", {"ntz"})

m["xme-abz"] = {
	"Abuzeydabadi",
	nil,
	"xme-ker",
}

m["xme-aby"] = {
	"Abyanehi",
	nil,
	"xme-ker",
}

m["xme-far"] = {
	"Farizandi",
	nil,
	"xme-ker",
}

m["xme-jow"] = {
	"Jowshaqani",
	nil,
	"xme-ker",
}

m["xme-nas"] = {
	"Nashalji",
	nil,
	"xme-ker",
}

m["xme-qoh"] = {
	"Qohrudi",
	nil,
	"xme-ker",
}

m["xme-yar"] = {
	"Yarandi",
	nil,
	"xme-ker",
}

m["xme-soi"] = {
	"Soi",
	7930463,
	"xme-ker",
	aliases = {"Sohi"},
	wikipedia_article = "Soi language",
}
alias_codes("xme-soi", {"soj"})

m["xme-tar"] = {
	"Tari",
	nil,
	"xme-ker",
}

m["xme-gaz"] = {
	"Gazi",
	5529130,
	"xme-ker",
	wikipedia_article = "Gazi language",
}
alias_codes("xme-gaz", {"gzi"})

m["xme-sed"] = {
	"Sedehi",
	nil,
	"xme-ker",
}

m["xme-ard"] = {
	"Ardestani",
	nil,
	"xme-ker",
}

m["xme-zef"] = {
	"Zefrehi",
	nil,
	"xme-ker",
}

m["xme-isf"] = {
	"Isfahani",
	nil,
	"xme-ker",
}

m["xme-kaf"] = {
	"Kafroni",
	nil,
	"xme-ker",
}

m["xme-vrz"] = {
	"Varzenehi",
	nil,
	"xme-ker",
}

m["xme-xur"] = {
	"Khuri",
	nil,
	"xme-ker",
}

m["xme-nay"] = {
	"Nayini",
	6983146,
	"xme-ker",
	wikipedia_article = "Nayini language",
}
alias_codes("xme-nay", {"nyq"})

m["xme-ana"] = {
	"Anaraki",
	nil,
	"xme-ker",
}

m["xme-dar"] = {
	"Zoroastrian Dari",
	32389,
	"xme-ker",
	aliases = {"Behdināni", "Gabri", "Gavrŭni", "Gabrōni"},
	wikipedia_article = "Zoroastrian Dari language",
}
alias_codes("xme-dar", {"gbz"})

m["xme-krm"] = {
	"Kermani",
	nil,
	"xme-ker",
}

m["xme-yaz"] = {
	"Yazdi",
	nil,
	"xme-ker",
}

m["xme-bid"] = {
	"Bidhandi",
	nil,
	"xme-ker",
}

m["xme-bij"] = {
	"Bijagani",
	nil,
	"xme-ker",
}

m["xme-cim"] = {
	"Chimehi",
	nil,
	"xme-ker",
}

m["xme-han"] = {
	"Hanjani",
	nil,
	"xme-ker",
}

m["xme-kom"] = {
	"Komjani",
	nil,
	"xme-ker",
}

m["xme-nar"] = {
	"Naraqi",
	nil,
	"xme-ker",
}

m["xme-nus"] = {
	"Nushabadi",
	nil,
	"xme-ker",
}

m["xme-qal"] = {
	"Qalhari",
	nil,
	"xme-ker",
}

m["xme-trh"] = {
	"Tarehi",
	nil,
	"xme-ker",
}

m["xme-val"] = {
	"Valujerdi",
	nil,
	"xme-ker",
}

m["xme-var"] = {
	"Varani",
	nil,
	"xme-ker",
}

m["xme-zor"] = {
	"Zori",
	nil,
	"xme-ker",
}

-- Ramandi lects

m["tks-ebr"] = {
	"Ebrahimabadi",
	nil,
	"tks",
}

m["tks-sag"] = {
	"Sagzabadi",
	nil,
	"tks",
}

m["tks-esf"] = {
	"Esfarvarini",
	nil,
	"tks",
}

m["tks-tak"] = {
	"Takestani",
	nil,
	"tks",
}

m["tks-cal"] = {
	"Chali",
	nil,
	"tks",
	aliases = {"Chāli"},
	wikipedia_article = "Tati language (Iran)",
}

m["tks-dan"] = {
	"Danesfani",
	nil,
	"tks",
}

m["tks-xia"] = {
	"Khiaraji",
	nil,
	"tks",
}

m["tks-xoz"] = {
	"Khoznini",
	nil,
	"tks",
}

-- Shughni dialects

m["sgh-bro"] = {
	"Bartangi-Oroshori",
	nil,
	"sgh",
}

m["sgh-bar"] = {
	"Bartangi",
	nil,
	"sgh-bro",
}

m["sgh-oro"] = {
	"Oroshori",
	nil,
	"sgh-bro",
	aliases = {"Roshorvi"},
}

m["sgh-rsx"] = {
	"Roshani-Khufi",
	nil,
	"sgh",
}

m["sgh-xuf"] = {
	"Khufi",
	2562249,
	"sgh-rsx",
	aliases = {"Xufi", "Xūfī"},
	wikipedia_article = "Khufi language",
}

m["sgh-ros"] = {
	"Roshani",
	2597566,
	"sgh-rsx",
	aliases = {"Rushani", "Rōšāni"},
	wikipedia_article = "Rushani language",
}

m["sgh-xgb"] = {
	"Khughni-Bajui",
	nil,
	"sgh",
}

m["sgh-xug"] = {
	"Khughni",
	nil,
	"sgh-xgb",
}

m["sgh-baj"] = {
	"Bajui",
	nil,
	"sgh-xgb",
}

-- Indo-Aryan varieties

m["inc-mit"] = {
	"Mitanni",
	1986700,
	"inc-pro",
}

m["awa-old"] = {
	"Old Awadhi",
	nil,
	"awa",
}

m["bra-old"] = {
	"Old Braj",
	nil,
	"bra",
}

m["gu-kat"] = {
	"Kathiyawadi",
	nil,
	"gu",
	aliases = {"Kathiyawadi Gujarati", "Kathiawadi"},
}

m["gu-lda"] = {
	"Lisan ud-Dawat Gujarati",
	nil,
	"gu",
	aliases = {"Lisan ud-Dawat", "LDA"},
}

m["hi-mum"] = {
	"Bombay Hindi",
	3543151,
	"hi",
	aliases = {"Mumbai Hindi", "Bambaiyya Hindi"},
}

m["hi-mid"] = {
	"Middle Hindi",
	nil,
	"hi",
}

m["sa-bhs"] = {
	"Buddhist Hybrid Sanskrit",
	248758,
	"sa",
}

m["sa-bra"] = {
	"Brahmanic Sanskrit",
	36858,
	"sa",
}

m["sa-cls"] = {
	"Classical Sanskrit",
	11059,
	"sa",
}

m["sa-neo"] = {
	"New Sanskrit",
	11059,
	"sa",
}

m["sa-ved"] = {
	"Vedic Sanskrit",
	36858,
	"sa",
}

m["si-med"] = {
	"Medieval Sinhalese",
	nil,
	"si",
	aliases = {"Medieval Sinhala"},
}

m["kok-mid"] = {
	"Middle Konkani",
	nil,
	"kok",
	aliases = {"Medieval Konkani"},
}

m["kok-old"] = {
	"Old Konkani",
	nil,
	"kok",
	aliases = {"Early Konkani"},
}


-- Indian subcontinent languages


-- Dhivehi varieties

m["mlk-dv"] = {
	"Mulaku Dhivehi",
	nil,
	"dv",
	aliases = {"Mulaku Divehi", "Mulaku Bas"},
}

m["hvd-dv"] = {
	"Huvadhu Dhivehi",
	nil,
	"dv",
	aliases = {"Huvadhu Divehi", "Huvadhu Bas"},
}

m["add-dv"] = {
	"Addu Dhivehi",
	nil,
	"dv",
	aliases = {"Addu Divehi", "Addu Bas"},
}


-- Dravidian varieties


m["ta-mid"] = {
	canonicalName = "တမဳလ်အဒေါဝ်",
	parent = "ta",
	wikidata_item = "Q20987434",
}

m["kn-hav"] = {
	canonicalName = "ဟာတ်ဝဳကာန်နာဒါ",
	parent = "kn",
	wikidata_item = "Q24276369",
}

m["kn-kun"] = {
	canonicalName = "ခုန်ဒါကာန်နာဒါ",
	parent = "kn",
		wikidata_item = "Q6444255",
}

-- Prakrits
m["pra-ard"] = {
	"Ardhamagadhi Prakrit",
	35217,
	"inc-pra",
	aliases = {"Ardhamagadhi"},
}

m["pra-hel"] = {
	"Helu Prakrit",
	15080869,
	"inc-pra",
	aliases = {"Elu", "Elu Prakrit", "Helu"},
}

m["pra-kha"] = {
	canonicalName = "ခါဿာ  ပရာကရေတ်",
	parent = "inc-pra",
	aliases = {"Khasa"},
}

m["pra-mag"] = {
	"Magadhi Prakrit",	
	2652214,
	"inc-pra",
	aliases = {"Magadhi"},
}

m["pra-mah"] = {
	canonicalName = "မဟာရာတ်ထရဳ ပရာကရေတ်",
	parent = "inc-pra",
	wikidata_item = "Q2586773",
	otherNames = {"Maharashtri Prakrit", "Maharastri", "Maharashtri"},
}

m["pra-pai"] = {
	"Paisaci Prakrit",
	2995607,
	"inc-pra",
	ancestors = "inc-ash",
	aliases = {"Paisaci", "Paisachi"},
}

m["pra-sau"] = {
	canonicalName = "သောရာသေနဳ ပရာကရေတ်",
	parent = "inc-pra",
	aliases = {"Sauraseni", "Shauraseni"},
		wikidata_item = "Q2452885",
}

m["pra-ava"] = {
	"Avanti",
	nil,
	"inc-pra",
	aliases = {"Avanti Prakrit"},
}

m["pra-pra"] = {
	"Pracya",
	nil,
	"inc-pra",
	aliases = {"Pracya Prakrit"},
}

m["pra-bah"] = {
	"Bahliki",
	nil,
	"inc-pra",
	aliases = {"Bahliki Prakrit"},
}

m["pra-dak"] = {
	"Daksinatya",
	nil,
	"inc-pra",
	aliases = {"Daksinatya Prakrit"},
}

m["pra-sak"] = {
	"Sakari",
	nil,
	"inc-pra",
	aliases = {"Sakari Prakrit"},
}

m["pra-can"] = {
	"Candali",
	nil,
	"inc-pra",
	aliases = {"Candali Prakrit"},
}

m["pra-sab"] = {
	"Sabari",
	nil,
	"inc-pra",
	aliases = {"Sabari Prakrit"},
}

m["pra-abh"] = {
	"Abhiri",
	nil,
	"inc-pra",
	aliases = {"Abhiri Prakrit"},
}

m["pra-dra"] = {
	"Dramili",
	nil,
	"inc-pra",
	aliases = {"Dramili Prakrit"},
}

m["pra-odr"] = {
	"Odri",
	nil,
	"inc-pra",
	aliases = {"Odri Prakrit"},
}

m["inc-pka"] = {
	canonicalName = "အာဓါမ်မဂါဒဳ ပရာကရေတ်",
		wikidata_item = "Q35217",
	parent = "inc-pra",
	aliases = {"Ardhamagadhi"},
}

m["inc-elu"] = {
	"Helu Prakrit",
	15080869,
	"inc-pra",
	aliases = {"Elu", "Elu Prakrit", "Helu"},
}

m["inc-khs"] = {
	"Khasa Prakrit",
	nil,
	"inc-pra",
	aliases = {"Khasa"},
}

m["inc-pmg"] = {
	"Magadhi Prakrit",	
	2652214,
	aliases = {"Magadhi"},
	"inc-pra",
}

m["inc-pmh"] = {
	"Maharastri Prakrit",
	2586773,
	"inc-pra",
	aliases = {"Maharashtri Prakrit", "Maharastri", "Maharashtri"},
}

m["inc-psi"] = {
	"Paisaci Prakrit",
	2995607,
	"inc-pra",
	aliases = {"Paisaci", "Paisachi"},
}

m["inc-pse"] = {
	"Sauraseni Prakrit",
	2452885,
	"inc-pra",
	aliases = {"Sauraseni", "Shauraseni"},
}

m["prk-avt"] = {
	"Avanti",
	nil,
	"inc-pra",
	aliases = {"Avanti Prakrit"},
}

m["prc-prk"] = {
	"Pracya",
	nil,
	"inc-pra",
	aliases = {"Pracya Prakrit"},
}

m["bhl-prk"] = {
	"Bahliki",
	nil,
	"inc-pra",

	aliases = {"Bahliki Prakrit"},
}

m["dks-prk"] = {
	"Daksinatya",
	nil,
	"inc-pra",
	aliases = {"Daksinatya Prakrit"},
}

m["skr-prk"] = {
	"Sakari",
	nil,
	"inc-pra",
	aliases = {"Sakari Prakrit"},
}

m["cnd-prk"] = {
	"Candali",
	nil,
	"inc-pra",
	aliases = {"Candali Prakrit"},
}

m["sbr-prk"] = {
	"Sabari",
	nil,
	"inc-pra",
	aliases = {"Sabari Prakrit"},
}

m["abh-prk"] = {
	"Abhiri",
	nil,
	"inc-pra",
	aliases = {"Abhiri Prakrit"},
}

m["drm-prk"] = {
	"Dramili",
	nil,
	"inc-pra",
	aliases = {"Dramili Prakrit"},
}

m["odr-prk"] = {
	"Odri",
	nil,
	"inc-pra",
	aliases = {"Odri Prakrit"},
}


-- Italian, Latin and other Italic varieties

m["it-oit"] = {
	"အဳတလဳတြေံ",
	652,
	"it",
	ancestral_to_parent = true,
}
alias_codes("it-oit", {"roa-oit"})

m["it-CH"] = {
	"Switzerland Italian",
	672147,
	"it",
}
alias_codes("it-CH", {"Swiss Italian", "Switzerland Italian"})

-- Latin varieties by period

m["itc-ola"] = {
	"Old Latin",
	12289,
	"la",
	ancestral_to_parent = true,
}

m["la-cla"] = {
	"Classical Latin",
	253854,
	"la",
}
alias_codes("la-cla", {"Classical Latin", "CL.", "CL"})

m["la-lat"] = {
	canonicalName = "လပ်တေန်လဇုဲ",
	parent = "la",
	wikidata_item = "Q1503113",
}
m["Late Latin"] = m["la-lat"]
m["LL."] = m["la-lat"]
m["LL"] = m["la-lat"]

m["la-vul"] = {
	canonicalName = "လပ်တေန်အရိုင်",
	parent = "la",
	wikidata_item = "Q37560",
}
m["Vulgar Latin"] = m["la-vul"]
m["VL."] = m["la-vul"]

m["la-med"] = {
	canonicalName = "လပ်တေန် ခေတ်လဒေါဝ်",
	parent = "la",
	wikidata_item = "Q1163234",
}
m["Medieval Latin"] = m["la-med"]
m["ML."] = m["la-med"]
m["ML"] = m["la-med"]

m["la-ecc"] = {
	"Ecclesiastical Latin",
	1247932,
	"la-lat",
	aliases = {"Church Latin"},
}
alias_codes("la-ecc", {"Ecclesiastical Latin", "EL.", "EL"})

m["la-ren"] = {
	"Renaissance Latin",
	499083,
	"la-med",
}
alias_codes("la-ren", {"Renaissance Latin", "RL.", "RL"})

m["la-new"] = {
	"New Latin",
	1248221,
	"la-ren",
	aliases = {"Modern Latin"},
}
alias_codes("la-new", {"New Latin", "NL.", "NL"})

-- other Italic lects

m["osc-luc"] = {
	"Lucanian",
	nil,
	"osc",
}

m["osc-sam"] = {
	"Samnite",
	nil,
	"osc",
}

m["xum-her"] = {
	"Hernician",
	nil,
	"xum",
}


-- Malay and related varieties

m["ms-old"] = {
    canonicalName = "မလေဝ်တြေံ",
	parent = "ms",
}

m["ms-cla"] = {
    canonicalName = "မလေဝ် ဝင်ဂန္တ",
	parent = "ms",
	ancestral_to_parent = true,
}

m["pse-bsm"] = {
	"Besemah",
	nil,
	"pse",
}

m["bew-kot"] = {
	"Betawi Kota",
	nil,
	"bew",
}

m["bew-ora"] = {
	"Betawi Ora",
	nil,
	"bew",
}

m["bew-udi"] = {
	"Betawi Udik",
	nil,
	"bew",
}


-- Mongolic lects

m["xng-ear"] = {
	"Early Middle Mongol",
	nil,
	"xng",
}

m["xng-lat"] = {
	"Late Middle Mongol",
	nil,
	"xng",
}

m["mn-kha"] = {
	"Khalkha Mongolian",
	6399808,
	"mn",
	aliases = {"Khalkha"},
}

m["mn-ord"] = {
	"Ordos Mongolian",
	716904,
	"mn",
	aliases = {"Ordos"},
}

m["mn-cha"] = {
	"Chakhar Mongolian",
	907425,
	"mn",
	aliases = {"Chakhar"},
}

m["mn-khr"] = {
	"Khorchin Mongolian",
	3196210,
	"mn",
	aliases = {"Khorchin"},
}

-- Japanese varieties

m["ja-mid"] = {
	"Middle Japanese",
	6841474,
	"ojp",
}

m["ja-mid-ear"] = {
	"Early Middle Japanese",
	182695,
	"ja-mid",
}

m["ja-mid-lat"] = {
	"Late Middle Japanese",
	1816184,
	"ja-mid",
}

m["ja-ear"] = {
	"Early Modern Japanese",
	5326692,
	"ja",
}

-- Kartvelian varieties


m["ka-mid"] = {
	"Middle Georgian",
	nil,
	"ka",
	ancestral_to_parent = true,
}

-- Korean varieties

m["oko-lat"] = {
	"Late Old Korean",
	nil,
	"oko",
}

m["okm-ear"] = {
	"Early Middle Korean",
	nil,
	"okm",
}

m["ko-c"] = {
	"Central Korean",
	nil,
	"ko",
}

m["ko-se"] = {
	"Southeastern Korean",
	nil,
	"ko",
}

m["ko-sw"] = {
	"Southwestern Korean",
	nil,
	"ko",
}

m["ko-nw"] = {
	"Northwestern Korean",
	nil,
	"ko",
}

m["ko-ne"] = {
	"Northeastern Korean",
	nil,
	"ko",
}

m["ko-yuk"] = {
	"Yukjin Korean",
	nil,
	"ko",
}

-- Occitan varieties

m["oc-auv"] = {
	"Auvergnat",
	35359,
	"oc",
	aliases = {"Auvernhat", "Auvergnese"},
}

m["oc-gas"] = {
	canonicalName = "ဂေါသ်သကာန်",
	parent = "oc",
	aliases = {"Gascon"},
	wikidata_item = 35735,
}

-- standardized dialect of Gascon
m["oc-ara"] = {
	"Aranese",
	10196,
	"oc-gas",
}

m["oc-lan"] = {
	canonicalName = "လာမ်ဂဝေအ်ဒံက်ဃှေန်",
	aliases = {"Longuedoc dialect", "Languedocien", "Lengadocian"},
	parent = "oc",
	wikidata_item = 942602,
}

m["oc-lim"] = {
	"Limousin",
	427614,
	"oc",
}

m["oc-pro"] = {
	"Provençal",
	241243,
	"oc",
	aliases = {"Provencal"},
}

alias_codes("oc-pro", {"prv"})

m["oc-pro-old"] = {
	"Old Provençal",
	2779185,
	"pro",
}

m["oc-viv"] = {
	"Vivaro-Alpine",
	1649613,
	"oc",
}

m["oc-jud"] = {
	"Shuadit",
	56472,
	"oc",
	aliases = {
		"Chouhadite", "Chouhadit", "Chouadite", "Chouadit", "Shuhadit",
		"Judeo-Occitan", "Judæo-Occitan", "Judaeo-Occitan",
		"Judeo-Provençal", "Judæo-Provençal", "Judaeo-Provençal",
		"Judeo-Provencal", "Judaeo-Provencal",
		"Judeo-Comtadin", "Judæo-Comtadin", "Judaeo-Comtadin",
	},
}

-- Oromo varieties

m["hae"] = {
	"Harar Oromo",
	5330355,
	"om",
	aliases = {"Eastern Oromo"},
}

m["gax"] = {
	"Borana",
	2910610,
	"om",
	aliases = {"Southern Oromo"},
}

m["orc"] = {
	"Orma",
	2919128,
	"om",
}

m["ssn"] = {
	"Waata",
	3501553,
	"om",
}

-- Phillipine varieties

m["tl-old"] = {
	"Old Tagalog",
	12967437,
	"tl",
}

m["tl-cls"] = {
	"Classical Tagalog",
	nil,
	"tl",
}


-- Pre-Roman substrates

m["qfa-sub-ibe"] = {
	"a pre-Roman substrate of Iberia",
	530799,
	"qfa-sub",
}

m["qfa-sub-bal"] = {
	"a pre-Roman substrate of the Balkans",
	1815070,
	"qfa-sub",
}

-- Sardinian varieties

m["sc-src"] = {
	"Logudorese",
	777974,
	"sc",
	aliases = {"Logudorese Sardinian"},
}

m["sc-nuo"] = {
	"Nuorese",
	nil,
	"sc-src",
	aliases = {"Nuorese Sardinian"},
}

m["sc-sro"] = {
	"Campidanese",
	35348,
	"sc",
	aliases = {"Campidanese Sardinian"},
}

-- Rwanda-Rundi varieties

m["rw-kin"] = {
	"ခေါန်ယျာဝါန်ဒါ",
	33573,
	"rw",
	aliases = {"Rwanda"},
}

m["rw-run"] = {
	"Kirundi",
	33583,
	"rw",
	aliases = {"Rundi"},
}

-- Slavic varieties

m["cs-ear"] = {
	"Early Modern Czech",
	nil,
	"cs",
}

m["cu-bgm"] = {
	"Middle Bulgarian",
	12294897,
	"cu",
}

m["zle-mru"] = {
	"Middle Russian",
	35228,
	"ru",
	ancestral_to_parent = true,
}
alias_codes("zle-mru", {"zle-oru"})

m["zle-obe"] = {
	"Old Belarusian",
	13211,
	"zle-ort",
}

m["zle-ouk"] = {
	"Old Ukrainian",
	13211,
	"zle-ort",
}

-- Serbo-Croatian varieties

m["sh-cha"] = {
	"Chakavian Serbo-Croatian",
	337565,
	"sh",
	aliases = {"Čakavian"},
}
alias_codes("sh-cha", {"ckm"}) -- ISO 639-3 code

m["sh-kaj"] = {
	"Kajkavian Serbo-Croatian",
	838165,
	"sh",
}
alias_codes("sh-kaj", {"kjv"}) -- ISO 639-3 code

m["sh-tor"] = { -- Linguist code srp-tor
	"Torlakian Serbo-Croatian",
	1078803,
	"sh",
	aliases = {"Torlak"},
}

-- Tibetic lects

m["adx"] = {
	"Amdo Tibetan",
	56509,
	"bo",
}

m["kbg"] = {
	"Khamba",
	12952626,
	"bo",
}

m["khg"] = {
	"Khams Tibetan",
	56601,
	"bo",
}

m["tsk"] = {
	"Tseku",
	11159532,
	"bo",
}

-- Tuareg lects

m["thv"] = {
	"Tamahaq",
	56703,
	"tmh",
}

m["ttq"] = {
	"Tawellemmet",
	56390,
	"tmh",
}

m["taq"] = {
	"Tamasheq",
	4670066,
	"tmh",
}

m["thz"] = {
	"Tayert",
	56388,
	"tmh",
}

m["tmh-ght"] = {
	"Ghat",
	47012900,
	"tmh",
	wikipedia_article = "Tamahaq language",
}

-- Turkic lects

m["trk-cmn"] = {
	canonicalName = "တာခ်ကေတ် သာမည",
	otherNames = {"Common Turkic"},
	parent = "trk-pro",
	wikidata_item = "Q1126028",
}


m["trk-ogz-pro"] = {
	canonicalName = "အဝ်ဂေါတ်-အခိုက်ကၞာ",
	otherNames = {"Southwestern Common Turkic"},
	parent = "trk-pro",
	ancestors = {"trk-pro"},
	wikidata_item = "Q494600",
}

m["otk-kir"] = {
	"Old Kirghiz",
	83142,
	"otk",
}

m["klj-arg"] = {
	"Arghu",
	33455,
	"klj",
}

m["qwm-arm"] = {
    canonicalName = "ခေတ်ချေသ်-အာမဳနဝ်",
	parent = "qwm",
	wikidata_item = 2027503,
}

m["qwm-mam"] = {
    canonicalName = "ခေတ်ချေသ်-မါန်ဋ္ဌူ",
	parent = "qwm",
	wikidata_item = 4279942,
}

m["az-cls"] = {
	"Classical Azerbaijani",
	nil,
	"az",
	aliases = {"Classical Azeri"},
}


-- Uralic lects

m["mns-eas"] = {
	canonicalName = "မာန်သဳ လ္ပာ်ဖာဗၟံက်-အခိုက်ကၞာ",
	parent = "mns-cen",
	wikidata_item = "Q30311755",
}

m["mns-wes"] = {
	canonicalName = "မာန်သဳ လ္ပာ်ဖာပလိုတ်-အခိုက်ကၞာ",
	parent = "mns-cen",
	wikidata_item = "Q30311756",
}

-- Other lects

m["alv-kro"] = {
	"Kromanti",
	1093206,
	"crp",
}

m["bat-pro"] = {
	canonicalName = "ဗေါဝ်တေတ်-အခိုက်ကၞာ",
	parent = "ine-bsl-pro",
	wikidata_item = "Q1703347",
}


m["es-lun"] = {
	canonicalName = "Lunfardo",
	parent = "es",
	wikidata_item = "Q1401612",
}
m["Lunfardo"] = m["es-lun"]

m["fiu-pro"] = {
	canonicalName = "ဖေန်နဝ်-ဥူဂရေတ်-အခိုက်ကၞာ",
	parent = "urj-pro",
	wikidata_item = "Q79890",
}

m["gem-sue"] = {
	"Suevic",
	155085,
	"gmw-pro",
	aliases = {"Suebian"},
}

m["iro-ohu"] = {
	"Old Wendat",
	nil,
	"wdt",
	ancestral_to_parent = true,
	wikipedia_article = "Huron language",
}

m["iro-omo"] = {
	"Old Mohawk",
	nil,
	"moh",
	ancestral_to_parent = true,
}

m["iro-oon"] = {
	"Old Onondaga",
	nil,
	"ono",
	ancestral_to_parent = true,
}

m["okz-A"] = {
	"ခမေန်တြေံ အာန်ခေါဝ်ရဳယာန်",
	9205,
	"okz",
	wikipedia_article = "Khmer language#Historical periods",
}

m["okz-P"] = {
	"ခမေန်တြေံ ကၠာ-အာန်ခေါဝ်ရဳယာန်",
	9205,
	"okz",
	wikipedia_article = "Khmer language#Historical periods",
}

m["mul-tax"] = {
	"taxonomic name",
	nil,
	"mul",
}
alias_codes("mul-tax", {"Tax."})

m["qfa-pyg"] = {
	"a substrate language originally spoken by the Pygmies",
	nil,
	"qfa-sub",
	wikipedia_article = "Classification of Pygmy languages#Original Pygmy language(s)",
}
alias_codes("qfa-pyg", {"pygmy"})

m["tai-shz"] = {
	"Shangsi Zhuang",
	13216,
	"za",
}

m["tbq-pro"] = {
	"Proto-Tibeto-Burman",
	7251864,
	"sit-pro",
}

m["und-idn"] = {
	"Idiom Neutral",
	35847,
	"und", -- or "vo"
	wikipedia_article = "Idiom Neutral",
}

m["und-tdl"] = {
	"Turduli",
	nil,
	"und",
	wikipedia_article = "Turduli",
}

m["und-tdt"] = {
	"Turdetani",
	nil,
	"und",
	wikipedia_article = "Turdetani",
}

m["und-xbi"] = {
	"Xianbei",
	nil,
	"und",
	wikipedia_article = "Xianbei",
}

m["und-xnu"] = {
	"Xiongnu",
	nil,
	"und",
	wikipedia_article = "Xiongnu",
}

m["urj-fpr-pro"] = {
	canonicalName = "ဖေန်နဝ်-ပဵုမေတ်-အခိုက်ကၞာ",
	parent = "urj-pro",
}

m["woy"] = {
	"Weyto",
	3915918,
	"und",
}


return m