在"incategory ..."過濾器後添加搜索文字:

該模塊包含了語言代碼之定義和元數據。欲見其他相關資訊,請參見附录:語言列表

此模塊不得直接用於其他模塊或模板。資料與數據應通過Module:languages獲取。

必填值

表中的每個項目必須包含以下索引字段:

1
該語言的「規範」名稱,舊版模塊中寫作canonicalName。這是維基詞典詞條和分類名稱中使用的名字。
2
該語言在維基數據的ID(以Q開頭)。這取代了舊的wikipedia_article屬性。若該語言在維基數據沒有對應的實體,可將其設為nil

選填值

3
該語言所屬的語系,請參見Wiktionary:語系

屬性 entry_namesort_key 用於替換文本;它們替換或刪除某些字符或字符集。其工作原理相似,且都是可選的。它們都可以是表,sort_key 可以是一個模塊的名稱,該模塊接收一個條目名並生成一個排序鍵(用於在類別頁面上對條目進行排序)。

if sort_key is the name of a module, the module must contain a sortkey-generating function that is named makeSortKey. This function must take the arguments text, lang, sc, where text is the page name (or other text in the language), lang is the language code (not the language object), and sc is the script code (not the script object). The returned value should always be a string, or there will be a module error in the Language:makeSortKey() function.

If either one is a table, it must contain two tables inside it: one named from and one named to. These two tables are organised pairwise: each element in from is a pattern to identify which characters in the term to replace, while the corresponding element in to defines what to replace them with.

If the replacement is not present or if it is false or nil, it defaults to an empty replacement, meaning that the matching characters are removed altogether. This means that the from list can be longer than the to list, and an empty replacement will be assumed for any elements in from that have no counterpart in to.

The tables can contain literal characters, or the patterns (a type of regular expressions) that are used by the standard Scribunto mw.ustring.gsub function. See the Scribunto reference manual for more information.

At the top of the module, there is a list of combining characters with names. These are provided for convenience and readability, as combining characters generally do not display properly inside the module code (although they do not affect the actual operation of the module).

entry_name
Defines replacements to create the entry name from the displayed form of a term. This can be used to remove certain diacritical marks according to the customs or standard practice of the language. For example, it is used to remove accent marks from Russian words (ру́сскийрусский), or macrons from Latin or Old English words (ōsos), as these are not used in the normal written form of these languages. This is used by makeEntryName in Module:languages.
sort_key
Defines replacements to create a category sort key from the page name. The purpose is to remove any characters that are ignored in sorting, and to replace similar characters with identical ones if the sorting rules for that language do not distinguish them. For example, in German, the characters "ä" and "a" are considered equivalent for sorting, and are both treated as "a". The page name is converted to lowercase before applying the replacements, so you should not add uppercase letters to the "from" lists. This is used by makeSortKey in Module:languages.

These are other optional values:

otherNames
該語言除了標準名稱外的所有名稱的表格。該表格不僅應包括該語言的同義詞,而且應包括指歸入同一類別的語言變體的名稱。例如,雖然佛蘭芒語不是荷蘭語的同義詞,但佛蘭芒語被認為是荷蘭語的「一部分」,因此該名稱被列入荷蘭語其中。
type
語言的類型(會影響它在Wiktionary上的處理方式)。可用的值包括:
  • regular-這個值是默認值,所以不需要特別指定。這表示該語言的詞彙符合Wiktionary:收录标准,因此被允許放在主命名空間中。該語言可能也有重構的詞彙,則這些詞彙應被放在重構(Reconstructed)命名空間中,且必須在前面加「*」表示重構。(註:中文維基詞典暫無 Reconstructed 空間。)
  • reconstructed - 此語言不符合Wiktionary:收录标准,因此只允許在重構命名空間中使用。這類語言中的所有詞彙都是重建得到的,必須在前面加上「*」。
  • appendix-constructed - 這種語言已經通過驗證,但不符合對重構語言的額外要求(Wiktionary:收录标准#構建語言)。因此,其詞彙必須放在附錄(Appendix)命名空間中;又因為它們不是透過重建得到的,因此不應該在鏈接中加上「*」前綴。
scripts
A list of script codes, see Wiktionary:Scripts. These represent all the scripts (writing systems) that this language uses in the real world, as well as the ones that Wiktionary uses. The scripts that are used most often on Wiktionary should be first in the list, as this will speed up script detection.
Many templates and modules detect the script of text in a particular language using the findBestScript function in Module:scripts. This function goes down the list of scripts and counts how many characters in the text belong to each script. If all the characters belong to one script, that script will be returned; otherwise, the script with the most characters will be returned. Thus, script detection will be faster if the most frequently used scripts are first in the list.
translit_module
The name of a module that is used to generate transliterations of terms, without the Module: prefix. This module must export a function named tr that is defined as follows:
tr(text, lang, sc)
The three parameters are the text to be transliterated, the language code, and the script code. The function can ignore the language and script codes, but they are provided for cases when a language has more than one script, or when a single function is used to transliterate multiple languages sharing the same script.
ancestors
A table listing the language codes of the direct ancestors of this language. For example, the ancestor of English is listed as enm (Middle English); ang (Old English, the ancestor of Middle English), gem-pro (Proto-Germanic, the ancestor of Old English), and ine-pro (Proto-Indo-European, the ancestor of Proto-Germanic) are not listed.
For most languages, only one ancestor code should be given, but multiple ancestors can be listed for pidgins, creoles and mixed languages.
The ancestor language table should not be included if the language's direct ancestor is the proto-language of the family to which the language belongs. In such a case, if the family code has been provided, Module:languages will automatically add the proto-language as the language's ancestor. For example, Proto-Germanic (gem-pro) belongs to the Indo-European (ine) family, and its direct ancestor is Proto-Indo-European (ine-pro). Because Proto-Indo-European is the proto-language of the Indo-European languages, Proto-Germanic does not need an ancestors table; Proto-Indo-European will be automatically returned as its ancestor by the getAncestors function.
wikimedia_codes
A table listing the Wikimedia language codes that this language maps to. This is used to translate Wiktionary codes to Wikimedia codes, which are usually the same but there are a few languages where it is different. The language codes must be valid Wikimedia codes (as determined by the wiki software), and if they are not defined in one of the language data modules, they must be defined in Module:wikimedia languages/data.
wikipedia_article
The name of the Wikipedia article for the language. Should normally only be supplied if the Wikidata id cannot be used.

local m = {}

-- Akan varieties

m["tw"] = {
	"Twi Akan",
	36850,
	"ak",
	aliases = {"Twi Akan", "Twi"},
}

m["tw-abr"] = {
	"Bono Twi",
	34831,
	"tw",
	aliases = {"Bono Twi", "Bono", "Abron", "Brong"},
}

m["tw-asa"] = {
	"Asante Twi",
	19261685,
	"tw",
	aliases = {"Asante Twi", "Asante", "Ashanti", "Ashante"},
}

m["tw-aku"] = {
	"Akuapem Twi",
	31150449,
	"tw",
	aliases = {"Akuapem Twi", "Akuapem", "Akuapim", "Akwapem Twi", "Akwapi"},
}

m["fat"] = {
	"Fante Akan",
	35570,
	"ak",
	aliases = {"Fante Akan", "Fante", "Fanti", "Fantse", "Mfantse"},
}

-- Albanian varieties

m["aln"] = {
	"蓋格阿爾巴尼亞語",
	181037,
	"sq",
	aliases = {"Gheg Albanian", "Gheg"},
}

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

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

m["als"] = {
	"托斯克阿爾巴尼亞語",
	180937,
	"sq",
	aliases = {"Tosk Albanian", "Tosk"},
}

-- Bantu varieties

m["bnt-cmn"] = {
	"共同班圖語",
	nil,
	"bnt-pro",
	aliases = {"Common Bantu"},
}

-- Semitic varieties

-- Akkadian varieties

m["akk-old"] = {
	"古阿卡德語",
	nil,
	"akk",
	aliases = {"Old Akkadian"},
}

m["akk-obb"] = {
	"古巴比倫語",
	nil,
	"akk",
	aliases = {"Old Babylonian"},
}

m["akk-oas"] = {
	"古亞述語",
	nil,
	"akk",
	aliases = {"Old Assyrian"},
}

m["akk-mbb"] = {
	"中古巴比倫語",
	nil,
	"akk",
	aliases = {"Middle Babylonian"},
}

m["akk-mas"] = {
	"中古亞述語",
	nil,
	"akk",
	aliases = {"Middle Assyrian"},
}

m["akk-nbb"] = {
	"新巴比倫語",
	nil,
	"akk",
	aliases = {"Neo-Babylonian"},
}

m["akk-nas"] = {
	"新亞述語",
	nil,
	"akk",
	aliases = {"Neo-Assyrian"},
}

m["akk-lbb"] = {
	"晚期巴比倫語",
	nil,
	"akk",
	aliases = {"Late Babylonian"},
}

m["akk-stb"] = {
	"標準巴比倫語",
	nil,
	"akk",
	aliases = {"Standard Babylonian"},
}

-- Arabic varieties

m["jrb"] = {
	"猶太阿拉伯語",
	37733,
	"ar",
	aliases = {"Judeo-Arabic"},
}

-- Aramaic varieties

m["arc-bib"] = {
	"聖經亞拉姆語",
	843235,
	"arc",
	family = "sem-are",
	aliases = {"Biblical Aramaic"},
}

m["arc-cpa"] = {
	"基督教巴勒斯坦亞拉姆語",
	60790119,
	"arc",
	family = "sem-arw",
	aliases = {"Christian Palestinian Aramaic", "Melkite Aramaic", "Palestinian Syriac", "Syropalestinian Aramaic"},
}

m["arc-imp"] = {
	"帝國亞拉姆語",
	7079491,
	"arc",
	aliases = {"Imperial Aramaic", "Official Aramaic"},
}

m["arc-hat"] = {
	"哈特拉亞拉姆語",
	3832926,
	"arc",
	family = "sem-are",
	aliases = {"Hatran Aramaic"},
}

m["arc-jla"] = {
	"猶太書面亞拉姆語",
	105952842,
	"arc",
	aliases = {"Jewish Literary Aramaic"},
}

m["arc-nab"] = {
	"納巴泰亞拉姆語",
	36178,
	"arc",
	aliases = {"Nabataean Aramaic"},
}

m["arc-old"] = {
	"古亞拉姆語",
	3398392,
	"arc",
	aliases = {"Old Aramaic"},
}

m["arc-pal"] = {
	"帕邁拉亞拉姆語",
	1510113,
	"arc",
	family = "sem-arw",
	aliases = {"Palmyrene Aramaic"},
}

m["tmr"] = {
	"猶太巴比倫亞拉姆語",
	33407,
	"arc",
	family = "sem-ase",
	aliases = {"Jewish Babylonian Aramaic"},
}

m["jpa"] = {
	"猶太巴勒斯坦亞拉姆語",
	948909,
	"arc",
	family = "sem-arw",
	aliases = {"Jewish Palestinian Aramaic", "Galilean Aramaic"},
}

-- Catalan varieties

m["ca-val"] = {
	"瓦倫西亞語",
	32641,
	"ca",
	aliases = {"Valencian"},
}

-- Central Nicobarese varieties

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

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

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

-- Chinese varieties

m["och-ear"] = {
	"早期上古漢語",
	nil,
	"och",
	aliases = {"Early Old Chinese"},
}

m["och-lat"] = {
	"晚期上古漢語",
	nil,
	"och",
	aliases = {"Late Old Chinese"},
}

m["ltc-ear"] = {
	"早期中古漢語",
	nil,
	"ltc",
	aliases = {"Early Middle Chinese"},
}

m["ltc-lat"] = {
	"晚期中古漢語",
	nil,
	"ltc",
	aliases = {"Late Middle Chinese"},
}

m["cmn-ear"] = {
	"早期官話",
	837169,
	"cmn",
	aliases = {"Early Mandarin"},
}

m["cmn-sic"] = {
	"四川話",
	2278732,
	"cmn",
	aliases = {"Sichuanese"},
}

m["wuu-sha"] = {
	"上海話",
	36718,
	"wuu",
	aliases = {"Shanghainese"},
}

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

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

m["nan-hai"] = {
	"海南話",
	934541,
	"nan",
	aliases = {"Hainanese"},
}

m["nan-hok"] = {
	"泉漳話",
	1624231,
	"nan",
	aliases = {"Hokkien"},
}

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

m["nan-jj"] = {
	"晉江話",
	nil,
	"nan-qz",
	aliases = {"Jinjiang Hokkien"},
}

m["nan-pen"] = {
	"Penang Hokkien",
	11120689,
	"nan-zz",
	aliases = {"Penang Hokkien"},
}

m["nan-ph"] = {
	"咱人話",
	3236692,
	"nan-jj",
	aliases = {"Philippine Hokkien"},
}

m["nan-qz"] = {
	"泉州話",
	nil,
	"nan-hok",
	aliases = {"Quanzhou Hokkien"},
}

m["nan-zz"] = {
	"漳州話",
	nil,
	"nan-hok",
	aliases = {"Zhangzhou Hokkien"},
}

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

m["cmn-pinyin"] = {
	"漢語拼音",
	42222,
	"cmn",
	aliases = {"Hanyu Pinyin", "Pinyin"},
}

m["cmn-tongyong"] = {
	"通用拼音",
	700739,
	"cmn",
	aliases = {"Tongyong Pinyin"},
}

m["cmn-wadegile"] = {
	"威妥瑪拼音",
	208442,
	"cmn",
	aliases = {"Wade–Giles", "Wade-Giles", "Wade Giles"},
}

-- Chinese cyrillization

m["cmn-palladius"] = {
	"巴拉第系統",
	1234239,
	"cmn",
	aliases = {"Palladius", "Palladius system"},
}

-- Coptic varieties

m["cop-akh"] = {
	"艾赫米姆科普特語",
	nil,
	"cop",
	aliases = {"Akhmimic Coptic", "Akhmimic"},
}

m["cop-boh"] = {
	"布海拉科普特語",
	890733,
	"cop",
	aliases = {"Bohairic Coptic", "Bohairic", "Memphitic Coptic", "Memphitic"},
}

m["cop-ggg"] = {
	"科普特語方言G",
	nil,
	"cop",
	aliases = {"Coptic Dialect G", "Dialect G", "Mansuric Coptic", "Mansuric"},
}

m["cop-jjj"] = {
	"科普特語方言J",
	nil,
	"cop",
	aliases = {"Coptic Dialect J"},
}

m["cop-kkk"] = {
	"科普特語方言K",
	nil,
	"cop",
	aliases = {"Coptic Dialect K"},
}

m["cop-ppp"] = {
	"科普特語方言P",
	nil,
	"cop",
	aliases = {"Coptic Dialect P", "Proto-Theban Coptic", "Palaeo-Theban Coptic"},
}

m["cop-fay"] = {
	"法尤姆科普特語",
	1399115,
	"cop",
	aliases = {"Fayyumic Coptic", "Fayyumic", "Faiyumic Coptic", "Faiyumic", "Fayumic Coptic", "Fayumic",
		"Bashmuric Coptic", "Bashmuric"},
}

m["cop-her"] = {
	"赫爾莫波利斯科普特語",
	nil,
	"cop",
	aliases = {"Hermopolitan Coptic", "Hermopolitan", "Coptic Dialect H", "Ashmuninic", "Ashmuninic Coptic"},
}

m["cop-lyc"] = {
	"利科波利斯科普特語",
	nil,
	"cop",
	aliases = {"Lycopolitan Coptic", 
		"Lycopolitan",
		"Assiutic Coptic", "Asyutic Coptic", "Assiutic", "Asyutic",
		"Lyco-Diospolitan Coptic", "Lyco-Diospolitan",
		"Subakhmimic Coptic", "Subakhmimic"
	},
}

m["cop-old"] = {
	"古科普特語",
	nil,
	"cop",
	aliases = {"Old Coptic"},
}

m["cop-oxy"] = {
	"俄克喜林庫斯科普特語",
	nil,
	"cop",
	aliases = {"Oxyrhynchite Coptic", "Oxyrhynchite", "Mesokemic Coptic", "Mesokemic", "Middle Egyptian Coptic"},
}

m["cop-ply"] = {
	"原始利科波利斯科普特語",
	nil,
	"cop",
	aliases = {"Proto-Lycopolitan Coptic", "Coptic Dialect i", "Proto-Lyco-Diospolitan Coptic"},
}

m["cop-sah"] = {
	"薩伊迪科普特語",
	2645851,
	"cop",
	aliases = {"Sahidic Coptic", "Sahidic", "Saidic Coptic", "Saidic", "Thebaic Coptic", "Thebaic"},
}

-- Dutch varieties

m["nl-BE"] = {
	"比利時荷蘭語",
	34147,
	"nl",
	aliases = {"Belgian Dutch",  "Flemish", "Flemish Dutch", "Southern Dutch"},
}

-- Egyptian varieties

m["egy-old"] = {
	"上古埃及語",
	447117,
	"egy",
	aliases = {"Old Egyptian"},
}

m["egy-mid"] = {
	"中古埃及語",
	657330,
	"egy",
	aliases = {"Middle Egyptian", "Classical Egyptian"},
}

m["egy-nmi"] = {
	"新中古埃及語",
	nil,
	"egy",
	aliases = {"Neo-Middle Egyptian", "Égyptien de tradition", "Traditional Egyptian"},
}

m["egy-lat"] = {
	"晚期埃及語",
	1852329,
	"egy",
	aliases = {"Late Egyptian"},
}

-- Elamite varieties

m["elx-old"] = {
	"上古埃蘭語",
	nil,
	"elx",
	aliases = {"Old Elamite"},
}

m["elx-mid"] = {
	"中古埃蘭語",
	nil,
	"elx",
	aliases = {"Middle Elamite"},
}

m["elx-neo"] = {
	"新埃蘭語",
	nil,
	"elx",
	aliases = {"Neo-Elamite"},
}

m["elx-ach"] = {
	"阿契美尼德埃蘭語",
	nil,
	"elx",
	aliases = {"Achaemenid Elamite"},
}

-- English, Scots and Old English varieties

m["en-AU"] = {
	"Australian English",
	44679,
	"en",
	aliases = {"Australian English"},
}

m["en-GB"] = {
	"英國英語",
	7979,
	"en",
	aliases = {"British English"},
}

m["en-GB-SCT"] = {
	"Scottish English",
	44676,
	"en-GB",
	aliases = {"Scottish English"},
}

m["en-GB-WLS"] = {
	"Welsh English",
	44676,
	"en-GB",
	aliases = {"Welsh English"},
}

m["en-IM"] = {
	"Manx English",
	6753295,
	"en-GB",
	aliases = {"Manx English"},
}

m["en-geo"] = {
	"喬迪英語",
	nil,
	"en",
	ancestors = "enm-nor",
	aliases = {"Geordie English"},
}

m["en-IE"] = {
	"Irish English",
	665624,
	"en",
	aliases = {"Irish English"},
}

m["en-uls"] = {
	"Ulster English",
	6840826,
	"en-IE",
	aliases = {"Ulster English"},
}

m["en-GB-NIR"] = {
	"Northern Irish English",
	6840826, -- actually the code for Ulster English
	"en-uls",
	aliases = {"Northern Irish English"},
}

m["en-NNN"] = { -- NA = Namibia; NNN is NATO 3-letter code for North America
	"North American English",
	7053766,
	"en",
	aliases = {"North American English"},
}

m["en-US"] = {
	"美國英語",
	7976,
	"en-NNN",
	aliases = {"American English"},
}

m["en-US-CA"] = {
	"California English",
	1026812,
	"en-US",
	aliases = {"California English"},
}

m["en-CA"] = {
	"加拿大英語",
	44676,
	"en-US",
	aliases = {"Canadian English"},
}

m["en-HK"] = {
	"香港英語",
	1068863,
	"en",
	aliases = {"Hong Kong English"},
}

m["pld"] = {
	"Polari",
	1359130,
	"en",
	aliases = {"Polari"},
}

-- Scots varieties

m["sco-osc"] = {
	"早期蘇格蘭語",
	5326738,
	"enm",
	ancestors = "enm-nor",
	aliases = {"Early Scots", "Old Scots"},
}

m["sco-smi"] = {
	"中古蘇格蘭語",
	3327000,
	"sco",
	ancestors = "sco-osc",
	aliases = {"Middle Scots"},
}

m["sco-ins"] = {
	"島嶼蘇格蘭語",
	16919205,
	"sco",
	aliases = {"Insular Scots"},
}

m["sco-uls"] = {
	"阿爾斯特蘇格蘭語",
	201966,
	"sco",
	aliases = {"Ulster Scots"},
}

m["sco-nor"] = {
	"北部蘇格蘭語",
	16928150,
	"sco",
	aliases = {"Northern Scots"},
}

m["sco-sou"] = {
	"南部蘇格蘭語",
	7570457,
	"sco",
	aliases = {"South Scots", "Southern Scots", "Borders Scots"},
}

-- Middle English varieties

m["enm-nor"] = {
	"北部中古英語",
	nil,
	"enm",
	ancestors = "ang-nor",
	aliases = {"Northern Middle English", "Northumbrian Middle English"},
}

-- Old English varieties

-- Includes both Mercian and Northumbrian.

m["ang-ang"] = {
	"盎格利亞古英語",
	nil,
	"ang",
	aliases = {"Anglian Old English"},
}

m["ang-ken"] = {
	"Kentish Old English",
	11687485,
	"ang",
	aliases = {"Kentish Old English"},
}

m["ang-mer"] = {
	"麥西亞古英語",
	602072,
	"ang-ang",
	aliases = {"Mercian Old English"},
}

m["ang-nor"] = {
	"諾森伯蘭古英語",
	1798915,
	"ang-ang",
	aliases = {"Northumbrian Old English"},
}

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

-- French and French-based creole varieties
m["fro-nor"] = {
	"古諾曼語",
	2044917,
	"fro",
	aliases = {"Old Northern French", "Old Norman", "Old Norman French"},
}

m["fro-pic"] = {
	"庇卡底古法語",
	nil,
	"fro",
	aliases = {"Picard Old French"},
}

m["xno"] = {
	"盎格魯-諾曼語",
	35214,
	"fro-nor",
	aliases = {"Anglo-Norman"},
}

m["xno-law"] = {
	"Law French",
	2044323,
	"xno",
	aliases = {"Law French"},
}

m["fr-CA"] = {
	"加拿大法語",
	1450506,
	"fr",
	aliases = {"Canadian French"},
}

m["fr-CH"] = {
	"Switzerland French",
	1480152,
	"fr",
	aliases = {"Switzerland French"},
}

m["fr-aca"] = {
	"阿卡迪亞法語",
	415109,
	"fr",
	aliases = {"Acadian French"},
}

m["frc"] = {
	"卡郡法語",
	880301,
	"fr",
	aliases = {"Cajun French", "Louisiana French"},
}

m["ht-sdm"] = {
	"聖多明戈克里奧爾法語",
	nil,
	"ht",
	ancestors = "fr",
	aliases = {"Saint Dominican Creole French"},
}

-- Norman varieties

m["nrf-grn"] = {
	"根西諾曼語",
	56428,
	"nrf",
	aliases = {"Guernsey Norman", "Guernsey"},
	alias_codes = {"roa-grn"}
}

m["nrf-jer"] = {
	"澤西諾曼語",
	56430,
	"nrf",
	aliases = {"Jersey Norman", "Jersey"},
	alias_codes = {"roa-jer"}
}

-- Brythonic

m["bry-ear"] = {
	"早期布立吞語",
	nil,
	"cel-bry-pro",
	aliases = {"Early Brythonic"},
}

m["bry-lat"] = {
	"晚期布立吞語",
	nil,
	"cel-bry-pro",
	aliases = {"Late Brythonic"},
}

-- Gaulish

m["xcg"] = {
	"山南高盧語",
	3832927,
	"cel-gau",
	aliases = {"Cisalpine Gaulish"},
}

m["xtg"] = {
	"山北高盧語",
	29977,
	"cel-gau",
	aliases = {"Transalpine Gaulish"},
}

-- Portuguese varieties

m["pt-BR"] = {
	"巴西葡萄牙語",
	750553,
	"pt",
	aliases = {"Brazilian Portuguese"},
}

m["pt-PT"] = {
	"European Portuguese",
	922399,
	"pt",
	aliases = {"European Portuguese"},
}

-- Spanish varieties

m["es-AR"] = {
	"拉普拉塔河西班牙語",
	509780,
	"es",
	aliases = {"Rioplatense Spanish"},
}

m["es-CO"] = {
	"哥倫比亞西班牙語",
	1115875,
	"es",
	aliases = {"Colombian Spanish"},
}

m["es-CU"] = {
	"古巴西班牙語",
	824909,
	"es",
	aliases = {"Cuban Spanish"},
}

m["es-MX"] = {
	"墨西哥西班牙語",
	616620,
	"es",
	aliases = {"Mexican Spanish"},
}

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

m["es-PR"] = {
	"波多黎各西班牙語",
	7258609,
	"es",
	aliases = {"Puerto Rican Spanish"},
}

-- Fula varieties

m["fuc"] = {
	"Pulaar",
	1420205,
	"ff",
	aliases = {"Pulaar"},
}

m["fuf"] = {
	"Pular",
	3915357,
	"ff",
	aliases = {"Pular"},
}

m["ffm"] = {
	"Maasina Fulfulde",
	3915322,
	"ff",
	aliases = {"Maasina Fulfulde"},
}

m["fue"] = {
	-- no enwiki entry as of yet but frwiki and pmswiki have one
	"Borgu Fulfulde",
	12952426,
	"ff",
	aliases = {"Borgu Fulfulde"},
}

m["fuh"] = {
	-- no enwiki entry as of yet but frwiki and pmswiki have one
	"Western Niger Fulfulde",
	12952430,
	"ff",
	aliases = {"Western Niger Fulfulde"},
}

m["fuq"] = {
	-- no enwiki entry as of yet but frwiki, hrwiki and pmswiki have one
	"Central-Eastern Niger Fulfulde",
	12628799,
	"ff",
	aliases = {"Central-Eastern Niger Fulfulde"},
}

m["fuv"] = {
	-- no enwiki entry as of yet but dewiki, frwiki, hrwiki, pmswiki and swwiki have one
	"Nigerian Fulfulde",
	36129,
	"ff",
	aliases = {"Nigerian Fulfulde"},
}

m["fub"] = {
	-- no enwiki entry as of yet but dewiki, frwiki, hrwiki, pmswiki, ptwiki, swwiki and yowiki have one
	"Adamawa Fulfulde",
	34776,
	"ff",
	aliases = {"Adamawa Fulfulde"},
}

m["fui"] = {
	-- no enwiki entry as of yet but pmswiki and swwiki have one
	"Bagirmi Fulfulde",
	11003859,
	"ff",
	aliases = {"Bagirmi Fulfulde"},
}

-- Germanic varieties
-- (modern) German varieties

m["de-AT"] = {
	"奧地利德語",
	306626,
	"de",
	aliases = {"Austrian German"},
}

m["de-AT-vie"] = {
	"維也納德語",
	56474,
	"de-AT",
	aliases = {"Viennese German"},
}

m["de-CH"] = {
	"瑞士高地德語",
	1366643,
	"de",
	aliases = {"Switzerland German", "Schweizer Hochdeutsch", "Swiss Standard German", "Swiss High German"},
}

m["ksh"] = {
	"科隆語",
	4624,
	"gmw-cfr",
	aliases = {"Kölsch"},
}

m["pfl"] = {
	"普法爾茨德語",
	23014,
	"gmw-rfr",
	aliases = {"Palatine German", "Pfälzisch", "Pälzisch", "Palatinate German"},
}

m["sli"] = {
	"西里西亞德語",
	152965,
	"gmw-ecg",
	aliases = {"Silesian East Central German", "Silesian"},
}

m["sxu"] = {
	"上薩克森德語",
	699284,
	"gmw-ecg",
	aliases = {"Upper Saxon German"},
}

-- Old High German varieties

m["lng"] = {
	"古倫巴底語",
	35972,
	"goh",
	alias_codes = {"goh-lng"},
	aliases = {"Lombardic"},
}

-- Proto-West Germanic varieties

m["frk"] = {
	"古法蘭克語",
	10860505,
	"gmw-pro",
	aliases = {"Frankish", "Old Frankish"},
}

-- Alemannic German varieties

m["gsw-low"] = {
	"低地阿勒曼尼語",
	503724,
	"gsw",
	aliases = {"Low Alemannic German"},
}

m["gsw-FR"] = {
	"阿爾薩斯語",
	8786,
	"gsw-low",
	aliases = {"Alsatian"},
}

m["gsw-hig"] = {
	"高地阿勒曼尼語",
	503728,
	"gsw",
	aliases = {"High Alemannic German"},
}

m["gsw-hst"] = {
	"至高阿勒曼尼語",
	687538,
	"gsw",
	aliases = {"Highest Alemannic German"},
}

m["wae"] = {
	"瓦爾瑟德語",
	680517,
	"gsw-hst",
	aliases = {"Walser German"},
}

-- Old Norse varieties

m["non-oen"] = {
	"古東諾爾斯語",
	10498031,
	"non",
	ancestors = "non",
	aliases = {"Old East Norse"},
}

m["non-own"] = {
	"古西諾爾斯語",
	10498026,
	"non",
	ancestors = "non",
	aliases = {"Old West Norse"},
}

-- Old Swedish varieties

m["gmq-osw-lat"] = {
	"Late Old Swedish",
	10723594,
	"gmq-osw",
	ancestors = "gmq-osw",
	aliases = {"Late Old Swedish"},
}

-- Greek varieties

m["qsb-grc"] = {
	"Pre-Greek",
	965052,
	"und",
	family = "qfa-sub",
	aliases = {"Pre-Greek"},
}

m["grc-boi"] = {
	"維奧蒂亞希臘語",
	406373,
	"grc-aeo",
	aliases = {"Boeotian Greek"},
}

m["grc-koi"] = {
	"通用希臘語",
	107358,
	"grc",
	ancestors = "grc-att",
	aliases = {"Koine Greek", "Hellenistic Greek"},
}

m["gkm"] = {
	"中古希臘語",
	36387,
	"grc",
	ancestors = "grc-koi",
	aliases = {"Byzantine Greek", "Medieval Greek"},
	-- add gkm-med code in case we ever split Medieval Greek from Byzantine Greek
	alias_codes = {"gkm-med"}
}

m["grc-dor"] = {
	"多利安希臘語",
	285494,
	"grc",
	aliases = {"Doric Greek"},
}

m["grc-att"] = {
	"阿提卡希臘語",
	506588,
	"grc",
	aliases = {"Attic Greek"},
}

m["grc-ion"] = {
	"愛奧尼亞希臘語",
	504165,
	"grc",
	aliases = {"Ionic Greek"},
}

m["grc-pam"] = {
	"潘菲利亞希臘語",
	2271793,
	"grc",
	aliases = {"Pamphylian Greek"},
}

m["grc-kre"] = { -- code used elsewhere: see [[Module:grc:Dialects]]
	"克里特古希臘語", -- to distinguish from Cretan Greek below
	nil,
	"grc-dor",
	aliases = {"Cretan Ancient Greek"},
}

m["grc-arp"] = {
	"阿卡迪亞-塞浦路斯希臘語",
	499602,
	"grc",
	aliases = {"Arcadocypriot Greek"},
}

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

m["el-cyp"] = {
	"塞浦路斯希臘語",
	245899,
	"el",
	aliases = {"Cypriot Greek", "Cypriotic Greek"},
}

m["el-pap"] = {
	"帕福斯希臘語",
	nil,
	"el",
	aliases = {"Paphian Greek"},
}

m["grc-aeo"] = {
	"伊奧利亞希臘語",
	406373,
	"grc",
	aliases = {"Aeolic Greek", "Lesbic Greek", "Lesbian Greek", "Aeolian Greek"},
}

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

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

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

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

m["grc-epc"] = {
	"史詩希臘語",
	990062,
	"grc",
	aliases = {"Epic Greek", "Homeric Greek"},
}

m["el-crt"] = {
	"克里特希臘語",
	588306,
	"el",
	aliases = {"Cretan Greek"},
}

m["el-kth"] = {
	"Katharevousa",
	35961,
	"el",
	ancestors = "gkm",
	aliases = {"Katharevousa", "Katharevousa Greek"},
}

m["el-kal"] = {
	"Kaliarda",
	nil,
	"el",
	aliases = {"Kaliarda"},
}


-- Hebrew varieties

m["hbo"] = {
	"聖經希伯來語",
	1982248,
	"he",
	aliases = {"Biblical Hebrew", "Classical Hebrew"},
}

m["he-mis"] = {
	"米書拿猶太語",
	1649362,
	"he",
	ancestors = "hbo",
	aliases = {"Mishnaic Hebrew"},
}

m["he-med"] = {
	"中世紀希伯來語",
	2712572,
	"he",
	ancestors = "he-mis",
	aliases = {"Medieval Hebrew"},
}

m["he-IL"] = {
	"現代以色列希伯來語",
	8141,
	"he",
	aliases = {"Israeli Hebrew"},
}

m["bsh-kat"] = {
	"Kativiri",
	2605045,
	"bsh",
	aliases = {"Kativiri", "Katə́viri"},
}

m["xvi"] = {
	"Kamviri",
	1193495,
	"bsh",
	aliases = {"Kamviri", "Kamvíri"},
	alias_codes = {"bsh-kam"}
}

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

-- Inuit lects:

m["esi"] = {
	"North Alaskan Inupiatun",
	nil,
	"ik",
	aliases = {"North Alaskan Inupiatun"},
}

m["esk"] = {
	"Northwest Alaskan Inupiatun",
	25559714,
	"ik",
	aliases = {"Northwest Alaskan Inupiatun"},
}

-- Iranian varieties:

m["qsb-bma"] = {
	"the BMAC substrate",
	1054850,
	"und",
	family = "qfa-sub",
	aliases = {"the BMAC substrate"},
}

-- Historical and current Iranian dialects

m["ae-old"] = {
	"古阿維斯陀語",
	29572,
	"ae",
	aliases = {"Old Avestan", "Gathic Avestan"},
}

m["ae-yng"] = {
	"Younger Avestan",
	29572,
	"ae-old",
	aliases = {"Younger Avestan", "Young Avestan"},
}

m["bcc"] = {
	"南俾路支語",
	33049,
	"bal",
	aliases = {"Southern Balochi", "Southern Baluchi"},
	alias_codes = {"bal-sou"}
}

m["bgp"] = {
	"東俾路支語",
	33049,
	"bal",
	aliases = {"Eastern Balochi", "Eastern Baluchi"},
	alias_codes = {"bal-eas"}
}

m["bgn"] = {
	"西俾路支語",
	33049,
	"bal",
	aliases = {"Western Balochi", "Western Baluchi"},
	alias_codes = {"bal-wes"}
}

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

m["bsg-hor"] = {
	"霍爾木茲語",
	nil,
	"bsg",
	aliases = {"Hormozi"},
}

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

m["kho-old"] = {
	"古和田語",
	nil,
	"kho",
	aliases = {"Old Khotanese"},
}

m["kho-lat"] = {
	"晚期和田語",
	nil,
	"kho-old",
	aliases = {"Late Khotanese"},
}

m["peo-ear"] = {
	"早期古波斯語",
	nil,
	"peo",
	aliases = {"Early Old Persian"},
}

m["peo-lat"] = {
	"晚期古波斯語",
	nil,
	"peo",
	aliases = {"Late Old Persian"},
}

m["pal-ear"] = {
	"早期中古波斯語",
	nil,
	"pal",
	aliases = {"Early Middle Persian"},
}

m["pal-lat"] = {
	"晚期中古波斯語",
	nil,
	"pal",
	ancestors = "pal-ear",
	aliases = {"Late Middle Persian"},
}

m["ps-nwe"] = {
	"西北普什圖語",
	nil,
	"ps",
	aliases = {"Northwestern Pashto"},
}

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

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

m["ps-nea"] = {
	"東北普什圖語",
	nil,
	"ps",
	aliases = {"Northeastern Pashto"},
}

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

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

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

m["ps-pes"] = {
	"白沙瓦語",
	nil,
	"ps-nea",
	aliases = {"Peshawari"},
}

m["ps-sea"] = {
	"東南普什圖語",
	nil,
	"ps",
	aliases = {"Southeastern Pashto"},
}

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

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

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

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

m["ps-swe"] = {
	"西南普什圖語",
	nil,
	"ps",
	aliases = {"Southwestern Pashto"},
}

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

m["ps-jad"] = {
	"Jadrani",
	nil,
	"ps",
	ancestors = "ira-pat-pro",
	aliases = {"Jadrani"},
}

m["xme-azr"] = {
	"古阿塞拜疆語",
	nil,
	"xme-ott",
	aliases = {"Old Azari", "Old Azeri", "Azari", "Azeri", "Āḏarī", "Adari", "Adhari"},
}

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

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

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

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

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

m["xmn"] = {
	"摩尼中古波斯語",
	nil,
	"pal-lat",
	aliases = {"Manichaean Middle Persian"},
}

m["fa-ira"] = {
	"伊朗波斯語",
	3513637,
	"fa",
	aliases = {"Iranian Persian", "Modern Persian", "Western Persian"},
	translit = "fa-ira-translit",
}

m["fa-cls"] = {
	"古典波斯語",
	9168,
	"fa",
	ancestors = "pal-lat",
	translit = "fa-cls-translit",
	aliases = {"Classical Persian"},
}

m["prs"] = {
	"達利語",
	178440,
	"fa",
	aliases = {"Dari", "Dari Persian", "Central Persian", "Eastern Persian", "Afghan Persian"},
	translit = "fa-cls-translit",
}

m["haz"] = {
	"Hazaragi",
	33398,
	"prs",
	translit = "fa-cls-translit",
	aliases = {"Hazaragi"},
}

m["os-dig"] = {
	"迪戈爾奧塞梯語",
	3027861,
	"os",
	aliases = {"Digor Ossetian", "Digoron", "Digor"},
}

m["os-iro"] = {
	"伊隆奧塞梯語",
	nil,
	"os",
	aliases = {"Iron Ossetian", "Iron"},
}

m["sog-ear"] = {
	"早期粟特語",
	nil,
	"sog",
	aliases = {"Early Sogdian"},
}

m["sog-lat"] = {
	"晚期粟特語",
	nil,
	"sog-ear",
	aliases = {"Late Sogdian"},
}

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

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

m["oos-ear"] = {
	"早期古奧塞梯語",
	nil,
	"oos",
	aliases = {"Early Old Ossetic"},
}

m["oos-lat"] = {
	"晚期古奧塞梯語",
	nil,
	"oos",
	aliases = {"Late Old Ossetic"},
}

m["xln"] = {
	"阿蘭語",
	3658580,
	"oos",
	aliases = {"Alanic"},
}

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

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

-- Southwestern Fars lects

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

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

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

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

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

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

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

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

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

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

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

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

m["fay-shr"] = {
	"設拉子語",
	nil,
	"fay",
	aliases = {"Shirazi"},
}

m["fay-sho"] = {
	"古設拉子語",
	nil,
	"fay",
	aliases = {"Old Shirazi"},
}

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

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

-- Talysh lects

m["tly-cen"] = {
	"中部塔利什語",
	nil,
	"tly",
	aliases = {"Central Talysh"},
}

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

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

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

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

m["tly-nor"] = {
	"北部塔利什語",
	nil,
	"tly",
	aliases = {"Northern Talysh"},
}

m["tly-aze"] = {
	"阿塞拜疆塔利什語",
	nil,
	"tly-nor",
	aliases = {"Azerbaijani Talysh"},
}

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

m["tly-sou"] = {
	"南部塔利什語",
	nil,
	"tly",
	aliases = {"Southern Talysh"},
}

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

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

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

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

-- Tafreshi lects

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

m["atn"] = {
	"阿什蒂亞尼語",
	3436590,
	"xme-taf",
	wikipedia_article = "Ashtiani language",
	alias_codes = {"xme-ast"},
	aliases = {"Ashtiani"},
}

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

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

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

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

-- Kermanic lects

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

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

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

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

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

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

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

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

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

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

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

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

m["xme-jow"] = {
	"喬沙喀尼語",
	nil,
	"xme-ker",
	aliases = {"Jowshaqani"},
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

m["gbz"] = {
	"瑣羅亞斯德達利語",
	32389,
	"xme-ker",
	aliases = {"Zoroastrian Dari", "Behdināni", "Gabri", "Gavrŭni", "Gabrōni"},
	wikipedia_article = "Zoroastrian Dari language",
	alias_codes = {"xme-dar"}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

-- Ramandi lects

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

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

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

m["tks-tak"] = {
	"塔克斯坦語",
	nil,
	"tks",
	aliases = {"Takestani"},
}

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

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

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

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

-- Shughni dialects

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

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

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

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

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

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

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

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

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

-- Indo-Aryan varieties

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

m["awa-old"] = {
	"古阿瓦德語",
	nil,
	"awa",
	aliases = {"Old Awadhi"},
}

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

m["gu-kat"] = {
	"卡提阿瓦語",
	nil,
	"gu",
	aliases = {"Kathiyawadi", "Kathiyawadi Gujarati", "Kathiawadi"},
}

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

m["hi-mum"] = {
	"孟買印地語",
	3543151,
	"hi",
	aliases = {"Bombay Hindi", "Mumbai Hindi", "Bambaiyya Hindi"},
}

m["hi-mid"] = {
	"中古印地語",
	nil,
	"hi",
	aliases = {"Middle Hindi"},
}

m["sa-bhs"] = {
	"佛教混合梵語",
	248758,
	"sa",
	aliases = {"Buddhist Hybrid Sanskrit"},
}

m["sa-bra"] = {
	"婆羅米梵語",
	36858,
	"sa",
	aliases = {"Brahmanic Sanskrit"},
}

m["sa-cls"] = {
	"古典梵語",
	11059,
	"sa",
	aliases = {"Classical Sanskrit"},
}

m["sa-neo"] = {
	"新梵語",
	11059,
	"sa",
	aliases = {"New Sanskrit"},
}

m["sa-ved"] = {
	"吠陀梵語",
	36858,
	"sa",
	aliases = {"Vedic Sanskrit"},
}

m["si-med"] = {
	"中世紀僧加羅語",
	nil,
	"si",
	aliases = {"Medieval Sinhalese", "Medieval Sinhala"},
}

m["kok-mid"] = {
	"中古孔卡尼語",
	nil,
	"kok",
	aliases = {"Middle Konkani", "Medieval Konkani"},
}

m["kok-old"] = {
	"古孔卡尼語",
	nil,
	"kok",
	aliases = {"Old Konkani", "Early Konkani"},
}


-- Indian subcontinent languages


-- Dhivehi varieties

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

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

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


-- Dravidian varieties

m["ta-mid"] = {
	"中古泰米爾語",
	20987434,
	"ta",
	ancestors = "oty",
	aliases = {"Middle Tamil"},
}

m["kn-hav"] = {
	"Havigannada",
	24276369,
	"kn",
	aliases = {"Havigannada"},
}

m["kn-kun"] = {
	"Kundagannada",
	6444255,
	"kn",
	aliases = {"Kundagannada"},
}

-- Prakrits

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

m["pra-hel"] = {
	"赫魯普拉克里特語",
	15080869,
	"inc-pra",
	aliases = {"Helu Prakrit", "Elu", "Elu Prakrit", "Helu"},
}

m["pra-kha"] = {
	"卡薩普拉克里特語",
	nil,
	"inc-pra",
	aliases = {"Khasa Prakrit", "Khasa"},
}

m["pra-mag"] = {
	"摩揭陀普拉克里特語",	
	2652214,
	"inc-pra",
	aliases = {"Magadhi Prakrit", "Magadhi"},
}

m["pra-mah"] = {
	"馬哈拉施特拉普拉克里特語",
	2586773,
	"inc-pra",
	aliases = {"Maharastri Prakrit", "Maharashtri Prakrit", "Maharastri", "Maharashtri"},
}

m["pra-pai"] = {
	"白夏基普拉克里特語",
	2995607,
	"inc-pra",
	ancestors = "inc-ash",
	aliases = {"Paisaci Prakrit", "Paisaci", "Paisachi"},
}

m["pra-sau"] = {
	"首羅犀那語",
	2452885,
	"inc-pra",
	aliases = {"Sauraseni Prakrit", "Sauraseni", "Shauraseni"},
}

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

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

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

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

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

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

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

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

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

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


-- Italian, Latin and other Italic varieties

m["it-oit"] = {
	"古意大利語",
	652,
	"it",
	alias_codes = {"roa-oit"},
	aliases = {"Old Italian"},
}

m["it-CH"] = {
	"瑞士意大利語",
	672147,
	"it",
	aliases = {"Switzerland Italian"},
}

-- Latin varieties by period

m["itc-ola"] = {
	"古拉丁語",
	12289,
	"la",
	aliases = {"Old Latin"},
}

m["la-cla"] = {
	"古典拉丁語",
	253854,
	"la",
	ancestors = "itc-ola",
	alias_codes = {"CL."},
	aliases = {"Classical Latin"},
}

m["la-lat"] = {
	"晚期拉丁語",
	1503113,
	"la",
	ancestors = "la-cla",
	alias_codes = {"LL."},
	aliases = {"Late Latin"},
}

m["la-vul"] = {
	"通俗拉丁語",
	37560,
	"la",
	ancestors = "la-cla",
	alias_codes = {"VL."},
	aliases = {"Vulgar Latin"},
}

m["la-med"] = {
	"中世紀拉丁語",
	1163234,
	"la",
	ancestors = "la-lat",
	alias_codes = {"ML."},
	aliases = {"Medieval Latin"},
}

m["la-eme"] = {
	"早期中世紀拉丁語",
	nil,
	"la-med",
	ancestors = "la-lat",
	aliases = {"Early Medieval Latin"},
}

m["la-ecc"] = {
	"教會拉丁語",
	1247932,
	"la",
	aliases = {"Ecclesiastical Latin", "Church Latin"},
	ancestors = "la-lat",
	alias_codes = {"EL."}
}

m["la-ren"] = {
	"文藝復興拉丁語",
	499083,
	"la",
	ancestors = "la-med",
	alias_codes = {"RL."},
	aliases = {"Renaissance Latin"},
}

m["la-new"] = {
	"新拉丁語",
	1248221,
	"la",
	aliases = {"New Latin", "Modern Latin"},
	ancestors = "la-ren",
	alias_codes = {"NL."}
}

m["la-con"] = {
	"Contemporary Latin",
	1246397,
	"la-new",
	aliases = {"Contemporary Latin"},
}

-- other Italic lects

m["osc-luc"] = {
	"盧卡尼亞語",
	nil,
	"osc",
	aliases = {"Lucanian"},
}

m["osc-sam"] = {
	"薩莫奈語",
	nil,
	"osc",
	aliases = {"Samnite"},
}

m["xum-her"] = {
	"赫爾尼基語",
	nil,
	"xum",
	aliases = {"Hernician"},
}


-- Malay and related varieties

m["ms-old"] = {
	"古馬來語",
	nil,
	"ms",
	aliases = {"Old Malay"},
}

m["ms-cla"] = {
	"古典馬來語",
	nil,
	"ms",
	ancestors = "ms-old",
	aliases = {"Classical Malay"},
}

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

m["bew-kot"] = {
	"伯塔維科塔語",
	nil,
	"bew",
	aliases = {"Betawi Kota"},
}

m["bew-ora"] = {
	"伯塔維奧拉語",
	nil,
	"bew",
	aliases = {"Betawi Ora"},
}

m["bew-udi"] = {
	"伯塔維烏迪克語",
	nil,
	"bew",
	aliases = {"Betawi Udik"},
}


-- Mongolic lects

m["xng-ear"] = {
	"早期中古蒙古語",
	nil,
	"xng",
	aliases = {"Early Middle Mongol"},
}

m["xng-lat"] = {
	"晚期中古蒙古語",
	nil,
	"xng",
	ancestors = "xng-ear",
	aliases = {"Late Middle Mongol"},
}

m["mn-kha"] = {
	"喀爾喀蒙古語",
	6399808,
	"mn",
	aliases = {"Khalkha Mongolian", "Khalkha"},
}

m["mn-ord"] = {
	"鄂爾多斯蒙古語",
	716904,
	"mn",
	aliases = {"Ordos Mongolian", "Ordos"},
}

m["mn-cha"] = {
	"察哈爾蒙古語",
	907425,
	"mn",
	aliases = {"Chakhar Mongolian", "Chakhar"},
}

m["mn-khr"] = {
	"科爾沁蒙古語",
	3196210,
	"mn",
	aliases = {"Khorchin Mongolian", "Khorchin"},
}

-- Japanese varieties

m["ja-mid"] = {
	"中期日語",
	6841474,
	"ojp",
	ancestors = "ojp",
	aliases = {"Middle Japanese"},
}

m["ja-mid-ear"] = {
	"中古日語",
	182695,
	"ja-mid",
	aliases = {"Early Middle Japanese"},
}

m["ja-mid-lat"] = {
	"中世日語",
	1816184,
	"ja-mid",
	ancestors = "ja-mid-ear",
	aliases = {"Late Middle Japanese"},
}

m["ja-ear"] = {
	"近世日語",
	5326692,
	"ja",
	ancestors = "ja-mid-lat",
	aliases = {"Early Modern Japanese"},
}

-- Kartvelian varieties

m["ka-mid"] = {
	"中古格魯吉亞語",
	nil,
	"ka",
	ancestors = "oge",
	aliases = {"Middle Georgian"},
}

-- Korean varieties

m["oko-lat"] = {
	"古朝鮮語",
	nil,
	"oko",
	aliases = {"Late Old Korean"},
}

m["okm-ear"] = {
	"中世朝鮮語",
	nil,
	"okm",
	aliases = {"Early Middle Korean"},
}

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

m["ko-gyg"] = {
	"Gyeonggi Korean",
	485492,
	"ko-cen",
	aliases = {"Gyeonggi Korean", "Seoul Korean"},
}

m["ko-chu"] = {
	"Chungcheong Korean",
	625800,
	"ko-cen",
	aliases = {"Chungcheong Korean", "Hoseo Korean"},
}

m["ko-hwa"] = {
	"Hwanghae Korean",
	16183706,
	"ko-cen",
	aliases = {"Hwanghae Korean"},
}

m["ko-gan"] = {
	"Gangwon Korean",
	11260444,
	"ko-cen",
	aliases = {"Gangwon Korean", "Yeongdong Korean"},
}

m["ko-gys"] = {
	"Gyeongsang Korean",
	488002,
	"ko",
	aliases = {"Gyeongsang Korean", "Southeastern Korean"},
}

m["ko-jeo"] = {
	"Jeolla Korean",
	11250166,
	"ko",
	aliases = {"Jeolla Korean", "Southwestern Korean"},
}

m["ko-pyo"] = {
	"Pyongan Korean",
	7263142,
	"ko",
	aliases = {"Pyongan Korean", "Northwestern Korean"},
}

m["ko-ham"] = {
	"Hamgyong Korean",
	860702,
	"ko",
	aliases = {"Hamgyong Korean", "Northeastern Korean"},
}

m["ko-yuk"] = {
	"六鎮方言",
	16171275,
	"ko",
	aliases = {"Yukjin Korean", "Yukchin Korean", "Ryukjin Korean", "Ryukchin Korean"},
}

-- Occitan varieties

m["oc-auv"] = {
	"奧弗涅方言",
	35359,
	"oc",
	aliases = {"Auvergnat", "Auvernhat", "Auvergnese"},
}

m["oc-gas"] = {
	"加斯科涅語",
	35735,
	"oc",
	aliases = {"Gascon"},
}

-- standardized dialect of Gascon

m["oc-ara"] = {
	"阿蘭尼語",
	10196,
	"oc-gas",
	aliases = {"Aranese"},
}

m["oc-lan"] = {
	"朗格多克語",
	942602,
	"oc",
	aliases = {"Languedocien", "Lengadocian"},
}

m["oc-lim"] = {
	"利穆贊語",
	427614,
	"oc",
	aliases = {"Limousin"},
}

m["oc-pro"] = {
	"普羅旺斯方言",
	241243,
	"oc",
	aliases = {"Provençal", "Provencal"},
	alias_codes = {"prv"}
}

m["oc-pro-old"] = {
	"古普羅旺斯語",
	2779185,
	"pro",
	aliases = {"Old Provençal"},
}

m["oc-viv"] = {
	"維瓦羅-阿爾卑斯方言",
	1649613,
	"oc",
	aliases = {"Vivaro-Alpine"},
}

m["oc-jud"] = {
	"舒亞迪語",
	56472,
	"oc",
	aliases = {"Shuadit", 
		"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 = {"Harar Oromo", "Eastern Oromo"},
}

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

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

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

-- Phillipine varieties

m["tl-old"] = {
	"古他加祿語",
	12967437,
	"tl",
	aliases = {"Old Tagalog"},
}

m["tl-cls"] = {
	"古典他加祿語",
	nil,
	"tl",
	aliases = {"Classical Tagalog"},
}


-- Pre-Roman substrates

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

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

-- Sardinian varieties

m["sc-src"] = {
	"洛古多羅方言",
	777974,
	"sc",
	aliases = {"Logudorese", "Logudorese Sardinian"},
}

m["sc-nuo"] = {
	"努奧羅方言",
	nil,
	"sc-src",
	aliases = {"Nuorese", "Nuorese Sardinian"},
}

m["sc-sro"] = {
	"坎皮達諾方言",
	35348,
	"sc",
	aliases = {"Campidanese", "Campidanese Sardinian"},
}

-- Rwanda-Rundi varieties

m["rw-kin"] = {
	"Kinyarwanda",
	33573,
	"rw",
	aliases = {"Kinyarwanda", "Rwanda"},
}

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

-- Slavic varieties

m["cs-ear"] = {
	"早期現代捷克語",
	nil,
	"cs",
	ancestors = "zlw-ocs",
	aliases = {"Early Modern Czech"},
}

m["cu-bgm"] = {
	"中古保加利亞語",
	12294897,
	"cu",
	ancestors = "cu",
	aliases = {"Middle Bulgarian"},
}

m["zle-mru"] = {
	"中古俄語",
	35228,
	"ru",
	alias_codes = {"zle-oru"},
	ancestors = "orv",
	aliases = {"Middle Russian"},
}

m["zle-obe"] = {
	"古白俄羅斯語",
	13211,
	"zle-ort",
	aliases = {"Old Belarusian"},
}

m["zle-ouk"] = {
	"古烏克蘭語",
	13211,
	"zle-ort",
	aliases = {"Old Ukrainian"},
}

m["zlw-mpl"] = {
	"中古波蘭語",
	402878,
	"pl",
	ancestors = "zlw-opl",
	aliases = {"Middle Polish"},
}

-- Serbo-Croatian varieties

m["ckm"] = {
	"查方言",
	337565,
	"sh",
	aliases = {"Chakavian Serbo-Croatian", "Čakavian"},
	alias_codes = {"sh-cha"}
}

m["kjv"] = {
	"卡伊方言",
	838165,
	"sh",
	alias_codes = {"sh-kaj"},
	aliases = {"Kajkavian Serbo-Croatian"},
}

m["sh-tor"] = { -- Linguist code srp-tor
	"托爾拉庫方言",
	1078803,
	"sh",
	aliases = {"Torlakian Serbo-Croatian", "Torlak"},
}

-- Tibetic lects

m["adx"] = {
	"安多藏語",
	56509,
	"bo",
	aliases = {"Amdo Tibetan"},
}

m["kbg"] = {
	"康巴語",
	12952626,
	"bo",
	aliases = {"Khamba"},
}

m["khg"] = {
	"康藏語",
	56601,
	"bo",
	aliases = {"Khams Tibetan"},
}

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

-- Tuareg lects

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

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

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

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

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

-- Turkic lects

m["trk-cmn"] = {
	"共同突厥語",
	1126028,
	"trk-pro",
	aliases = {"Common Turkic"},
}

m["trk-ogz-pro"] = {
	"原始烏古斯語",
	494600,
	"trk-pro",
	aliases = {"Proto-Oghuz", "Southwestern Common Turkic"},
	ancestors = "trk-pro",
}

m["otk-kir"] = {
	"古吉爾吉斯語",
	83142,
	"otk",
	aliases = {"Old Kirghiz"},
}

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

m["qwm-arm"] = {
	"亞美尼亞-欽察語",
	2027503,
	"qwm",
	aliases = {"Armeno-Kipchak"},
}

m["qwm-mam"] = {
	"馬穆魯克-欽察語",
	4279942,
	"qwm",
	aliases = {"Mamluk-Kipchak"},
}

m["az-cls"] = {
	"古典阿塞拜疆語",
	nil,
	"az",
	aliases = {"Classical Azerbaijani", "Classical Azeri"},
}

m["qxq"] = {
	"Qashqai",
	13192,
	"az",
	aliases = {"Qashqai", "Qaşqay", "Qashqayi", "Kashkai", "Kashkay"},
}

m["tr-CY"] = {
	"Cypriot Turkish",
	7917392,
	"tr",
	aliases = {"Cypriot Turkish"},
}

-- Other lects

m["alv-kro"] = {
	"克羅曼蒂語",
	1093206,
	"cpe-mar",
	aliases = {"Kromanti"},
}

m["bat-pro"] = {
	"原始波羅的語",
	1703347,
	"ine-bsl-pro",
	aliases = {"Proto-Baltic"},
}

m["es-lun"] = {
	"Lunfardo",
	1401612,
	"es",
	aliases = {"Lunfardo"},
}

m["fiu-pro"] = {
	"原始芬蘭-烏戈爾語",
	79890,
	"urj-pro",
	aliases = {"Proto-Finno-Ugric"},
}

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

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

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

m["iro-oon"] = {
	"古奧農達加語",
	nil,
	"ono",
	aliases = {"Old Onondaga"},
}

m["okz-ang"] = {
	"Angkorian Old Khmer",
	9205,
	"okz",
	wikipedia_article = "Khmer language#Historical periods",
	aliases = {"Angkorian Old Khmer"},
}

m["okz-pre"] = {
	"Pre-Angkorian Old Khmer",
	9205,
	"okz",
	wikipedia_article = "Khmer language#Historical periods",
	aliases = {"Pre-Angkorian Old Khmer"},
}

m["mul-tax"] = {
	"分類學名稱",
	nil,
	"mul",
	aliases = {"taxonomic name"},
}

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

m["tai-shz"] = {
	"上思壯語",
	13216,
	"za",
	aliases = {"Shangsi Zhuang"},
}

m["tbq-pro"] = {
	"原始藏緬語",
	7251864,
	"sit-pro",
	aliases = {"Proto-Tibeto-Burman"},
}

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

m["und-tdl"] = {
	"圖爾杜利語",
	nil,
	"und",
	wikipedia_article = "Turduli",
	aliases = {"Turduli"},
}

m["und-tdt"] = {
	"圖爾德泰尼語",
	nil,
	"und",
	wikipedia_article = "Turdetani",
	aliases = {"Turdetani"},
}

m["und-xnu"] = {
	"匈奴語",
	10901674,
	"und",
	wikipedia_article = "Xiongnu",
	aliases = {"Xiongnu"},
}

m["urj-fpr-pro"] = {
	"原始芬蘭-彼爾姆語",
	nil,
	"urj-pro",
	aliases = {"Proto-Finno-Permic"},
}

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

m["th-new"] = {
	"Hacked Thai", -- temporary for testing new translit/display methods
	nil,
	"th",
	translit = "User:Benwing2/th-scraping-translit",
	display_text = "User:Benwing2/th-scraping-translit",
	entry_name = "User:Benwing2/th-scraping-translit",
	preprocess_links = "User:Benwing2/th-scraping-translit",
	aliases = {"Hacked Thai"},
}

m = require("Module:languages").addDefaultTypes(m, false, "etymology-only")
return require("Module:languages").finalizeEtymologyData(m)