模組:Etymology languages/data
- 下列說明文檔位於Module:Etymology languages/data/doc。[編輯]
- 相關鏈接:根頁面 • 根頁面的子頁面 • 本頁面的子頁面 • 鏈入 • 嵌入包含 • 測試用例 • 沙盒
在"incategory ..."過濾器後添加搜索文字:
該模塊包含了語言代碼之定義和元數據。欲見其他相關資訊,請參見附录:語言列表。
此模塊不得直接用於其他模塊或模板。資料與數據應通過Module:languages獲取。
必填值
表中的每個項目必須包含以下索引字段:
1
- 該語言的「規範」名稱,舊版模塊中寫作
canonicalName
。這是維基詞典詞條和分類名稱中使用的名字。 2
- 該語言在維基數據的ID(以Q開頭)。這取代了舊的
wikipedia_article
屬性。若該語言在維基數據沒有對應的實體,可將其設為nil
。
選填值
3
- 該語言所屬的語系,請參見Wiktionary:語系。
屬性 entry_name
和 sort_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 (ōs
→os
), as these are not used in the normal written form of these languages. This is used bymakeEntryName
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), andine-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 anancestors
table; Proto-Indo-European will be automatically returned as its ancestor by thegetAncestors
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 = {}
-- Albanian varieties
m["aln"] = {
canonicalName = "蓋格阿爾巴尼亞語",
otherNames = {"Gheg"},
parent = "sq",
wikidata_item = "Q181037",
}
m["aae"] = {
canonicalName = "Arbëreshë Albanian",
otherNames = {"Arbëreshë", "Arbëresh"},
parent = "sq",
wikidata_item = "Q1075302",
}
m["aat"] = {
canonicalName = "Arvanitika Albanian",
otherNames = {"Arvanitika"},
parent = "sq",
wikidata_item = "Q29347",
}
m["als"] = {
canonicalName = "托斯克阿爾巴尼亞語",
aliases = {"Tosk"},
parent = "sq",
wikidata_item = "Q180937",
}
-- Akkadian varieties
m["akk-old"] = {
canonicalName = "古阿卡德語",
parent = "akk",
}
m["akk-obb"] = {
canonicalName = "古巴比倫語",
parent = "akk",
}
m["akk-oas"] = {
canonicalName = "古亞述語",
parent = "akk",
}
m["akk-mbb"] = {
canonicalName = "中古巴比倫語",
parent = "akk",
}
m["akk-mas"] = {
canonicalName = "中古亞述語",
parent = "akk",
}
m["akk-nbb"] = {
canonicalName = "新巴比倫語",
parent = "akk",
}
m["akk-nas"] = {
canonicalName = "新亞述語",
parent = "akk",
}
m["akk-lbb"] = {
canonicalName = "晚期巴比倫語",
parent = "akk",
}
-- Aramaic varieties
m["arc-bib"] = {
canonicalName = "聖經亞拉姆語",
parent = "arc",
}
m["arc-imp"] = {
canonicalName = "Imperial Aramaic",
parent = "arc",
}
m["arc-hat"] = {
canonicalName = "Hatran Aramaic",
parent = "arc",
}
m["arc-jla"] = {
canonicalName = "猶太書面亞拉姆語",
parent = "arc",
wikidata_item = "Q105952842",
}
m["arc-old"] = {
canonicalName = "古亞拉姆語",
parent = "arc",
wikidata_item = "Q3398392",
}
m["sem-jar"] = {
canonicalName = "Jewish Aramaic",
otherNames = {"Judeo-Aramaic"},
parent = "arc",
wikidata_item = "Q2633045",
}
m["arc-pal"] = {
canonicalName = "Palmyrenean Aramaic",
parent = "arc",
}
m["tmr"] = {
canonicalName = "猶太巴比倫亞拉姆語",
parent = "arc",
wikidata_item = "Q33407",
}
m["jpa"] = {
canonicalName = "猶太巴勒斯坦亞拉姆語",
otherNames = {"Galilean Aramaic"},
parent = "arc",
wikidata_item = "Q948909",
}
m["arc-cpa"] = {
canonicalName = "Christian Palestinian Aramaic",
aliases = {"Melkite Aramaic", "Palestinian Syriac", "Syropalestinian Aramaic"},
parent = "arc",
wikidata_item = "Q60790119",
}
-- Bantu varieties
m["bnt-cmn"] = {
canonicalName = "共同班圖語",
parent = "bnt-pro",
}
-- Catalan varieties
m["ca-val"] = {
canonicalName = "瓦倫西亞語",
otherNames = {"巴倫西亞語"},
parent = "ca",
wikidata_item = "Q32641",
}
-- Chinese varieties
m["och-ear"] = {
canonicalName = "早期上古漢語",
parent = "och",
}
m["och-lat"] = {
canonicalName = "晚期上古漢語",
parent = "och",
}
m["ltc-ear"] = {
canonicalName = "早期中古漢語",
parent = "ltc",
}
m["ltc-lat"] = {
canonicalName = "晚期中古漢語",
parent = "ltc",
}
m["cmn-ear"] = {
canonicalName = "早期官話",
parent = "cmn",
}
m["wuu-sha"] = {
canonicalName = "上海話",
parent = "wuu",
wikidata_item = "Q36718",
}
m["Sha."] = m["wuu-sha"]
m["hsn-old"] = {
canonicalName = "古湘語",
otherNames = {"婁邵話"},
parent = "hsn",
wikidata_item = "Q7085453",
}
m["nan-hai"] = {
canonicalName = "海南話",
parent = "nan",
wikidata_item = "Q934541",
}
m["nan-hok"] = {
canonicalName = "泉漳話",
parent = "nan",
wikidata_item = "Q1624231",
}
m["nan-xm"] = {
canonicalName = "廈門話",
parent = "nan-hok",
wikidata_item = "Q68744",
}
m["nan-zz"] = {
canonicalName = "漳州話",
parent = "nan-hok",
}
m["nan-qz"] = {
canonicalName = "泉州話",
parent = "nan-hok",
}
m["nan-jj"] = {
canonicalName = "晉江話",
parent = "nan-qz",
}
m["nan-ph"] = {
canonicalName = "咱人話",
parent = "nan-jj",
wikidata_item = "Q3236692",
}
-- Chinese romanization
m["cmn-pinyin"] = {
canonicalName = "漢語拼音",
aliases = {"拼音"},
parent = "cmn",
wikidata_item = 42222,
}
m["cmn-tongyong"] = {
canonicalName = "通用拼音",
parent = "cmn",
wikidata_item = 700739,
}
m["cmn-wadegile"] = {
canonicalName = "威妥瑪拼音",
aliases = {"威式拼音", "韋氏拼音"},
parent = "cmn",
wikidata_item = 208442,
}
-- Coptic varieties
m["cop-akh"] = {
canonicalName = "Akhmimic Coptic",
parent = "cop",
}
m["cop-boh"] = {
canonicalName = "Bohairic Coptic",
otherNames = {"Memphitic Coptic"},
parent = "cop",
wikidata_item = "Q890733",
}
m["cop-ggg"] = {
canonicalName = "Coptic Dialect G",
parent = "cop",
}
m["cop-jjj"] = {
canonicalName = "Coptic Dialect J",
parent = "cop",
}
m["cop-kkk"] = {
canonicalName = "Coptic Dialect K",
parent = "cop",
}
m["cop-ppp"] = {
canonicalName = "Coptic Dialect P",
otherNames = {"Proto-Theban Coptic", "Palaeo-Theban Coptic"},
parent = "cop",
}
m["cop-fay"] = {
canonicalName = "法尤姆科普特語",
otherNames = {"Faiyumic Coptic", "Fayumic Coptic", "Bashmuric Coptic"},
parent = "cop",
wikidata_item = "Q1399115",
}
m["cop-her"] = {
canonicalName = "Hermopolitan Coptic",
otherNames = {"Coptic Dialect H", "Ashmuninic Coptic"},
parent = "cop",
}
m["cop-lyc"] = {
canonicalName = "Lycopolitan Coptic",
otherNames = {"Subakhmimic Coptic", "Assiutic Coptic", "Asyutic Coptic", "Lyco-Diospolitan Coptic"},
parent = "cop",
}
m["cop-old"] = {
canonicalName = "古科普特語",
parent = "cop",
}
m["cop-oxy"] = {
canonicalName = "Oxyrhynchite Coptic",
otherNames = {"Mesokemic Coptic", "Middle Egyptian Coptic"},
parent = "cop",
}
m["cop-ply"] = {
canonicalName = "Proto-Lycopolitan Coptic",
otherNames = {"Coptic Dialect i", "Proto-Lyco-Diospolitan Coptic"},
parent = "cop",
}
m["cop-sah"] = {
canonicalName = "Sahidic Coptic",
otherNames = {"Thebaic Coptic"},
parent = "cop",
wikidata_item = "Q2645851",
}
-- Egyptian varieties
m["egy-old"] = {
canonicalName = "上古埃及語",
parent = "egy",
wikidata_item = "Q447117",
}
m["egy-mid"] = {
canonicalName = "中古埃及語",
otherNames = {"Classical Egyptian"},
parent = "egy",
wikidata_item = "Q657330",
}
m["egy-nmi"] = {
canonicalName = "Neo-Middle Egyptian",
--otherNames = {"Égyptien de tradition", "Traditional Egyptian"},
parent = "egy",
}
m["egy-lat"] = {
canonicalName = "晚期埃及語",
parent = "egy",
wikidata_item = "Q1852329",
}
-- Elamite varieties
m["elx-old"] = {
canonicalName = "Old Elamite",
parent = "elx",
}
m["elx-mid"] = {
canonicalName = "Middle Elamite",
parent = "elx",
}
m["elx-neo"] = {
canonicalName = "Neo-Elamite",
parent = "elx",
}
m["elx-ach"] = {
canonicalName = "Achaemenid Elamite",
parent = "elx",
}
-- English, Scots and Old English varieties
m["en-GB"] = {
canonicalName = "英國英語",
parent = "en",
wikidata_item = "Q7979",
}
m["British English"] = m["en-GB"]
m["BE."] = m["en-GB"]
m["en-US"] = {
canonicalName = "美國英語",
parent = "en",
wikidata_item = "Q7976",
}
m["American English"] = m["en-US"]
m["AE."] = m["en-US"]
m["en-geo"] = {
canonicalName = "喬迪英語",
parent = "en",
}
-- Scots varieties
m["sco-osc"] = {
canonicalName = "早期蘇格蘭語",
parent = "enm",
wikidata_item = "Q5326738",
}
m["Early Scots"] = m["sco-osc"]
m["Old Scots"] = m["sco-osc"]
m["O.Sc."] = m["sco-osc"]
m["sco-smi"] = {
canonicalName = "中古蘇格蘭語",
parent = "sco-osc",
wikidata_item = "Q3327000",
}
m["Middle Scots"] = m["sco-smi"]
m["Mid.Sc."] = m["sco-smi"]
m["sco-ins"] = {
canonicalName = "島嶼蘇格蘭語",
parent = "sco",
wikidata_item = "Q16919205",
}
m["Insular Scots"] = m["sco-ins"]
m["Ins.Sc."] = m["sco-ins"]
m["sco-uls"] = {
canonicalName = "阿爾斯特蘇格蘭語",
parent = "sco",
wikidata_item = "Q201966",
}
m["Ulster Scots"] = m["sco-uls"]
m["Uls.Sc."] = m["sco-uls"]
m["sco-nor"] = {
canonicalName = "北部蘇格蘭語",
parent = "sco",
wikidata_item = "Q16928150",
}
m["Northern Scots"] = m["sco-nor"]
m["Nor.Sc."] = m["sco-nor"]
m["sco-sou"] = {
canonicalName = "南部蘇格蘭語",
parent = "sco",
wikidata_item = "Q7570457",
}
m["Southern Scots"] = m["sco-sou"]
m["Borders Scots"] = m["sco-sou"]
m["Sou.Sc."] = m["sco-sou"]
-- Middle English varieties
m["enm-nor"] = {
canonicalName = "北部中古英語",
otherNames = {"Northern Middle English", "Northumbrian Middle English"},
parent = "enm",
}
-- Old English varieties
-- Includes both Mercian and Northumbrian.
m["ang-ang"] = {
canonicalName = "盎格利亞古英語",
parent = "ang",
}
m["ang-mer"] = {
canonicalName = "麥西亞古英語",
parent = "ang",
}
m["ang-nor"] = {
canonicalName = "諾森伯蘭古英語",
parent = "ang",
wikidata_item = "Q1798915",
}
--[[
m["ang-wsx"] = {
canonicalName = "西薩克森古英語",
otherNames = {"West Saxon Old English"},
parent = "ang",
}
]]
-- French and Norman varieties
m["fro-nor"] = {
canonicalName = "古諾曼語",
otherNames = {"古諾曼法語"},
parent = "fro",
wikidata_item = "Q2044917",
}
m["Old Northern French"] = m["fro-nor"]
m["ONF."] = m["fro-nor"]
m["fro-pic"] = {
canonicalName = "庇卡底古法語",
parent = "fro",
}
m["xno"] = {
canonicalName = "盎格魯-諾曼語",
parent = "fro",
wikidata_item = "Q35214",
}
m["fr-CA"] = {
canonicalName = "加拿大法語",
parent = "fr",
wikidata_item = "Q1450506",
}
m["Canadian French"] = m["fr-CA"]
m["CF."] = m["fr-CA"]
m["fr-aca"] = {
canonicalName = "阿卡迪亞法語",
parent = "fr",
wikidata_item = "Q415109",
}
m["Acadian French"] = m["fr-aca"]
m["fra-aca"] = m["fr-aca"]
m["frc"] = {
canonicalName = "卡郡法語",
otherNames = {"路易斯安那法語"},
parent = "fr",
wikidata_item = "Q880301",
}
m["ht-sdm"] = {
canonicalName = "聖多明戈克里奧爾法語",
parent = "ht",
}
-- Norman varieties
m["roa-grn"] = {
canonicalName = "根西諾曼語",
parent = "nrf",
wikidata_item = "Q56428",
}
m["roa-jer"] = {
canonicalName = "澤西諾曼語",
parent = "nrf",
wikidata_item = "Q56430",
}
m["nrf-jer"] = m["roa-jer"]
-- Brythonic
m["bry-ear"] = {
canonicalName = "早期布立吞語",
otherNames = {"Early Brythonic"},
parent = "cel-bry-pro",
}
m["bry-lat"] = {
canonicalName = "晚期布立吞語",
otherNames = {"Late Brythonic"},
parent = "cel-bry-pro",
}
-- Gaulish
m["xcg"] = {
canonicalName = "山南高盧語",
otherNames = {"Cisalpine Gaulish"},
parent = "cel-gau",
wikidata_item = "Q3832927",
}
m["xtg"] = {
canonicalName = "山北高盧語",
otherNames = {"Transalpine Gaulish"},
parent = "cel-gau",
wikidata_item = "Q29977",
}
-- Germanic varieties
-- (modern) German varieties
m["de-AT"] = {
canonicalName = "奧地利德語",
parent = "de",
wikidata_item = "Q306626",
}
m["Austrian German"] = m["de-AT"]
m["AG."] = m["de-AT"]
m["de-AT-vie"] = {
canonicalName = "維也納德語",
parent = "de-AT",
wikidata_item = "Q56474",
}
m["Viennese German"] = m["de-AT-vie"]
m["VG."] = m["de-AT-vie"]
m["de-CH"] = {
canonicalName = "瑞士高地德語",
aliases = {"瑞士標準德語", "Schweizer Hochdeutsch"},
parent = "de",
wikidata_item = "Q1366643",
}
m["ksh"] = {
canonicalName = "科隆語",
parent = "gmw-cfr",
wikidata_item = "Q4624",
}
m["Kölsch"] = m["ksh"]
m["pfl"] = {
canonicalName = "普法爾茨德語",
--otherNames = {"Pfälzisch", "Pälzisch", "Palatinate German"},
parent = "gmw-rfr",
wikidata_item = "Q23014",
}
m["sli"] = {
canonicalName = "西里西亞德語",
--otherNames = {"Silesian"},
parent = "gmw-ecg",
wikidata_item = "Q152965",
}
m["sxu"] = {
canonicalName = "上薩克森德語",
parent = "gmw-ecg",
wikidata_item = "Q699284",
}
-- Old High German varieties
m["lng"] = {
canonicalName = "古倫巴底語",
parent = "goh",
wikidata_item = "Q35972",
}
m["Lombardic"] = m["lng"]
m["goh-lng"] = m["lng"]
-- Old Norse varieties
m["non-oen"] = {
canonicalName = "古東諾爾斯語",
otherNames = {"Old East Norse"},
parent = "non",
wikidata_item = "Q10498031",
}
m["non-ogt"] = {
canonicalName = "古哥特蘭語",
--otherNames = {"Old Gotlandic"},
parent = "non",
wikidata_item = "Q1133488",
}
m["non-own"] = {
canonicalName = "古西諾爾斯語",
otherNames = {"Old West Norse"},
parent = "non",
wikidata_item = "Q10498026",
}
-- Greek varieties
m["qfa-sub-grc"] = {
canonicalName = "前希臘語",
otherNames = {"Pre-Greek"},
parent = "qfa-sub",
wikidata_item = "Q965052",
}
m["pregrc"] = m["qfa-sub-grc"]
m["grc-boi"] = {
canonicalName = "維奧蒂亞希臘語",
parent = "grc",
wikidata_item = "Q406373",
}
m["grc-koi"] = {
canonicalName = "通用希臘語",
--otherNames = {"Hellenistic Greek"},
parent = "grc",
wikidata_item = "Q107358",
}
m["Koine"] = m["grc-koi"]
m["gkm"] = {
canonicalName = "中古希臘語",
otherNames = {"拜占庭希臘語"},
parent = "grc",
wikidata_item = "Q36387",
}
m["Medieval Greek"] = m["gkm"]
m["grc-dor"] = {
canonicalName = "多利安希臘語",
parent = "grc",
wikidata_item = "Q285494",
}
m["grc-att"] = {
canonicalName = "阿提卡希臘語",
parent = "grc",
wikidata_item = "Q506588",
}
m["grc-ion"] = {
canonicalName = "愛奧尼亞希臘語",
parent = "grc",
wikidata_item = "Q504165",
}
m["grc-pam"] = {
canonicalName = "潘菲利亞希臘語",
parent = "grc",
wikidata_item = "Q2271793",
}
m["grc-kre"] = { -- code used elsewhere: see [[Module:grc:Dialects]]
canonicalName = "克里特古希臘語", -- to distinguish from Cretan Greek below
parent = "grc",
}
m["grc-arp"] = {
canonicalName = "阿卡迪亞-塞浦路斯希臘語",
parent = "grc",
wikidata_item = "Q499602",
}
m["el-arc"] = {
canonicalName = "阿卡迪亞希臘語",
parent = "el",
}
m["el-cyp"] = {
canonicalName = "塞浦路斯希臘語",
parent = "el",
}
m["el-pap"] = {
canonicalName = "帕福斯希臘語",
parent = "el",
}
m["grc-aeo"] = {
canonicalName = "伊奧利亞希臘語",
otherNames = {"Lesbic Greek", "Lesbian Greek", "Aeolian Greek"},
parent = "grc",
wikidata_item = "Q406373",
}
m["loc-ozo"] = {
canonicalName = "Ozolian Locrian",
parent = "el",
}
m["loc-opu"] = {
canonicalName = "Opuntian Locrian",
parent = "el",
}
m["el-ths"] = {
canonicalName = "Thessalian Greek",
parent = "el",
wikidata_item = "Q406373",
}
m["grc-ela"] = {
canonicalName = "Elean Greek",
parent = "grc",
}
m["grc-epc"] = {
canonicalName = "史詩希臘語",
parent = "grc",
wikidata_item = "Q990062",
}
m["el-crt"] = {
canonicalName = "克里特希臘語",
parent = "el",
wikidata_item = "Q588306",
}
-- Hebrew varieties
m["hbo"] = {
canonicalName = "聖經希伯來語",
otherNames = {"古典希伯來語"},
parent = "he",
wikidata_item = "Q1982248",
}
m["he-mis"] = {
canonicalName ="米書拿猶太語",
parent = "he",
wikidata_item = "Q1649362",
}
m["he-med"] = {
canonicalName ="中世紀希伯來語",
parent = "he",
wikidata_item = "Q2712572",
}
m["he-IL"] = {
canonicalName = "現代以色列希伯來語",
parent = "he",
wikidata_item = "Q8141",
}
m["bsh-kat"] = {
canonicalName ="Kativiri",
otherNames = {"Katə́viri"},
parent = "bsh",
wikidata_item ="Q2605045",
}
m["bsh-kam"] = {
canonicalName ="勘維里語",
otherNames = {"Kamvíri"},
parent = "bsh",
wikidata_item ="Q1193495",
}
m["xvi"] = m["bsh-kam"]
m["bsh-mum"] = {
canonicalName ="Mumviri",
otherNames = {" Mumvíri"},
parent = "bsh"
}
-- Iranian varieties:
-- Historical and current Iranian dialects
m["ae-old"] = {
canonicalName = "古阿維斯陀語",
otherNames = {"Gathic Avestan"},
parent = "ae",
wikidata_item = "Q29572",
}
m["ae-yng"] = {
canonicalName = "Younger Avestan",
otherNames = {"Young Avestan"},
parent = "ae-old",
}
m["bcc"] = {
canonicalName = "南俾路支語",
parent = "bal",
wikidata_item = "Q33049",
}
m["bal-sou"] = m["bcc"]
m["bgp"] = {
canonicalName = "東俾路支語",
parent = "bal",
wikidata_item = "Q33049",
}
m["bal-eas"] = m["bgp"]
m["bgn"] = {
canonicalName = "西俾路支語",
parent = "bal",
wikidata_item = "Q33049",
}
m["bal-wes"] = m["bgn"]
m["bsg-ban"] = {
canonicalName = "Bandari",
parent = "bsg",
}
m["bsg-bas"] = {
canonicalName = "Bashkardi",
parent = "bsg",
}
m["bsg-hor"] = {
canonicalName = "霍爾木茲語",
parent = "bsg",
}
m["bsg-min"] = {
canonicalName = "Minabi",
parent = "bsg",
}
m["ira-mid"] = {
canonicalName = "中古伊朗語",
parent = "ira",
wikidata_item = "Q33527",
}
m["MIr."] = m["ira-mid"]
m["ira-old"] = {
canonicalName = "古伊朗語",
parent = "ira",
wikidata_item = "Q33527",
}
m["OIr."] = m["ira-old"]
m["kho-old"] = {
canonicalName = "古和田語",
parent = "kho",
}
m["kho-lat"] = {
canonicalName = "晚期和田語",
parent = "kho-old",
}
m["ps-nwe"] = {
canonicalName = "西北普什圖語",
parent = "ps",
}
m["ps-cgi"] = {
canonicalName = "Central Ghilzay",
parent = "ps-nwe",
}
m["ps-mah"] = {
canonicalName = "Mahsudi",
parent = "ps-nwe",
}
m["ps-nea"] = {
canonicalName = "東北普什圖語",
parent = "ps",
}
m["ps-afr"] = {
canonicalName = "Afridi",
parent = "ps-nea",
}
m["ps-bng"] = {
canonicalName = "Bangash",
parent = "ps-nea",
}
m["ps-xat"] = {
canonicalName = "Khatak",
parent = "ps-nea",
}
m["ps-pes"] = {
canonicalName = "白沙瓦語",
parent = "ps-nea",
}
m["ps-sea"] = {
canonicalName = "東南普什圖語",
parent = "ps",
}
m["ps-ban"] = {
canonicalName = "Bannu",
parent = "ps-sea",
}
m["ps-kak"] = {
canonicalName = "Kakari",
parent = "ps-sea",
}
m["ps-ser"] = {
canonicalName = "Sher",
parent = "ps-sea",
}
m["ps-waz"] = {
canonicalName = "Waziri",
parent = "ps-sea",
}
m["ps-swe"] = {
canonicalName = "西南普什圖語",
parent = "ps",
}
m["ps-kan"] = {
canonicalName = "Kandahari",
parent = "ps-swe",
}
m["ps-jad"] = {
canonicalName = "Jadrani",
parent = "ps",
}
m["xmn"] = {
canonicalName = "摩尼中古波斯語",
otherNames = {"Manichaean Middle Persian"},
parent = "pal",
}
m["fa-ira"] = {
canonicalName = "伊朗波斯語",
otherNames = {"現代波斯語"},
parent = "fa",
}
m["fa-cls"] = {
canonicalName = "古典波斯語",
parent = "fa",
wikidata_item = "Q9168",
}
m["prs"] = {
canonicalName = "達利語",
otherNames = {"Dari Persian", "Eastern Persian", "阿富汗波斯語"},
parent = "fa",
wikidata_item = "Q178440",
}
m["os-dig"] = {
canonicalName = "迪戈爾奧塞梯語",
aliases = {"Digoron"},
parent = "os",
wikidata_item = "Q3027861",
}
m["os-iro"] = {
canonicalName = "伊隆奧塞梯語",
parent = "os",
}
m["sog-ear"] = {
canonicalName = "早期粟特語",
parent = "sog",
}
m["sog-lat"] = {
canonicalName = "晚期粟特語",
parent = "sog-ear",
}
m["oru-kan"] = {
canonicalName = "Kaniguram",
parent = "oru",
wikidata_item = "Q6363164",
}
m["oru-log"] = {
canonicalName = "Logar",
parent = "oru",
}
m["xln"] = {
canonicalName = "阿蘭語",
aliases = {"Alanic"},
parent = "oos",
}
m["rdb-rud"] = {
canonicalName = "Rudbari",
parent = "rdb",
}
m["rdb-jir"] = {
canonicalName = "Jirofti",
parent = "rdb",
}
m["rdb-kah"] = {
canonicalName = "Kahnuji",
parent = "rdb",
}
-- Kartvelian varieties
m["ka-mid"] = {
canonicalName = "中古格魯吉亞語",
parent = "ka",
ancestral_to_parent = true,
}
-- Korean varieties
m["oko-lat"] = {
canonicalName = "古朝鮮語",
parent = "oko",
}
m["okm-ear"] = {
canonicalName = "中世朝鮮語",
parent = "okm",
}
m["ko-c"] = {
canonicalName = "中部方言",
parent = "ko",
}
m["ko-se"] = {
canonicalName = "慶尚方言",
parent = "ko",
}
m["ko-sw"] = {
canonicalName = "全羅道方言",
parent = "ko",
}
m["ko-nw"] = {
canonicalName = "平安道方言",
parent = "ko",
}
m["ko-ne"] = {
canonicalName = "咸鏡道方言",
parent = "ko",
}
m["ko-yuk"] = {
canonicalName = "六鎮方言",
parent = "ko",
}
-- Occitan varieties
m["oc-auv"] = {
canonicalName = "奧弗涅方言",
aliases = {"Auvergnat", "Auvernhat", "Auvergnese"},
parent = "oc",
wikidata_item = 35359,
}
m["oc-gas"] = {
canonicalName = "加斯科涅語",
parent = "oc",
aliases = {"Gascon"},
wikidata_item = 35735,
}
-- standardized dialect of Gascon
m["oc-ara"] = {
canonicalName = "阿蘭尼語",
aliases = {"阿蘭方言", "Aranese"},
parent = "oc-gas",
wikidata_item = 10196,
}
m["oc-lan"] = {
canonicalName = "朗格多克語",
aliases = {"隆格多克方言", "Languedocien", "Lengadocian"},
parent = "oc",
wikidata_item = 942602,
}
m["oc-lim"] = {
canonicalName = "利穆贊語",
aliases = {"Limousin"},
parent = "oc",
wikidata_item = 427614,
}
m["oc-pro"] = {
canonicalName = "普羅旺斯方言",
aliases = {"Provençal", "Provencal"},
parent = "oc",
wikidata_item = 241243,
}
m["prv"] = m["oc-pro"]
m["oc-pro-old"] = {
canonicalName = "古普羅旺斯語",
parent = "pro",
aliases = {
"Old Provençal",
},
wikidata_item = 2779185,
}
m["oc-viv"] = {
canonicalName = "維瓦羅-阿爾卑斯方言",
parent = "oc",
aliases = {
"Vivaro-Alpine", "維瓦萊-阿爾卑斯方言",
},
wikidata_item = 1649613,
}
m["oc-jud"] = {
canonicalName = "舒亞迪語",
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",
},
parent = "oc",
wikidata_item = 56472,
}
-- Southwestern Fars lects
m["fay-bur"] = {
canonicalName = "Burenjani",
parent = "fay",
}
m["fay-bsh"] = {
canonicalName = "Bushehri",
parent = "fay",
}
m["fay-dsh"] = {
canonicalName = "Dashtaki",
parent = "fay",
}
m["fay-dav"] = {
canonicalName = "Davani",
parent = "fay",
wikidata_item = "Q5228140",
}
m["fay-eze"] = {
canonicalName = "Emamzada Esma’ili",
parent = "fay",
}
m["fay-gav"] = {
canonicalName = "Gavkoshaki",
parent = "fay",
}
m["fay-kho"] = {
canonicalName = "Khollari",
parent = "fay",
}
m["fay-kon"] = {
canonicalName = "Kondazi",
parent = "fay",
}
m["fay-kzo"] = {
canonicalName = "Old Kazeruni",
parent = "fay",
}
m["fay-mas"] = {
canonicalName = "Masarami",
parent = "fay",
}
m["fay-pap"] = {
canonicalName = "Papuni",
parent = "fay",
}
m["fay-sam"] = {
canonicalName = "Samghani",
parent = "fay",
}
m["fay-shr"] = {
canonicalName = "設拉子語",
parent = "fay",
}
m["fay-sho"] = {
canonicalName = "古設拉子語",
parent = "fay",
}
m["fay-sam"] = {
canonicalName = "Samghani",
parent = "fay",
}
m["fay-kar"] = {
canonicalName = "Khargi",
parent = "fay",
}
m["fay-sor"] = {
canonicalName = "Sorkhi",
parent = "fay",
}
-- Tafreshi lects
m["xme-amo"] = {
canonicalName = "Amorehi",
parent = "xme-taf",
}
m["xme-ast"] = {
canonicalName = "阿什提揚語",
parent = "xme-ker",
wikipedia_article = "Ashtiani language",
wikidata_item = "Q3436590",
}
m["atn"] = m["xme-ast"]
m["xme-bor"] = {
canonicalName = "Borujerdi",
parent = "xme-taf",
}
m["xme-ham"] = {
canonicalName = "Hamadani",
parent = "xme-ker",
wikidata_item = "Q6302426",
}
m["xme-kah"] = {
canonicalName = "Kahaki",
parent = "xme-taf",
}
m["xme-vaf"] = {
canonicalName = "瓦夫斯語",
otherNames = {"Vafsi"},
parent = "xme-taf",
wikidata_item = "Q32611",
}
m["vaf"] = m["xme-vaf"]
-- Kermanic lects
m["xme-xun"] = {
canonicalName = "昆薩里語",
otherNames = {"Khunsari"},
parent = "xme-ker",
wikipedia_article = "Khunsari language",
wikidata_item = "Q6403030",
}
m["kfm"] = m["xme-xun"]
m["xme-mah"] = {
canonicalName = "Mahallati",
parent = "xme-ker",
}
m["xme-von"] = {
canonicalName = "Vonishuni",
parent = "xme-ker",
}
m["xme-bdr"] = {
canonicalName = "Badrudi",
parent = "xme-ker",
}
m["xme-del"] = {
canonicalName = "Delijani",
parent = "xme-ker",
}
m["xme-kas"] = {
canonicalName = "Kashani",
parent = "xme-ker",
}
m["xme-kes"] = {
canonicalName = "Kesehi",
parent = "xme-ker",
}
m["xme-mey"] = {
canonicalName = "Meymehi",
parent = "xme-ker",
}
m["xme-nat"] = {
canonicalName = "納坦茲語",
otherNames = {"Natanzi"},
parent = "xme-ker",
wikipedia_article = "Natanzi language",
wikidata_item = "Q6968399",
}
m["ntz"] = m["xme-nat"]
m["xme-abz"] = {
canonicalName = "Abuzeydabadi",
parent = "xme-ker",
}
m["xme-aby"] = {
canonicalName = "Abyanehi",
parent = "xme-ker",
}
m["xme-far"] = {
canonicalName = "Farizandi",
parent = "xme-ker",
}
m["xme-jow"] = {
canonicalName = "喬沙喀尼語",
otherNames = {"Jowshaqani"},
parent = "xme-ker",
}
m["xme-nas"] = {
canonicalName = "Nashalji",
parent = "xme-ker",
}
m["xme-qoh"] = {
canonicalName = "Qohrudi",
parent = "xme-ker",
}
m["xme-yar"] = {
canonicalName = "Yarandi",
parent = "xme-ker",
}
m["xme-soi"] = {
canonicalName = "Soi",
otherNames = {"Sohi"},
parent = "xme-ker",
wikipedia_article = "Soi language",
wikidata_item = "Q7930463",
}
m["soj"] = m["xme-soi"]
m["xme-tar"] = {
canonicalName = "Tari",
parent = "xme-ker",
}
m["xme-gaz"] = {
canonicalName = "Gazi",
parent = "xme-ker",
wikipedia_article = "Gazi language",
wikidata_item = "Q5529130",
}
m["gzi"] = m["xme-gaz"]
m["xme-sed"] = {
canonicalName = "Sedehi",
parent = "xme-ker",
}
m["xme-ard"] = {
canonicalName = "Ardestani",
parent = "xme-ker",
}
m["xme-zef"] = {
canonicalName = "Zefrehi",
parent = "xme-ker",
}
m["xme-isf"] = {
canonicalName = "Isfahani",
parent = "xme-ker",
}
m["xme-kaf"] = {
canonicalName = "Kafroni",
parent = "xme-ker",
}
m["xme-vrz"] = {
canonicalName = "Varzenehi",
parent = "xme-ker",
}
m["xme-xur"] = {
canonicalName = "Khuri",
parent = "xme-ker",
}
m["xme-nay"] = {
canonicalName = "Nayini",
parent = "xme-ker",
wikipedia_article = "Nayini language",
wikidata_item = "Q6983146",
}
m["nyq"] = m["xme-nay"]
m["xme-ana"] = {
canonicalName = "Anaraki",
parent = "xme-ker",
}
m["xme-dar"] = {
canonicalName = "瑣羅亞斯德達利語",
otherNames = {"Behdināni", "Gabri", "Gavrŭni", "Gabrōni"},
parent = "xme-ker",
wikidata_item = "Q32389",
}
m["gbz"] = m["xme-dar"]
m["xme-krm"] = {
canonicalName = "Kermani",
parent = "xme-ker",
}
m["xme-yaz"] = {
canonicalName = "Yazdi",
parent = "xme-ker",
}
m["xme-bid"] = {
canonicalName = "Bidhandi",
parent = "xme-ker",
}
m["xme-bij"] = {
canonicalName = "Bijagani",
parent = "xme-ker",
}
m["xme-cim"] = {
canonicalName = "Chimehi",
parent = "xme-ker",
}
m["xme-han"] = {
canonicalName = "Hanjani",
parent = "xme-ker",
}
m["xme-kom"] = {
canonicalName = "Komjani",
parent = "xme-ker",
}
m["xme-nar"] = {
canonicalName = "Naraqi",
parent = "xme-ker",
}
m["xme-qal"] = {
canonicalName = "Qalhari",
parent = "xme-ker",
}
m["xme-trh"] = {
canonicalName = "Tarehi",
parent = "xme-ker",
}
m["xme-val"] = {
canonicalName = "Valujerdi",
parent = "xme-ker",
}
m["xme-var"] = {
canonicalName = "Varani",
parent = "xme-ker",
}
m["xme-zor"] = {
canonicalName = "Zori",
parent = "xme-ker",
}
-- Shughni dialects
m["sgh-bro"] = {
canonicalName = "Bartangi-Oroshori",
parent = "sgh",
}
m["sgh-bar"] = {
canonicalName = "Bartangi",
parent = "sgh-bro",
}
m["sgh-oro"] = {
canonicalName = "Oroshori",
parent = "sgh-bro",
otherNames = {"Roshorvi"},
}
m["sgh-rsx"] = {
canonicalName = "Roshani-Khufi",
parent = "sgh",
}
m["sgh-xuf"] = {
canonicalName = "Khufi",
parent = "sgh-rsx",
}
m["sgh-ros"] = {
canonicalName = "Roshani",
parent = "sgh-rsx",
}
m["sgh-xgb"] = {
canonicalName = "Shughni-Bajui",
parent = "sgh",
}
m["sgh-xug"] = {
canonicalName = "Khughni",
parent = "sgh-xgb",
}
m["sgh-baj"] = {
canonicalName = "Bajui",
parent = "sgh-xgb",
}
-- Indo-Aryan varieties
m["inc-mit"] = {
canonicalName = "Mitanni",
parent = "inc-pro",
wikidata_item = "Q1986700",
}
m["awa-old"] = {
canonicalName = "古阿瓦德語",
parent = "awa",
}
m["bra-old"] = {
canonicalName = "Old Braj",
parent = "bra",
}
m["gu-kat"] = {
canonicalName = "卡提阿瓦語",
otherNames = {"Kathiyawadi Gujarati", "Kathiawadi"},
parent = "gu",
}
m["gu-lda"] = {
canonicalName = "Lisan ud-Dawat Gujarati",
otherNames = {"Lisan ud-Dawat", "LDA"},
parent = "gu",
}
m["hi-mum"] = {
canonicalName = "孟買印地語",
--otherNames = {"Mumbai Hindi", "Bambaiyya Hindi"},
parent = "hi",
wikidata_item = "Q3543151",
}
m["hi-mid"] = {
canonicalName = "中古印地語",
parent = "hi",
}
m["pa-old"] = {
canonicalName = "古旁遮普語",
parent = "pa",
}
m["bn-old"] = {
canonicalName = "古孟加拉語",
parent = "bn",
}
m["bn-mid"] = {
canonicalName = "中古孟加拉語",
parent = "bn",
}
m["or-old"] = {
canonicalName = "古奧利亞語",
parent = "or",
}
m["or-mid"] = {
canonicalName = "中古奧利亞語",
parent = "or",
}
m["sa-bhs"] = {
canonicalName = "佛教混合梵語",
parent = "sa",
wikidata_item = "Q248758",
}
m["sa-bra"] = {
canonicalName = "婆羅米梵語",
parent = "sa",
wikidata_item = "Q36858",
}
m["sa-cls"] = {
canonicalName = "古典梵語",
parent = "sa",
wikidata_item = "Q11059",
}
m["sa-neo"] = {
canonicalName = "新梵語",
parent = "sa",
wikidata_item = "Q11059",
}
m["sa-ved"] = {
canonicalName = "吠陀梵語",
parent = "sa",
wikidata_item = "Q36858",
}
m["si-med"] = {
canonicalName = "中世紀僧加羅語",
otherNames = {"Medieval Sinhala"},
parent = "si",
}
m["kok-mid"] = {
canonicalName = "中古孔卡尼語",
otherNames = {"中世紀孔卡尼語"},
parent = "kok",
}
m["kok-old"] = {
canonicalName = "古孔卡尼語",
otherNames = {"早期孔卡尼語"},
parent = "kok",
}
-- Prakrits
m["inc-pka"] = {
canonicalName = "Ardhamagadhi Prakrit",
aliases = {"Ardhamagadhi"},
parent = "inc-pra",
wikidata_item = "Q35217",
}
m["inc-elu"] = {
canonicalName = "Helu Prakrit",
aliases = {"Elu", "Elu Prakrit", "Helu"},
parent = "inc-pra",
wikidata_item = "Q15080869",
}
m["inc-khs"] = {
canonicalName = "Khasa Prakrit",
aliases = {"Khasa"},
parent = "inc-pra",
}
m["inc-pmg"] = {
canonicalName = "Magadhi Prakrit",
aliases = {"Magadhi"},
parent = "inc-pra",
wikidata_item = "Q2652214",
}
m["inc-pmh"] = {
canonicalName = "Maharastri Prakrit",
aliases = {"Maharashtri Prakrit", "Maharastri", "Maharashtri"},
parent = "inc-pra",
wikidata_item = "Q2586773",
}
m["inc-psi"] = {
canonicalName = "白夏基普拉克里特語",
aliases = {"Paisaci Prakrit", "Paisaci", "Paisachi"},
parent = "inc-pra",
wikidata_item = "Q2995607",
}
m["inc-pse"] = {
canonicalName = "索拉塞那語",
aliases = {"Sauraseni Prakrit", "Sauraseni", "Shauraseni"},
parent = "inc-pra",
wikidata_item = "Q2452885",
}
m["prk-avt"] = {
canonicalName = "Avanti",
aliases = {"Avanti Prakrit"},
parent = "inc-pra",
}
m["prc-prk"] = {
canonicalName = "Pracya",
aliases = {"Pracya Prakrit"},
parent = "inc-pra",
}
m["bhl-prk"] = {
canonicalName = "Bahliki",
aliases = {"Bahliki Prakrit"},
parent = "inc-pra",
}
m["dks-prk"] = {
canonicalName = "Daksinatya",
aliases = {"Daksinatya Prakrit"},
parent = "inc-pra",
}
m["skr-prk"] = {
canonicalName = "Sakari",
aliases = {"Sakari Prakrit"},
parent = "inc-pra",
}
m["cnd-prk"] = {
canonicalName = "Candali",
aliases = {"Candali Prakrit"},
parent = "inc-pra",
}
m["sbr-prk"] = {
canonicalName = "Sabari",
aliases = {"Sabari Prakrit"},
parent = "inc-pra",
}
m["abh-prk"] = {
canonicalName = "Abhiri",
aliases = {"Abhiri Prakrit"},
parent = "inc-pra",
}
m["drm-prk"] = {
canonicalName = "Dramili",
aliases = {"Dramili Prakrit"},
parent = "inc-pra",
}
m["odr-prk"] = {
canonicalName = "Odri",
aliases = {"Odri Prakrit"},
parent = "inc-pra",
}
-- Indian subcontinent languages
-- Dhivehi varieties
m["mlk-dv"] = {
canonicalName = "Mulaku Dhivehi",
otherNames = {"Mulaku Divehi", "Mulaku Bas"},
parent = "dv",
}
m["hvd-dv"] = {
canonicalName = "Huvadhu Dhivehi",
otherNames = {"Huvadhu Divehi", "Huvadhu Bas"},
parent = "dv",
}
m["add-dv"] = {
canonicalName = "Addu Dhivehi",
otherNames = {"Addu Divehi", "Addu Bas"},
parent = "dv",
}
-- Dravidian varieties
m["ta-mid"] = {
canonicalName = "中古泰米爾語",
parent = "ta",
wikidata_item = "Q20987434",
}
-- Prakrits
m["prk-avt"] = {
canonicalName = "Avanti",
otherNames = {"Avanti Prakrit"},
parent = "sa",
}
m["psc-prk"] = {
canonicalName = "Paisaci",
otherNames = {"Paisaci Prakrit"},
parent = "sa",
wikidata_item = "Q2995607",
}
m["prc-prk"] = {
canonicalName = "Pracya",
otherNames = {"Pracya Prakrit"},
parent = "sa",
}
m["bhl-prk"] = {
canonicalName = "Bahliki",
otherNames = {"Bahliki Prakrit"},
parent = "sa",
}
m["dks-prk"] = {
canonicalName = "Daksinatya",
otherNames = {"Daksinatya Prakrit"},
parent = "sa",
}
m["skr-prk"] = {
canonicalName = "Sakari",
otherNames = {"Sakari Prakrit"},
parent = "sa",
}
m["cnd-prk"] = {
canonicalName = "Candali",
otherNames = {"Candali Prakrit"},
parent = "sa",
}
m["sbr-prk"] = {
canonicalName = "Sabari",
otherNames = {"Sabari Prakrit"},
parent = "sa",
}
m["abh-prk"] = {
canonicalName = "Abhiri",
otherNames = {"Abhiri Prakrit"},
parent = "sa",
}
m["drm-prk"] = {
canonicalName = "Dramili",
otherNames = {"Dramili Prakrit"},
parent = "sa",
}
m["odr-prk"] = {
canonicalName = "Odri",
otherNames = {"Odri Prakrit"},
parent = "sa",
}
-- Italian, Latin and other Italic varieties
m["it-oit"] = {
canonicalName = "古意大利語",
parent = "it",
wikidata_item = "Q652",
}
m["roa-oit"] = m["it-oit"]
m["it-CH"] = {
canonicalName = "瑞士意大利語",
parent = "it",
wikidata_item = "Q672147",
}
m["Swiss Italian"] = m["it-CH"]
m["Switzerland Italian"] = m["it-CH"]
-- Latin varieties by period
m["itc-ola"] = {
canonicalName = "古拉丁語",
parent = "la",
otherNames = {"Old Latin"},
ancestral_to_parent = true,
wikidata_item = 12289,
}
m["la-cla"] = {
canonicalName = "古典拉丁語",
parent = "la",
otherNames = {"Classical Latin"},
wikidata_item = 253854,
}
m["古典拉丁語"] = m["la-cla"]
m["CL."] = m["la-cla"]
m["CL"] = m["la-cla"]
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"] = {
canonicalName = "教會拉丁語",
otherNames = {"Church Latin"},
parent = "la",
wikidata_item = "Q1247932",
}
m["Ecclesiastical Latin"] = m["la-ecc"]
m["EL."] = m["la-ecc"]
m["la-ren"] = {
canonicalName = "文藝復興拉丁語",
parent = "la",
wikidata_item = "Q499083",
}
m["Renaissance Latin"] = m["la-ren"]
m["RL."] = m["la-ren"]
m["la-new"] = {
canonicalName = "新拉丁語",
otherNames = {"Modern Latin"},
parent = "la",
wikidata_item = "Q1248221",
}
m["New Latin"] = m["la-new"]
m["NL."] = m["la-new"]
-- other Italic lects
m["osc-luc"] = {
canonicalName = "Lucanian",
parent = "osc",
}
m["osc-sam"] = {
canonicalName = "Samnite",
parent = "osc",
}
m["xum-her"] = {
canonicalName = "Hernician",
parent = "xum",
}
-- Portuguese varieties
m["pt-BR"] = {
canonicalName = "巴西葡萄牙語",
parent = "pt",
wikidata_item = "Q750553"
}
-- Spanish varieties
m["es-AR"] = {
canonicalName = "拉普拉塔河西班牙語",
parent = "es",
wikidata_item = "Q509780",
}
m["es-MX"] = {
canonicalName = "墨西哥西班牙語",
parent = "es",
wikidata_item = "Q616620",
}
m["es-US"] = {
canonicalName = "美國西班牙語",
aliases = {"US Spanish"},
parent = "es",
wikidata_item = "Q2301077",
}
--use label "US Spanish" to put Spanish terms in this category
-- Proto-West Germanic varieties
m["frk"] = {
canonicalName = "古法蘭克語",
parent = "gmw-pro",
wikidata_item = "Q10860505",
}
-- Iranian varieties:
m["qfa-sub-bma"] = {
canonicalName = "the BMAC substrate",
parent = "qfa-sub",
wikidata_item = "Q1054850",
}
-- Historical and current Iranian dialects
m["peo-ear"] = {
canonicalName = "早期古波斯語",
parent = "peo",
}
m["peo-lat"] = {
canonicalName = "晚期古波斯語",
parent = "peo",
}
m["pal-ear"] = {
canonicalName = "早期中古波斯語",
parent = "pal",
}
m["pal-lat"] = {
canonicalName = "晚期中古波斯語",
parent = "pal",
}
m["xme-azr"] = {
canonicalName = "古阿塞拜疆語",
aliases = {"Old Azeri", "Azari", "Azeri", "Āḏarī", "Adari", "Adhari"},
parent = "xme-ott",
}
m["xme-ttc-cen"] = {
canonicalName = "Central Tati",
parent = "xme-ott",
}
m["xme-ttc-eas"] = {
canonicalName = "Eastern Tati",
parent = "xme-ott",
}
m["xme-ttc-nor"] = {
canonicalName = "Northern Tati",
parent = "xme-ott",
}
m["xme-ttc-sou"] = {
canonicalName = "Southern Tati",
parent = "xme-ott",
}
m["xme-ttc-wes"] = {
canonicalName = "Western Tati",
parent = "xme-ott",
}
m["oos-ear"] = {
canonicalName = "早期古奧塞梯語",
parent = "oos",
}
m["oos-lat"] = {
canonicalName = "晚期古奧塞梯語",
parent = "oos",
}
-- Talysh lects
m["tly-cen"] = {
canonicalName = "中部塔利什語",
otherNames = {"Central Talysh"},
parent = "tly",
}
m["tly-asa"] = {
canonicalName = "Asalemi",
parent = "tly-cen",
}
m["tly-kar"] = {
canonicalName = "Karganrudi",
parent = "tly-cen",
}
m["tly-tul"] = {
canonicalName = "Tularudi",
parent = "tly-cen",
}
m["tly-tal"] = {
canonicalName = "Taleshdulabi",
parent = "tly-cen",
}
m["tly-nor"] = {
canonicalName = "北部塔利什語",
otherNames = {"Northern Talysh"},
parent = "tly",
}
m["tly-aze"] = {
canonicalName = "阿塞拜疆塔利什語",
otherNames = {"Azerbaijani Talysh"},
parent = "tly-nor",
}
m["tly-anb"] = {
canonicalName = "Anbarani",
parent = "tly-nor",
}
m["tly-sou"] = {
canonicalName = "南部塔利什語",
parent = "tly",
}
m["tly-fum"] = {
canonicalName = "Fumani",
parent = "tly-sou",
}
m["tly-msu"] = {
canonicalName = "Masulei",
parent = "tly-sou",
}
m["tly-msa"] = {
canonicalName = "Masali",
parent = "tly-sou",
}
m["tly-san"] = {
canonicalName = "Shandarmani",
parent = "tly-sou",
}
-- Ramandi lects
m["tks-ebr"] = {
canonicalName = "Ebrahimabadi",
parent = "tks",
}
m["tks-sag"] = {
canonicalName = "Sagzabadi",
parent = "tks",
}
m["tks-esf"] = {
canonicalName = "Esfarvarini",
parent = "tks",
}
m["tks-tak"] = {
canonicalName = "塔克斯坦語",
otherNames = {"Takestani"},
parent = "tks",
}
m["tks-cal"] = {
canonicalName = "Chali",
parent = "tks",
}
m["tks-dan"] = {
canonicalName = "Danesfani",
parent = "tks",
}
m["tks-xia"] = {
canonicalName = "Khiaraji",
parent = "tks",
}
m["tks-xoz"] = {
canonicalName = "Khoznini",
parent = "tks",
}
-- Malay and related varieties
m["ms-old"] = {
canonicalName = "古馬來語",
otherNames = {"Old Malay"},
parent = "ms",
}
m["ms-cla"] = {
canonicalName = "古典馬來語",
otherNames = {"Classical Malay"},
parent = "ms",
}
m["pse-bsm"] = {
canonicalName = "Besemah",
parent = "pse",
}
m["bew-kot"] = {
canonicalName = "Betawi Kota",
parent = "bew",
}
m["bew-ora"] = {
canonicalName = "Betawi Ora",
parent = "bew",
}
m["bew-udi"] = {
canonicalName = "Betawi Udik",
parent = "bew",
}
-- Mongolic lects
m["mn-kha"] = {
canonicalName = "喀爾喀蒙古語",
parent = "mn",
wikidata_item = "Q6399808",
}
m["mn-ord"] = {
canonicalName = "鄂爾多斯蒙古語",
parent = "mn",
wikidata_item = "Q716904",
}
m["mn-cha"] = {
canonicalName = "察哈爾蒙古語",
parent = "mn",
wikidata_item = "Q907425",
}
m["mn-khr"] = {
canonicalName = "科爾沁蒙古語",
parent = "mn",
wikidata_item = "Q3196210",
}
m["mjg-huz"] = {
canonicalName = "互助土族語",
otherNames = {"Huzhu Monguor"},
parent = "mjg",
wikidata_item = "Q34214",
}
m["mjg-min"] = {
canonicalName = "民和土族語",
otherNames = {"Minhe Monguor"},
parent = "mjg",
wikidata_item = "Q34214",
}
-- Phillipine varieties
m["tl-old"] = {
canonicalName = "古他加祿語",
parent = "tl",
wikidata_item = "Q12967437",
}
m["tl-cls"] = {
canonicalName = "古典他加祿語",
parent = "tl",
}
-- Pre-Roman substrates
m["qfa-sub-ibe"] = {
canonicalName = "羅馬佔領前一種伊比利亞底層語言",
parent = "qfa-sub",
wikidata_item = "Q530799",
}
m["qfa-sub-bal"] = {
canonicalName = "羅馬佔領前一種巴爾幹底層語言",
parent = "qfa-sub",
}
-- Sardinian varieties
m["sc-src"] = {
canonicalName = "洛古多羅方言",
aliases = {"洛古多羅語", "勞古多羅語", "洛古多羅-薩丁尼亞語"},
parent = "sc",
wikidata_item = 777974,
}
m["sc-nuo"] = {
canonicalName = "努奧羅方言",
aliases = {"努奧羅-薩丁尼亞語"},
parent = "sc-src",
}
m["sc-sro"] = {
canonicalName = "坎皮達諾方言",
aliases = {"坎皮達諾-薩丁尼亞語"},
parent = "sc",
wikidata_item = 35348,
}
-- Slavic varieties
m["cs-ear"] = {
canonicalName = "早期現代捷克語",
parent = "cs",
}
m["cu-bgm"] = {
canonicalName = "中古保加利亞語",
parent = "cu",
wikidata_item = 12294897,
}
m["zle-mru"] = {
canonicalName = "中古俄語",
parent = "ru",
wikidata_item = 35228,
ancestral_to_parent= true,
}
m["zle-oru"] = m["zle-mru"]
m["zle-obe"] = {
canonicalName = "古白俄羅斯語",
parent = "orv",
wikidata_item = "Q13211",
}
m["zle-ouk"] = {
canonicalName = "古烏克蘭語",
parent = "orv",
wikidata_item = "Q13211",
}
---- Serbo-Croatian varieties
m["sh-cha"] = {
canonicalName = "查方言",
aliases = {"Chakavian Serbo-Croatian", "Čakavian"},
parent = "sh",
wikidata_item = 337565,
}
m["ckm"] = m["sh-cha"] -- ISO 639-3 code
m["sh-kaj"] = {
canonicalName = "卡伊方言",
aliases = {"Kajkavian Serbo-Croatian"},
parent = "sh",
wikidata_item = 838165,
}
m["kjv"] = m["sh-kaj"] -- ISO 639-3 code
m["sh-tor"] = { -- Linguist code srp-tor
canonicalName = "托爾拉庫方言",
aliases = {"Torlakian Serbo-Croatian", "Torlak"},
parent = "sh",
wikidata_item = 1078803,
}
-- 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"] = {
canonicalName = "古吉爾吉斯語",
parent = "otk",
wikidata_item = "Q83142",
}
m["qwm-arm"] = {
canonicalName = "亞美尼亞-欽察語",
parent = "qwm",
wikidata_item = 2027503,
}
m["klj-arg"] = {
canonicalName = "Arghu",
parent = "klj",
wikidata_item = "Q33455",
}
m["qwm-mam"] = {
canonicalName = "馬穆魯克-欽察語",
parent = "qwm",
wikidata_item = 4279942,
}
m["az-cls"] = {
canonicalName = "古典阿塞拜疆語",
aliases = {"Classical Azerbaijani", "Classical Azeri"},
parent = "az",
}
-- Other lects
m["alv-kro"] = {
canonicalName = "Kromanti",
parent = "crp",
wikidata_item = "Q1093206",
}
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"] = {
canonicalName = "Suevic",
otherNames = {"Suebian"},
parent = "gmw",
wikidata_item = "Q155085",
}
m["iro-ohu"] = {
canonicalName = "Old Wendat",
parent = "wdt",
ancestral_to_parent = true,
wikipedia_article = "Huron language",
}
m["iro-omo"] = {
canonicalName = "Old Mohawk",
parent = "moh",
ancestral_to_parent = true,
}
m["iro-oon"] = {
canonicalName = "古奧農達加語",
parent = "ono",
otherNames = {"Old Onondaga"},
ancestral_to_parent = true,
}
m["okz-A"] = {
canonicalName = "吳哥古高棉語",
parent = "okz",
otherNames = {"Angkorian Old Khmer"},
wikipedia_article = ":en:Khmer language#Historical periods",
wikidata_item = 9205,
}
m["okz-P"] = {
canonicalName = "前吳哥古高棉語",
parent = "okz",
otherNames = {"Pre-Angkorian Old Khmer"},
wikipedia_article = ":en:Khmer language#Historical periods",
wikidata_item = 9205,
}
m["mul-tax"] = {
canonicalName = "分類學名稱",
parent= "mul",
}
m["Tax."] = m["mul-tax"]
m["prv"] = {
canonicalName = "普羅旺斯語",
parent = "oc",
wikidata_item = "Q241243",
}
m["qfa-pyg"] = {
canonicalName = "a substrate language originally spoken by the Pygmies",
parent = "qfa-sub",
wikipedia_article = "Classification of Pygmy languages#Original Pygmy language(s)",
}
m["pygmy"] = m["qfa-pyg"]
m["tai-shz"] = {
canonicalName = "上思壯語",
parent = "za",
wikidata_item = "Q13216",
}
m["tbq-pro"] = {
canonicalName = "原始藏緬語",
parent = "sit-pro",
wikipedia_article = "原始藏緬語",
wikidata_item = "Q7251864",
}
m["und-idn"] = {
canonicalName = "中立語",
parent = "und", -- or "vo"
wikipedia_article = "中立語",
wikidata_item = "Q35847",
}
m["und-tdl"] = {
canonicalName = "Turduli",
parent = "und",
wikipedia_article = "Turduli",
}
m["und-tdt"] = {
canonicalName = "Turdetani",
parent = "und",
wikipedia_article = "Turdetani",
}
m["und-xbi"] = {
canonicalName = "鮮卑語",
parent = "und",
wikipedia_article = "鮮卑語",
}
m["und-xnu"] = {
canonicalName = "匈奴語",
parent = "und",
wikipedia_article = "匈奴語",
}
m["urj-fpr-pro"] = {
canonicalName = "原始芬蘭-彼爾姆語",
parent = "urj-pro",
}
m["woy"] = {
canonicalName = "Weyto",
parent = "und",
wikidata_item = "Q3915918",
}
return m