被永久保护的模块

Module:Languages/data2

維基詞典,自由的多語言詞典
跳到导航 跳到搜索
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]

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

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

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

所需的值

Every entry in the table must contain the following indexed fields:

1
The "canonical" name of the language. This is the name that is used in Wiktionary entries and category names.
2
The Wikidata item id (Q number) for the language. This replaces the older wikipedia_article property. Set to nil if not known/present.

Optional values

3
The code for the family that the language belongs to. See Wiktionary:Families.

The properties entry_name and sort_key are used for text substitution; they replace or remove certain characters or sets of characters. They both work similarly, and are optional. They can both be tables, and sort_key can be the name of a module that takes an entry name and generates a sortkey (which is used to sort the entry on category pages).

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
A table of all the names that this language is known by, other than the canonical name. The list should include not only synonyms for the language, but also names that refer to language varieties that are subsumed under the same grouping. For example, while "Flemish" is not synonymous with "Dutch", Flemish is considered a part of Dutch, so the name is listed there.
type
The type of language (which affects how it is handled on Wiktionary). Possible values are:
  • regular - This value is the default, so it doesn't need to be specified. It indicates that the is attested according to WT:CFI and therefore permitted in the main namespace. There may also be reconstructed terms for the language, which are placed in the Reconstruction namespace and must be prefixed with * to indicate a reconstruction.
  • reconstructed - This language is not attested according to CFI, and therefore is allowed only in the Reconstruction namespace. All terms in this language are reconstructed, and must be prefixed with *.
  • appendix-constructed - This language is attested but does not meet the additional requirements set out for constructed languages (WT:CFI#Constructed languages). Its entries must therefore be in the Appendix namespace, but they are not reconstructed and therefore should not have * prefixed in links.
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 u = mw.ustring.char

-- UTF-8 encoded strings for some commonly-used diacritics
local GRAVE     = u(0x0300)
local ACUTE     = u(0x0301)
local CIRC      = u(0x0302)
local TILDE     = u(0x0303)
local MACRON    = u(0x0304)
local BREVE     = u(0x0306)
local DOTABOVE  = u(0x0307)
local DIAER     = u(0x0308)
local CARON     = u(0x030C)
local DGRAVE    = u(0x030F)
local INVBREVE  = u(0x0311)
local DOTBELOW  = u(0x0323)
local RINGBELOW = u(0x0325)
local CEDILLA   = u(0x0327)

-- Puncuation to be used for standardChars field
local PUNCTUATION = ' \!\#\$\%\&\*\+\,\-\.\/\:\;\<\=\>\?\@\^\_\`\|\~\'\(\)'

local m = {}

m["aa"] = {
	canonicalName = "阿法爾語",
	otherNames = {"Qafar"},
	scripts = {"Latn"},
	family = "cus",
}

m["ab"] = {
	canonicalName = "阿布哈茲語",
	otherNames = {"Abkhazian", "Abxazo"},
	scripts = {"Cyrl", "Geor", "Latn"},
	family = "cau-abz",
	translit_module = "ab-translit",
	entry_name = {
		from = {GRAVE, ACUTE},
		to   = {}} ,
}

m["ae"] = {
	canonicalName = "阿維斯陀語",
	otherNames = {"Zend", "Old Bactrian"},
	scripts = {"Avst", "Gujr"},
	family = "ira-eas",
	translit_module = "Avst-translit",
}

m["af"] = {
	canonicalName = "阿非利堪斯語",
	otherNames = {"南非语", "南非荷兰语"},
	scripts = {"Latn", "Arab"},
	family = "gmw",
	ancestors = {"nl"},
	sort_key = {
		from = {"[äáâà]", "[ëéêè]", "[ïíîì]", "[öóôò]", "[üúûù]", "[ÿýŷỳ]", "^-", "'"},
		to   = {"a"	 , "e"	, "i"	, "o"	, "u"  , "y" }} ,
}

m["ak"] = {
	canonicalName = "阿坎語",
	otherNames = {"Twi-Fante", "Twi", "Fante", "Fanti", "Asante", "Akuapem"},
	scripts = {"Latn"},
	family = "alv-kwa",
}

m["am"] = {
	canonicalName = "阿姆哈拉語",
	scripts = {"Ethi"},
	family = "sem-eth",
	translit_module = "Ethi-translit",
}

m["an"] = {
	canonicalName = "阿拉貢語",
	otherNames = {"Aragonese"},
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"roa-oan"},
}

m["ar"] = {
	canonicalName = "阿拉伯語",
	otherNames = {"Arabic", "Modern Standard Arabic", "Standard Arabic", "Literary Arabic", "Classical Arabic", "現代標準阿拉伯語", "標準阿拉伯語"},
	scripts = {"Arab"},
	family = "sem-arb",
	entry_name = {
		from = {u(0x0671), u(0x064B), u(0x064C), u(0x064D), u(0x064E), u(0x064F), u(0x0650), u(0x0651), u(0x0652), u(0x0670), u(0x0640)},
		to   = {u(0x0627)}},
	translit_module = "ar-translit",
}

m["as"] = {
	canonicalName = "阿薩姆語",
	scripts = {"Beng"},
	family = "inc",
	ancestors = {"inc-mas"},
	translit_module = "as-translit",
}

m["av"] = {
	canonicalName = "阿瓦爾語",
	otherNames = {"Avaric"},
	scripts = {"Cyrl"},
	family = "cau-nec",
	ancestors = {"oav"},
	translit_module = "av-translit",
}

m["ay"] = {
	canonicalName = "艾馬拉語",
	otherNames = {"Southern Aymara", "Central Aymara"},
	scripts = {"Latn"},
	family = "sai-aym",
}

m["az"] = {
	canonicalName = "阿塞拜疆語",
	otherNames = {"亞塞拜然语", "Azerbaijani", "Azari", "Azeri Turkic", "Azerbaijani Turkic", "North Azerbaijani", "South Azerbaijani"},
	scripts = {"Latn", "Cyrl", "fa-Arab"},
	family = "trk-ogz",
	ancestors = {"trk-oat"},
}

m["ba"] = {
	canonicalName = "巴什基爾語",
	scripts = {"Cyrl"},
	family = "trk-kip",
	translit_module = "ba-translit",
}

m["be"] = {
	canonicalName = "白俄羅斯語",
	otherNames = {"Belorussian", "Belarusan", "Bielorussian", "Byelorussian", "Belarussian", "White Russian"},
	scripts = {"Cyrl"},
	ancestors = {"orv"},
	family = "zle",
	translit_module = "be-translit",
	sort_key = {
		from = {"Ё", "ё"},
		to   = {"Е" , "е"}},
	entry_name = {
		from = {"Ѐ", "ѐ", GRAVE, ACUTE},
		to   = {"Е", "е"}},
}

m["bg"] = {
	canonicalName = "保加利亞語",
	scripts = {"Cyrl"},
	ancestors = {"cu"},
	family = "zls",
	translit_module = "bg-translit",
	entry_name = {
		from = {"Ѐ", "ѐ", "Ѝ", "ѝ", GRAVE, ACUTE},
		to   = {"Е", "е", "И", "и"}},
}

m["bh"] = {
	canonicalName = "比哈爾語",
	scripts = {"Deva"},
	family = "inc",
	ancestors = {"inc-mgd"},
}

m["bi"] = {
	canonicalName = "比斯拉馬語",
	scripts = {"Latn"},
	family = "crp",
	ancestors = {"en"},
}

m["bm"] = {
	canonicalName = "班巴拉語",
	otherNames = {"Bamanankan"},
	scripts = {"Latn"},
	family = "dmn",
}

m["bn"] = {
	canonicalName = "孟加拉語",
	otherNames = {"Bangla"},
	scripts = {"Beng", "Newa"},
	family = "inc",
	ancestors = {"inc-mbn"},
	translit_module = "bn-translit",
}

m["bo"] = {
	canonicalName = "藏語",
	otherNames = {"Tibetan"},
	scripts = {"Tibt"},
	family = "tbq",
	ancestors = {"xct"},
	translit_module = "bo-translit",
}

m["br"] = {
	canonicalName = "布列塔尼語",
	scripts = {"Latn"},
	family = "cel-bry",
	ancestors = {"xbm"},
}

m["ca"] = {
	canonicalName = "加泰羅尼亞語",
	otherNames = {"加泰隆語", "Valencian"},
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"roa-oca"},
	sort_key = {
		from = {"à", "[èé]", "[íï]", "[òó]", "[úü]", "ç", "l·l"},
		to   = {"a", "e"   , "i"   , "o"   , "u"   , "c", "ll" }} ,
}

m["ce"] = {
	canonicalName = "車臣語",
	scripts = {"Cyrl"},
	family = "cau-nkh",
	translit_module = "ce-translit",
	entry_name = {
		from = {MACRON},
		to   = {}},
}

m["ch"] = {
	canonicalName = "查莫羅語",
	otherNames = {"Chamoru"},
	scripts = {"Latn"},
	family = "poz-sus",
}

m["co"] = {
	canonicalName = "科西嘉語",
	otherNames = {"Corsu"},
	scripts = {"Latn"},
	family = "roa",
}

m["cr"] = {
	canonicalName = "克里語",
	scripts = {"Cans", "Latn"},
	family = "alg",
	translit_module = "cr-translit",
}

m["cs"] = {
	canonicalName = "捷克語",
	otherNames = {"Czech"},
	scripts = {"Latn"},
	family = "zlw",
	ancestors = {"zlw-ocs"},
	sort_key = {
		from = {"á", "é", "í", "ó", "[úů]", "ý"},
		to   = {"a", "e", "i", "o", "u"   , "y"}} ,
}

m["cu"] = {
	canonicalName = "教會斯拉夫語",
	otherNames = {"古教會斯拉夫語"},
	scripts = {"Cyrs", "Glag"},
	family = "zls",
	translit_module = "Cyrs-Glag-translit",
	entry_name = {
		from = {u(0x0484)}, -- kamora
		to   = {}},
	sort_key = {
		from = {"оу", "є"},
		to   = {"у" , "е"}} ,
}

m["cv"] = {
	canonicalName = "楚瓦什語",
	scripts = {"Cyrl"},
	family = "trk-ogr",
	translit_module = "cv-translit",
}

m["cy"] = {
	canonicalName = "威爾士語",
	otherNames = {"威爾斯語", "Welsh"},
	scripts = {"Latn"},
	family = "cel-bry",
	ancestors = {"wlm"},
	sort_key = {
		from = {"[âáàä]", "[êéèë]", "[îíìï]", "[ôóòö]", "[ûúùü]", "[ŵẃẁẅ]", "[ŷýỳÿ]", "'"},
		to   = {"a"	 , "e"	 , "i"	 , "o"	 , "u"	 , "w"	 , "y"	 }} ,
}

m["da"] = {
	canonicalName = "丹麥語",
	otherNames = {"Danish"},
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"gmq-oda"},
}

m["de"] = {
	canonicalName = "德語",
	otherNames = {"German", "High German", "New High German", "Deutsch", "高地德語", "新高地德語"},
	scripts = {"Latn", "Latf"},
	family = "gmw",
	ancestors = {"gmh"},
	sort_key = {
		from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]", "ß" },
		to   = {"a"	  , "e"	 , "i"	 , "o"	 , "u"	 , "ss"}} ,
}

m["dv"] = {
	canonicalName = "迪維希語",
	otherNames = {"迪维希语", "Divehi", "Mahal", "Mahl", "Maldivian"},
	scripts = {"Thaa"},
	family = "inc",
	ancestors = {"elu-prk"},
	translit_module = "dv-translit",
}

m["dz"] = {
	canonicalName = "宗喀語",
	scripts = {"Tibt"},
	family = "tbq",
	ancestors = {"xct"},
	translit_module = "bo-translit",
}

m["ee"] = {
	canonicalName = "埃維語",
	scripts = {"Latn"},
	family = "alv",
}

m["el"] = {
	canonicalName = "希臘語",
	otherNames = {"Greek", "Modern Greek", "Neo-Hellenic", "現代希臘語"},
	scripts = {"Grek"},
	family = "grk",
	ancestors = {"grc"},
	translit_module = "el-translit",
	sort_key = {  -- Keep this synchronized with grc, cpg, pnt
		from = {"[ᾳάᾴὰᾲᾶᾷἀᾀἄᾄἂᾂἆᾆἁᾁἅᾅἃᾃἇᾇ]", "[έὲἐἔἒἑἕἓ]", "[ῃήῄὴῂῆῇἠᾐἤᾔἢᾒἦᾖἡᾑἥᾕἣᾓἧᾗ]", "[ίὶῖἰἴἲἶἱἵἳἷϊΐῒῗ]", "[όὸὀὄὂὁὅὃ]", "[ύὺῦὐὔὒὖὑὕὓὗϋΰῢῧ]", "[ῳώῴὼῲῶῷὠᾠὤᾤὢᾢὦᾦὡᾡὥᾥὣᾣὧᾧ]", "ῥ", "ς"},
		to   = {"α"						, "ε"		 , "η"						, "ι"				, "ο"		 , "υ"				, "ω"						, "ρ", "σ"}} ,
}

m["en"] = {
	canonicalName = "英語",
	otherNames = {"Modern English", "New English", "Hawaiian Creole English", "Hawai'ian Creole English", "Hawaiian Creole", "Hawai'ian Creole", "Polari", "Yinglish", "現代英語", "新英語"}, -- all but the first three are names and alt names of subsumed dialects which once had ISO codes
	scripts = {"Latn", "Shaw", "Dsrt"}, -- last two are rare but probably attested; entries in them might require community approval, but it's good for the script codes not to be orphans
	family = "gmw",
	ancestors = {"enm"},
	sort_key = {
		from = {"[äàáâåā]", "[ëèéêē]", "[ïìíîī]", "[öòóôō]", "[üùúûū]", "æ" , "œ" , "[çč]", "ñ", "'"},
		to   = {"a"       , "e"      , "i"      , "o"      , "u"      , "ae", "oe", "c"   , "n"}},
	wikimedia_codes = {"en", "simple"},
	standardChars = "A-Za-z0-9" .. PUNCTUATION .. u(0x2800) .. "-" .. u(0x28FF)
}

m["eo"] = {
	canonicalName = "世界語",
	otherNames = {"Esperanto"},
	scripts = {"Latn"},
	family = "art",
	sort_key = {
		from = {"[áà]", "[éè]", "[íì]", "[óò]", "[úù]", "[ĉ]", "[ĝ]", "[ĥ]", "[ĵ]", "[ŝ]", "[ŭ]"},
		to   = {"a"	   , "e"  , "i"  , "o"  , "u", "cĉ", "gĉ", "hĉ", "jĉ", "sĉ", "uĉ"}} ,
}

m["es"] = {
	canonicalName = "西班牙語",
	otherNames = {"Spanish", "Castilian", "卡斯蒂利亞語"},
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"osp"},
	sort_key = {
		from = {"á", "é", "í", "ó", "[úü]", "ç", "ñ"},
		to   = {"a", "e", "i", "o", "u"   , "c", "n"}},
	standardChars = "A-Za-z0-9ÁáÉéÍíÓóÚúÑñ¿¡" .. PUNCTUATION
}

m["et"] = {
	canonicalName = "愛沙尼亞語",
	scripts = {"Latn"},
	family = "fiu-fin",
}

m["eu"] = {
	canonicalName = "巴斯克語",
	otherNames = {"Euskara"},
	scripts = {"Latn"},
	family = "euq",
}

m["fa"] = {
	canonicalName = "波斯語",
	otherNames = {"Persian", "Farsi", "New Persian", "Modern Persian", "Western Persian", "Iranian Persian", "Eastern Persian", "Dari", "Aimaq", "Aimak", "Aymaq", "Eimak", "新波斯語", "現代波斯語", "西方波斯語", "伊朗波斯語", "東方波斯語"},
	scripts = {"fa-Arab"},
	family = "ira-wes",
	ancestors = {"pal"},
	entry_name = {
		from = {u(0x064E), u(0x064F), u(0x0650), u(0x0651), u(0x0652)},
		to   = {}} ,
}

m["ff"] = {
	canonicalName = "富拉語",
	otherNames = {"Adamawa Fulfulde", "Bagirmi Fulfulde", "Borgu Fulfulde", "Central-Eastern Niger Fulfulde", "Fulani", "Fulfulde", "Maasina Fulfulde", "Nigerian Fulfulde", "Pular", "Pulaar", "Western Niger Fulfulde"}, -- Maasina, etc are dialects, subsumed into this code
	scripts = {"Latn", "Adlm"},
	family = "alv-sng",
}

m["fi"] = {
	canonicalName = "芬蘭語",
	otherNames = {"Finnish", "Suomi"},
	scripts = {"Latn"},
	family = "fiu-fin",
	entry_name = {
		from = {"ˣ"},  -- Used to indicate gemination of the next consonant
		to   = {}},
	sort_key = {
		from = {"[áàâã]", "[éèêẽ]", "[íìîĩ]", "[óòôõ]", "[úùûũ]", "[ýỳŷüű]", "[øõő]", "æ" , "œ" , "[čç]", "š", "ž", "ß" , "[':]"},
		to   = {"a"	 , "e"	 , "i"	 , "o"	 , "u"	 ,  "y"	 , "ö"	, "ae", "oe", "c"   , "s", "z", "ss"}} ,
}

m["fj"] = {
	canonicalName = "斐濟語",
	scripts = {"Latn"},
	family = "poz-occ",
}

m["fo"] = {
	canonicalName = "法羅語",
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"non"},
}

m["fr"] = {
	canonicalName = "法語",
	otherNames = {"French", "Modern French", "現代法語"},
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"frm"},
	sort_key = {
		from = {"[áàâä]", "[éèêë]", "[íìîï]", "[óòôö]", "[úùûü]", "[ýỳŷÿ]", "ç", "æ" , "œ" , "'"},
		to   = {"a"	 , "e"	 , "i"	 , "o"	 , "u"	 , "y"	 , "c", "ae", "oe"}},
	standardChars = "A-Za-z0-9ÀÂÇÉÈÊËÎÏÔŒÛÙÜàâçéèêëîïôœûùü" .. PUNCTUATION
}

m["fy"] = {
	canonicalName = "西弗里斯蘭語",
	otherNames = {"西菲士蘭語", "Western Frisian", "Frisian"},
	scripts = {"Latn"},
	family = "gmw-fri",
	ancestors = {"ofs"},
}

m["ga"] = {
	canonicalName = "愛爾蘭語",
	otherNames = {"Irish", "Irish Gaelic"},
	scripts = {"Latn"},
	family = "cel-gae",
	ancestors = {"mga"},
	sort_key = {
		from = {"á", "é", "í", "ó", "ú", "ý", "ḃ" , "ċ" , "ḋ" , "ḟ" , "ġ" , "ṁ" , "ṗ" , "ṡ" , "ṫ" },
		to   = {"a", "e", "i", "o", "u", "y", "bh", "ch", "dh", "fh", "gh", "mh", "ph", "sh", "th"}} ,
}

m["gd"] = {
	canonicalName = "蘇格蘭蓋爾語",
	otherNames = {"Gàidhlig", "Highland Gaelic", "Scots Gaelic", "Scottish"},
	scripts = {"Latn"},
	family = "cel-gae",
	ancestors = {"mga"},
	sort_key = {
		from = {"[áà]", "[éè]", "[íì]", "[óò]", "[úù]", "[ýỳ]"},
		to   = {"a"   , "e"   , "i"   , "o"   , "u"   , "y"   }} ,
}

m["gl"] = {
	canonicalName = "加利西亞語",
	otherNames = {"Galician"},
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"roa-opt"},
	sort_key = {
		from = {"á", "é", "í", "ó", "ú"},
		to   = {"a", "e", "i", "o", "u"}} ,
}

m["gn"] = {
	canonicalName = "瓜拉尼語",
	scripts = {"Latn"},
	family = "tup",
}

m["gu"] = {
	canonicalName = "古吉拉特語",
	scripts = {"Gujr"},
	family = "inc",
	ancestors = {"inc-mgu"},
	translit_module = "gu-translit",
}

m["gv"] = {
	canonicalName = "曼島語",
	otherNames = {"馬恩語", "馬恩島語", "曼島蓋爾語"},
	scripts = {"Latn"},
	family = "cel-gae",
	ancestors = {"mga"},
	sort_key = {
		from = {"ç", "-"},
		to   = {"c"}} ,
}

m["ha"] = {
	canonicalName = "豪薩語",
	scripts = {"Latn", "Arab"},
	family = "cdc-wst",
}

m["he"] = {
	canonicalName = "希伯來語",
	otherNames = {"Ivrit"},
	scripts = {"Hebr", "Phnx"},
	family = "sem-can",
	entry_name = {
		from = {"[" .. u(0x0591) .. "-" .. u(0x05BD) .. u(0x05BF) .. "-" .. u(0x05C5) .. u(0x05C7) .. "]"},
		to   = {}} ,
}

m["hi"] = {
	canonicalName = "印地語",
	scripts = {"Deva", "Kthi", "Newa"},
	family = "inc",
	ancestors = {"inc-ohi"},
	translit_module = "hi-translit",
}

m["ho"] = {
	canonicalName = "希里摩圖語",
	otherNames = {"Pidgin Motu", "Police Motu"},
	scripts = {"Latn"},
	family = "crp",
	ancestors = {"meu"},
}

m["ht"] = {
	canonicalName = "海地克里奧爾語",
	otherNames = {"Creole", "Haitian", "Kreyòl"},
	scripts = {"Latn"},
	family = "crp",
	ancestors = {"fr"},
}

m["hu"] = {
	canonicalName = "匈牙利語",
	otherNames = {"Hungarian", "Magyar"},
	scripts = {"Latn", "Hung"},
	family = "fiu-ugr",
	ancestors = {"ohu"},
	sort_key = {
		from = {"á", "é", "í", "ó", "ú", "ő", "ű"},
		to   = {"a", "e", "i", "o", "u", "ö", "ü"}} ,
}

m["hy"] = {
	canonicalName = "亞美尼亞語",
	otherNames = {"Modern Armenian", "Eastern Armenian", "Western Armenian"},
	scripts = {"Armn"},
	family = "hyx",
	ancestors = {"axm"},
	translit_module = "Armn-translit",
	sort_key = {
		from = {"ու", "և", "եւ"},
		to   = {"ւ", "եվ", "եվ"}},
	entry_name = {
		from = {"՞", "՜", "՛", "՟", "և", "<sup>յ</sup>", "<sup>ի</sup>"},
		to   = {"", "", "", "", "եւ", "յ", "ի"}} ,
}

m["hz"] = {
	canonicalName = "赫雷羅語",
	scripts = {"Latn"},
	family = "bnt",
}

m["ia"] = {
	canonicalName = "國際語A",
	scripts = {"Latn"},
	family = "art",
}

m["id"] = {
	canonicalName = "印尼語",
	scripts = {"Latn"},
	family = "poz-mly",
	ancestors = {"ms"},
}

m["ie"] = {
	canonicalName = "國際語B",
	otherNames = {"Occidental", "Interlingue"},
	scripts = {"Latn"},
	family = "art",
}

m["ig"] = {
	canonicalName = "伊博語",
	scripts = {"Latn"},
	family = "nic-bco",
}

m["ii"] = {
	canonicalName = "彝語",
	otherNames = {"諾蘇語", "四川彝語", "涼山彝語", "北部彝語"},
	scripts = {"Yiii"},
	family = "tbq-lol",
	translit_module = "ii-translit",
}

m["ik"] = {
	canonicalName = "依努皮亞克語",
	otherNames = {"Inupiaq", "Iñupiaq", "Inupiatun"},
	scripts = {"Latn"},
	family = "esx-inu",
}

m["io"] = {
	canonicalName = "伊多語",
	scripts = {"Latn"},
	family = "art",
}

m["is"] = {
	canonicalName = "冰島語",
	otherNames = {"Icelandic"},
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"non"},
}

m["it"] = {
	canonicalName = "意大利語",
	otherNames = {"義大利語", "Italian"},
	scripts = {"Latn"},
	family = "roa",
	--ancestors = {"roa-oit"},
	sort_key = {
		from = {"[àáâäå]", "[èéêë]", "[ìíîï]", "[òóôö]", "[ùúûü]"},
		to   = {"a"	  , "e"	 , "i"	 , "o"	 , "u"	 }} ,
}

m["iu"] = {
	canonicalName = "因紐特語",
	otherNames = {"伊努克提圖特語", "Eastern Canadian Inuktitut", "Eastern Canadian Inuit", "Western Canadian Inuktitut", "Western Canadian Inuit", "Western Canadian Inuktun", "Inuinnaq", "Inuinnaqtun", "Inuvialuk", "Inuvialuktun", "Nunavimmiutit", "Nunatsiavummiut", "Aivilimmiut", "Natsilingmiut", "Kivallirmiut", "Siglit", "Siglitun"},
	scripts = {"Cans", "Latn"},
	family = "esx-inu",
	translit_module = "iu-translit",
}

m["ja"] = {
	canonicalName = "日語",
	otherNames = {"Modern Japanese", "Nipponese", "Nihongo", "現代日語", "日本語"},
	scripts = {"Jpan", "Latn", "Hira"},
	family = "jpx",
	ancestors = {"ojp"},
}

m["jv"] = {
	canonicalName = "爪哇語",
	scripts = {"Latn", "Java"},
	family = "poz-sus",
	translit_module = "jv-translit",
	ancestors = {"kaw"},
	link_tr = true,
}

m["ka"] = {
	canonicalName = "格魯吉亞語",
	otherNames = {"喬治亞語", "Kartvelian"},
	scripts = {"Geor", "Geok", "Hebr"},
	family = "ccs-gzn",
	ancestors = {"oge"},
	translit_module = "Geor-translit",
	entry_name = {
		from = {"̂"},
		to   = {""}},
}

m["kg"] = {
	canonicalName = "剛果語",
	otherNames = {"Kikongo", "Koongo", "Laari", "San Salvador Kongo", "Yombe"},
	scripts = {"Latn"},
	family = "bnt",
}

m["ki"] = {
	canonicalName = "基庫尤語",
	otherNames = {"Gikuyu", "Gĩkũyũ"},
	scripts = {"Latn"},
	family = "bnt",
}

m["kj"] = {
	canonicalName = "貢耶瑪語",
	otherNames = {"Kuanyama", "Oshikwanyama"},
	scripts = {"Latn"},
	family = "bnt",
}

m["kk"] = {
	canonicalName = "哈薩克語",
	scripts = {"Cyrl", "Latn", "Arab", "kk-Arab"},
	family = "trk-kip",
	translit_module = "kk-translit",
}

m["kl"] = {
	canonicalName = "格陵蘭語",
	otherNames = {"Kalaallisut"},
	scripts = {"Latn"},
	family = "esx-inu",
}

m["km"] = {
	canonicalName = "高棉語",
	otherNames = {"柬埔寨語"},
	scripts = {"Khmr"},
	family = "mkh",
	ancestors = {"mkh-mkm"},
	translit_module = "km-translit",
}

m["kn"] = {
	canonicalName = "卡納達語",
	otherNames = {"康納達語"},
	scripts = {"Knda"},
	ancestors = {"dra-mkn"},
	family = "dra",
	translit_module = "kn-translit",
}

m["ko"] = {
	canonicalName = "朝鮮語",
	otherNames = {"Korean", "Modern Korean", "韓語", "現代韓語"},
	scripts = {"Kore"},
	family = "qfa-kor",
	ancestors = {"okm"},
	translit_module = "ko-translit",
}

m["kr"] = {
	canonicalName = "卡努里語",
	otherNames = {"Kanembu", "Bilma Kanuri", "Central Kanuri", "Manga Kanuri", "Tumari Kanuri"},
	scripts = {"Latn"},
	family = "ssa",
}

m["ks"] = {
	canonicalName = "克什米爾語",
	otherNames = {"喀什米爾語"},
	scripts = {"ks-Arab", "Deva", "Shrd", "Latn"},
	family = "inc-dar",
	translit_module = "translit-redirect",
	ancestors = {"inc-dar-pro"},
}

m["ku"] = {
	canonicalName = "庫爾德語",
	otherNames = {"庫德語"},
	scripts = {"Latn", "ku-Arab", "Armn", "Cyrl"},
	family = "ira-wes",
	translit_module = "translit-redirect",
}

m["kw"] = {
	canonicalName = "康沃爾語",
	otherNames = {"康瓦尔语"},
	scripts = {"Latn"},
	family = "cel-bry",
	ancestors = {"cnx"},
}

m["ky"] = {
	canonicalName = "吉爾吉斯語",
	otherNames = {"柯尔克孜语", "Kirghiz", "Kirgiz"},
	scripts = {"Cyrl", "Latn", "Arab"},
	family = "trk-kip",
	translit_module = "ky-translit",
}

m["la"] = {
	canonicalName = "拉丁語",
	otherNames = "Latin",
	scripts = {"Latn"},
	family = "itc",
	ancestors = {"itc-ola"},
	entry_name = {
		from = {"[ĀĂ]", "[āă]", "[ĒĔ]", "[ēĕë]", "[ĪĬÏ]", "[īĭï]", "[ŌŎ]", "[ōŏ]", "[ŪŬÜ]", "[ūŭü]", "Ȳ", "ȳ", MACRON, BREVE, DIAER},
		to   = {"A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "Y", "y"}},
}

m["lb"] = {
	canonicalName = "盧森堡語",
	scripts = {"Latn"},
	family = "gmw",
	ancestors = {"gmh"},
}

m["lg"] = {
	canonicalName = "盧干達語",
	otherNames = {"Ganda"},
	scripts = {"Latn"},
	family = "bnt",
}

m["li"] = {
	canonicalName = "林堡語",
	otherNames = {"Limburgan", "Limburgian", "Limburgic"},
	scripts = {"Latn"},
	family = "gmw",
	ancestors = {"dum"},
}

m["ln"] = {
	canonicalName = "林加拉語",
	otherNames = {"林格拉語"},
	scripts = {"Latn"},
	family = "bnt",
}

m["lo"] = {
	canonicalName = "老撾語",
	otherNames = {"寮語", "Laotian"},
	scripts = {"Laoo"},
	family = "tai-swe",
	translit_module = "lo-translit",
}

m["lt"] = {
	canonicalName = "立陶宛語",
	scripts = {"Latn"},
	family = "bat",
	ancestors = {"olt"},
	entry_name = {
		from = {"[áãà]", "[ÁÃÀ]", "[éẽè]", "[ÉẼÈ]", "[íĩì]", "[ÍĨÌ]", "[ýỹ]", "[ÝỸ]", "ñ", "[óõò]", "[ÓÕÒ]", "[úũù]", "[ÚŨÙ]", ACUTE, GRAVE, TILDE},
		to   = {"a",       "A",     "e",     "E",     "i",     "I",     "y",   "Y",   "n",   "o",    "O",     "u",      "U"}} ,
}

m["lu"] = {
	canonicalName = "盧巴卡丹加語",
	scripts = {"Latn"},
	family = "bnt",
}

m["lv"] = {
	canonicalName = "拉脫維亞語",
	otherNames = {"Lettish", "Lett"},
	scripts = {"Latn"},
	family = "bat",
}

m["mg"] = {
	canonicalName = "馬拉加斯語",
	otherNames = {"马达加斯加语", "马尔加什语", "Betsimisaraka Malagasy", "Betsimisaraka", "Northern Betsimisaraka Malagasy", "Northern Betsimisaraka", "Southern Betsimisaraka Malagasy", "Southern Betsimisaraka", "Bara Malagasy", "Bara", "Masikoro Malagasy", "Masikoro", "Antankarana", "Antankarana Malagasy", "Plateau Malagasy", "Sakalava", "Tandroy Malagasy", "Tandroy", "Tanosy", "Tanosy Malagasy", "Tesaka", "Tsimihety", "Tsimihety Malagasy"},
	scripts = {"Latn"},
	family = "poz-bre",
}

m["mh"] = {
	canonicalName = "馬紹爾語",
	scripts = {"Latn"},
	family = "poz-mic",
	sort_key = {
		from = {"ā" , "ļ" , "m̧" , "ņ" , "n̄"  , "o̧" , "ō"  , "ū" },
		to   = {"a~", "l~", "m~", "n~", "n~~", "o~", "o~~", "u~"}} ,
}

m["mi"] = {
	canonicalName = "毛利語",
	otherNames = {"Māori"},
	scripts = {"Latn"},
	family = "poz-pol",
}

m["mk"] = {
	canonicalName = "馬其頓語",
	scripts = {"Cyrl"},
	family = "zls",
	translit_module = "mk-translit",
	entry_name = {
		from = {ACUTE},
		to   = {}},
}

m["ml"] = {
	canonicalName = "馬拉亞拉姆語",
	scripts = {"Mlym"},
	family = "dra",
	translit_module = "ml-translit",
}

m["mn"] = {
	canonicalName = "蒙古語",
	otherNames = {"Mongolian", "Khalkha Mongolian", "蒙語"},
	scripts = {"Cyrl", "Mong", "Soyo", "Zanb"},
	family = "xgn",
	ancestors = {"cmg"},
	translit_module = "mn-translit",
}

m["mr"] = {
	canonicalName = "馬拉地語",
	otherNames = {"馬拉提語"},
	scripts = {"Deva", "Modi"},
	family = "inc",
	ancestors = {"omr"},
	translit_module = "mr-translit",
}

m["ms"] = {
	canonicalName = "馬來語",
	otherNames = {"Malay"},
	scripts = {"Latn", "Arab"},
	family = "poz-mly",
}

m["mt"] = {
	canonicalName = "馬爾他語",
	scripts = {"Latn"},
	family = "sem-arb",
	ancestors = {"sqr"},
}

m["my"] = {
	canonicalName = "緬甸語",
	otherNames = {"Myanmar"},
	scripts = {"Mymr"},
	family = "tbq-brm",
	ancestors = {"obr"},
	translit_module = "my-translit",
}

m["na"] = {
	canonicalName = "瑙魯語",
	otherNames = {"諾魯語", "Nauru"},
	scripts = {"Latn"},
	family = "poz-mic",
}

m["nb"] = {
	canonicalName = "書面挪威語",
	otherNames = {"Bokmål"},
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"gmq-mno"},
	wikimedia_codes = {"no"},
}

m["nd"] = {
	canonicalName = "北恩德貝勒語",
	otherNames = {"North Ndebele"},
	scripts = {"Latn"},
	family = "bnt-ngu",
}

m["ne"] = {
	canonicalName = "尼泊爾語",
	otherNames = {"Nepalese"},
	scripts = {"Deva", "Newa"},
	family = "inc",
	translit_module = "ne-translit",
}

m["ng"] = {
	canonicalName = "恩東加語",
	scripts = {"Latn"},
	family = "bnt",
}

m["nl"] = {
	canonicalName = "荷蘭語",
	otherNames = {"Dutch", "Netherlandic", "Flemish", "佛蘭芒語"},
	scripts = {"Latn"},
	family = "gmw",
	ancestors = {"dum"},
	sort_key = {
		from = {"[äáâå]", "[ëéê]", "[ïíî]", "[öóô]", "[üúû]", "ç", "ñ", "^-"},
		to   = {"a"	 , "e"	, "i"	, "o"	, "u"	, "c", "n"}} ,
}

m["nn"] = {
	canonicalName = "新挪威語",
	otherNames = {"New Norwegian", "Nynorsk"},
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"gmq-mno"},
}

m["no"] = {
	canonicalName = "挪威語",
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"gmq-mno"},
}

m["nr"] = {
	canonicalName = "南恩德貝勒語",
	otherNames = {"South Ndebele"},
	scripts = {"Latn"},
	family = "bnt-ngu",
}

m["nv"] = {
	canonicalName = "納瓦霍語",
	otherNames = {"納瓦荷語"},
	scripts = {"nv-Latn"},
	family = "apa",
	sort_key = {
		from = {"[áą]", "[éę]", "[íį]", "[óǫ]", "ń", "^n([djlt])", "ł" , "[ʼ’']", ACUTE},
		to   = {"a"   , "e"   , "i"   , "o"   , "n", "ni%1"	  , "l"}}, -- the copyright sign is used to guarantee that ł will always be sorted after all other words with l
}

m["ny"] = {
	canonicalName = "齊切瓦語",
	otherNames = {"Chicheŵa", "Chinyanja", "Nyanja", "Chewa"},
	scripts = {"Latn"},
	family = "bnt",
	entry_name = {
		from = {ACUTE},
		to   = {}},
}

m["oc"] = {
	canonicalName = "奧克語",
	otherNames = {"奥克西唐语", "Provençal", "Auvergnat", "Auvernhat", "Gascon", "Languedocien", "Lengadocian"},
	scripts = {"Latn", "Hebr"},
	family = "roa",
	ancestors = {"pro"},
	sort_key = {
		from = {"[àá]", "[èé]", "[íï]", "[òó]", "[úü]", "ç", "([lns])·h"},
		to   = {"a"   , "e"   , "i"   , "o"   , "u"   , "c", "%1h"	  }} ,
}

m["oj"] = {
	canonicalName = "奧吉布瓦語",
	otherNames = {"歐及布威語", "Chippewa", "Ojibway", "Ojibwemowin", "Southwestern Ojibwa"},
	scripts = {"Cans", "Latn"},
	family = "alg",
}

m["om"] = {
	canonicalName = "奧羅莫語",
	otherNames = {"Orma", "Borana-Arsi-Guji Oromo", "West Central Oromo"},
	scripts = {"Latn", "Ethi"},
	family = "cus",
}

m["or"] = {
	canonicalName = "奧利亞語",
	otherNames = {"奧里亞語", "歐利亞語", "奥里雅语", "Odia", "Oorya"},
	scripts = {"Orya"},
	family = "inc",
	ancestors = {"inc-mor"},
	translit_module = "or-translit",
}

m["os"] = {
	canonicalName = "奧塞梯語",
	otherNames = {"奧赛提亞語", "Ossete", "Ossetic", "Digor", "Iron"},
	scripts = {"Cyrl", "Geor", "Latn"},
	family = "ira",
	translit_module = "os-translit",
	ancestors = {"oos"},
	entry_name = {
		from = {GRAVE, ACUTE},
		to   = {}} ,
}

m["pa"] = {
	canonicalName = "旁遮普語",
	otherNames = {"Panjabi"},
	scripts = {"Guru", "Arab", "Deva"},
	family = "inc",
	translit_module = "pa-translit",
	ancestors = {"psu"},
}

m["pi"] = {
	canonicalName = "巴利語",
	scripts = {"Latn", "Brah", "Deva", "Beng", "Sinh", "Mymr", "Thai", "Lana", "Laoo", "Khmr"},
	family = "inc",
	ancestors = {"bh"},
	sort_key = {
		from = {"ā", "ī", "ū", "ḍ", "ḷ", "[ṁṃ]", "[ṇñṅ]", "ṭ"},
		to   = {"a", "i", "u", "d", "l", "m"   , "n"	, "t"}} ,
}

m["pl"] = {
	canonicalName = "波蘭語",
	otherNames = {"Polish"},
	scripts = {"Latn"},
	family = "zlw",
	ancestors = {"zlw-opl"},
	sort_key = {
		from = {"[Ąą]", "[Ćć]", "[Ęę]", "[Łł]", "[Ńń]", "[Óó]", "[Śś]", "[Żż]", "[Źź]"},
		to   = {
			"a" .. u(0x10FFFF),
			"c" .. u(0x10FFFF),
			"e" .. u(0x10FFFF),
			"l" .. u(0x10FFFF),
			"n" .. u(0x10FFFF),
			"o" .. u(0x10FFFF),
			"s" .. u(0x10FFFF),
			"z" .. u(0x10FFFF),
			"z" .. u(0x10FFFE)}} ,
}

m["ps"] = {
	canonicalName = "普什圖語",
	otherNames = {"Pashtun", "Pushto", "Pashtu", "Central Pashto", "Northern Pashto", "Southern Pashto", "Pukhto", "Pakhto", "Pakkhto", "Afghani"},
	scripts = {"ps-Arab"},
	family = "ira-eas",
}

m["pt"] = {
	canonicalName = "葡萄牙語",
	otherNames = {"Portuguese", "Modern Portuguese", "現代葡萄牙語"},
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"roa-opt"},
	sort_key = {
		from = {"[àãáâä]", "[èẽéêë]", "[ìĩíï]", "[òóôõö]", "[üúùũ]", "ç", "ñ"},
		to   = {"a"	  , "e"	  , "i"	 , "o"	  , "u"	 , "c", "n"}} ,
}

m["qu"] = {
	canonicalName = "克丘亞語",
	otherNames = {"奇楚瓦語", "喀珠雅語"},
	scripts = {"Latn"},
	family = "qwe",
}

m["rm"] = {
	canonicalName = "羅曼什語",
	otherNames = {"Romansh", "Rumantsch", "Romanche"},
	scripts = {"Latn"},
	family = "roa",
}

m["rn"] = {
	canonicalName = "克倫地語",
	scripts = {"Latn"},
	family = "bnt",
}

m["ro"] = {
	canonicalName = "羅馬尼亞語",
	otherNames = {"Daco-Romanian", "Roumanian", "Rumanian"},
	scripts = {"Latn", "Cyrl"},
	family = "roa",
	sort_key = {
        from = {"ă" , "â"  , "î" , "ș" , "ț" },
        to   = {"a~", "a~~", "i~", "s~", "t~"}},
}

m["ru"] = {
	canonicalName = "俄語",
	otherNames = {"Russian", "俄羅斯語"},
	scripts = {"Cyrl"},
	family = "zle",
	translit_module = "ru-translit",
	sort_key = {
		from = {"ё"},
		to   = {"е" .. mw.ustring.char(0x10FFFF)}},
	entry_name = {
		from = {"Ѐ", "ѐ", "Ѝ", "ѝ", GRAVE, ACUTE},
		to   = {"Е", "е", "И", "и"}},
}

m["rw"] = {
	canonicalName = "盧旺達語",
	otherNames = {"Rwanda"},
	scripts = {"Latn"},
	family = "bnt",
}

m["sa"] = {
	canonicalName = "梵語",
	scripts = {"Deva", "Bali", "as-Beng", "Beng", "Bhks", "Brah", "Gran", "Gujr", "Guru", "Java", "Khar", "Khmr", "Knda", "Lana", "Laoo", "Mlym", "Mymr", "Newa", "Orya", "Saur", "Shrd", "Sidd", "Sinh", "Taml", "Telu", "Thai", "Tibt", "Tirh"},
	family = "inc",
	translit_module = "sa-translit",
}

m["sc"] = {
	canonicalName = "撒丁語",
	otherNames = {"薩丁尼亞語", "Campidanese", "Campidanese Sardinian", "Logudorese", "Logudorese Sardinian", "Nuorese", "Nuorese Sardinian"},
	scripts = {"Latn"},
	family = "roa",
}

m["sd"] = {
	canonicalName = "信德語",
	scripts = {"sd-Arab", "Deva"},
	family = "inc",
	ancestors = {"psu"},
}

m["se"] = {
	canonicalName = "北方薩米語",
	otherNames = {"North Sami", "Northern Saami", "North Saami"},
	scripts = {"Latn"},
	family = "smi",
	entry_name = {
		from = {"([đflmnŋrsšŧv])'%1"},
		to   = {"%1%1"} },
}

m["sg"] = {
	canonicalName = "桑戈語",
	scripts = {"Latn"},
	family = "crp",
	ancestors = {"ngb"},
}

m["sh"] = {
	canonicalName = "塞爾維亞-克羅地亞語",
	otherNames = {"塞爾維亞-克羅埃西亞語", "BCS", "Croato-Serbian", "Serbocroatian", "Bosnian", "Croatian", "Montenegrin", "Serbian"},
	scripts = {"Latn", "Cyrl", "Glag"},
	family = "zls",
	entry_name = {
		from = {"[ȀÀȂÁĀ]", "[ȁàȃáā]", "[ȄÈȆÉĒ]", "[ȅèȇéē]", "[ȈÌȊÍĪ]", "[ȉìȋíī]", "[ȌÒȎÓŌ]", "[ȍòȏóō]", "[ȐȒŔ]", "[ȑȓŕ]", "[ȔÙȖÚŪ]", "[ȕùȗúū]", "Ѐ", "ѐ", "[ӢЍ]", "[ӣѝ]", "[Ӯ]", "[ӯ]", GRAVE, ACUTE, DGRAVE, INVBREVE, MACRON},
		to   = {"A"	  , "a"	  , "E"	  , "e"	  , "I"	  , "i"	  , "O"	  , "o"	  , "R"	, "r"	, "U"	  , "u"	  , "Е", "е", "И"   , "и", "У", "у"   }},
	wikimedia_codes = {"sh", "bs", "hr", "sr"},
}

m["si"] = {
	canonicalName = "僧加羅語",
	otherNames = {"僧伽罗语", "Singhalese", "Sinhala"},
	scripts = {"Sinh"},
	family = "inc",
	ancestors = {"elu-prk"},
	translit_module = "si-translit",
}

m["sk"] = {
	canonicalName = "斯洛伐克語",
	scripts = {"Latn"},
	family = "zlw",
	sort_key = {
		from = {"[áä]", "é", "í", "[óô]", "ú", "ý", "ŕ", "ĺ"},
		to   = {"a"   , "e", "i", "o"   , "u", "y", "r", "l"}} ,
}

m["sl"] = {
	canonicalName = "斯洛文尼亞語",
	otherNames = {"斯洛維尼亞語", "Slovenian"},
	scripts = {"Latn"},
	family = "zls",
	entry_name = {
		from = {"[ÁÀÂȂȀ]", "[áàâȃȁ]", "[ÉÈÊȆȄỆẸ]", "[éèêȇȅệẹə]", "[ÍÌÎȊȈ]", "[íìîȋȉ]", "[ÓÒÔȎȌỘỌ]", "[óòôȏȍộọ]", "[ŔȒȐ]", "[ŕȓȑ]", "[ÚÙÛȖȔ]", "[úùûȗȕ]", "ł", GRAVE, ACUTE, DGRAVE, INVBREVE, CIRC, DOTBELOW},
		to   = {"A"	  , "a"	  , "E"		, "e"		 , "I"	  , "i"	  , "O"		, "o"		, "R"	, "r"	, "U"	  , "u"	  , "l"}} ,
}

m["sm"] = {
	canonicalName = "薩摩亞語",
	scripts = {"Latn"},
	family = "poz-pol",
}

m["sn"] = {
	canonicalName = "修納語",
	otherNames = {"紹納語"},
	scripts = {"Latn"},
	family = "bnt",
}

m["so"] = {
	canonicalName = "索馬里語",
	otherNames = {"索馬利亞語"},
	scripts = {"Latn", "Arab", "Osma"},
	family = "cus",
	entry_name = {
		from = {"[ÁÀÂ]", "[áàâ]", "[ÉÈÊ]", "[éèê]", "[ÍÌÎ]", "[íìî]", "[ÓÒÔ]", "[óòô]", "[ÚÙÛ]", "[úùû]", "[ÝỲ]", "[ýỳ]"},
		to   = {"A"	  , "a"	  , "E"	, "e" , "I"	  , "i"	  , "O"	, "o"	, "U"  , "u", "Y", "y"}} ,
}

m["sq"] = {
	canonicalName = "阿爾巴尼亞語",
	scripts = {"Latn", "Grek", "Elba"},
	family = "sqj",
	sort_key = {
		from = { '[âãä]', '[ÂÃÄ]', '[êẽë]', '[ÊẼË]', 'ĩ', 'Ĩ', 'õ', 'Õ', 'ũ', 'Ũ', 'ỹ', 'Ỹ', 'ç', 'Ç' },
		to   = {     'a',     'A',     'e',     'E', 'i', 'I', 'o', 'O', 'u', 'U', 'y', 'Y', 'c', 'C' } } ,
}

m["ss"] = {
	canonicalName = "史瓦濟語",
	otherNames = {"Swati"},
	scripts = {"Latn"},
	family = "bnt-ngu",
}

m["st"] = {
	canonicalName = "塞索托語",
	otherNames = {"Sesotho", "Southern Sesotho", "Southern Sotho"},
	scripts = {"Latn"},
	family = "bnt",
}

m["su"] = {
	canonicalName = "巽他語",
	scripts = {"Latn", "Sund"},
	family = "poz-msa",
	translit_module = "su-translit",
}

m["sv"] = {
	canonicalName = "瑞典語",
	otherNames = {"Swedish"},
	scripts = {"Latn"},
	family = "gmq",
	ancestors = {"gmq-osw"},
}

m["sw"] = {
	canonicalName = "斯瓦希里語",
	otherNames = {"Settler Swahili", "KiSetla", "KiSettla", "Setla", "Settla", "Kitchen Swahili", "Kihindi", "Indian Swahili", "KiShamba", "Kishamba", "Field Swahili", "Kibabu", "Asian Swahili", "Kimanga", "Arab Swahili", "Kitvita", "Army Swahili"},
	scripts = {"Latn", "Arab"},
	family = "bnt",
	sort_key = {
		from = {"ng'", "^-"},
		to   = {"ngz"}} ,
}

m["ta"] = {
	canonicalName = "泰米爾語",
	otherNames = {"坦米爾語", "淡米尔语"},
	scripts = {"Taml"},
	family = "dra",
	ancestors = {"oty"},
	translit_module = "ta-translit",
}

m["te"] = {
	canonicalName = "泰盧固語",
	scripts = {"Telu"},
	family = "dra",
	translit_module = "te-translit",
}

m["tg"] = {
	canonicalName = "塔吉克語",
	otherNames = {"Tadjik", "Tadzhik", "Tajiki", "Tajik Persian"},
	scripts = {"Cyrl", "fa-Arab", "Latn"},
	family = "ira-wes",
	ancestors = {"pal"},
	translit_module = "tg-translit",
		sort_key = {
		from = {"Ё", "ё"},
		to   = {"Е" , "е"}} ,
	entry_name = {
		from = {ACUTE},
		to   = {}} ,
}

m["th"] = {
	canonicalName = "泰語",
	otherNames = {"Thai", "Siamese"},
	scripts = {"Thai"},
	family = "tai-swe",
	translit_module = "th-translit",
	entry_name = {
		from = { "-" },
		to = {}} ,
}

m["ti"] = {
	canonicalName = "提格里尼亞語",
	otherNames = {"提格利尼亞語"},
	scripts = {"Ethi"},
	family = "sem-eth",
	translit_module = "Ethi-translit",
}

m["tk"] = {
	canonicalName = "土庫曼語",
	scripts = {"Latn", "Cyrl"},
	family = "trk-ogz",
	ancestors = {"trk-ogz-pro"},
}

m["tl"] = {
	canonicalName = "塔加洛語",
	otherNames = {"他加祿语"},
	scripts = {"Latn", "Tglg"},
	family = "phi",
}

m["tn"] = {
	canonicalName = "茨瓦納語",
	otherNames = {"札那語", "Setswana"},
	scripts = {"Latn"},
	family = "bnt",
}

m["to"] = {
	canonicalName = "湯加語",
	otherNames = {"東加語"},
	scripts = {"Latn"},
	family = "poz-pol",
}

m["tr"] = {
	canonicalName = "土耳其語",
	otherNames = {"Turkish"},
	scripts = {"Latn"},
	family = "trk-ogz",
	ancestors = {"ota"},
}

m["ts"] = {
	canonicalName = "聰加語",
	scripts = {"Latn"},
	family = "bnt",
}

m["tt"] = {
	canonicalName = "韃靼語",
	scripts = {"Cyrl", "Latn", "Arab", "tt-Arab"},
	family = "trk-kip",
	translit_module = "tt-translit",
}

m["ty"] = {
	canonicalName = "大溪地語",
	scripts = {"Latn"},
	family = "poz-pol",
}

m["ug"] = {
	canonicalName = "維吾爾語",
	otherNames = {"Uyghur", "Uigur", "Uighur", "Uygur"},
	scripts = {"ug-Arab", "Latn", "Cyrl"},
	family = "trk",
	ancestors = {"chg"},
	translit_module = "ug-translit",
}

m["uk"] = {
	canonicalName = "烏克蘭語",
	otherNames = {"Ukrainian"},
	scripts = {"Cyrl"},
	ancestors = {"orv"},
	family = "zle",
	translit_module = "uk-translit",
	entry_name = {
		from = {"Ѐ", "ѐ", "Ѝ", "ѝ", GRAVE, ACUTE},
		to   = {"Е", "е", "И", "и"}},
} 
m["ur"] = {
	canonicalName = "烏爾都語",
	scripts = {"ur-Arab"},
	family = "inc",
	ancestors = {"inc-sap"},
	entry_name = {
		from = {u(0x064B), u(0x064C), u(0x064D), u(0x064E), u(0x064F), u(0x0650), u(0x0651), u(0x0652)},
		to   = {}} ,
}

m["uz"] = {
	canonicalName = "烏茲別克語",
	otherNames = {"Northern Uzbek", "Southern Uzbek"},
	scripts = {"Latn", "Cyrl", "fa-Arab"},
	family = "trk",
	ancestors = {"chg"},
}

m["ve"] = {
	canonicalName = "文達語",
	scripts = {"Latn"},
	family = "bnt",
}

m["vi"] = {
	canonicalName = "越南語",
	otherNames = {"Vietnamese", "Annamese", "Annamite"},
	scripts = {"Latn", "Hani"},
	family = "mkh-vie",
	ancestors = {"mkh-mvi"},
}

m["vo"] = {
	canonicalName = "沃拉普克語",
	scripts = {"Latn"},
	family = "art",
}

m["wa"] = {
	canonicalName = "瓦隆語",
	scripts = {"Latn"},
	family = "roa",
	ancestors = {"fro"},
	sort_key = {
		from = {"[áàâäå]", "[éèêë]", "[íìîï]", "[óòôö]", "[úùûü]", "[ýỳŷÿ]", "ç", "'"},
		to   = {"a"	  , "e"	 , "i"	 , "o"	 , "u"	 , "y"	 , "c"}} ,
}

m["wo"] = {
	canonicalName = "沃洛夫語",
	otherNames = {"Gambian Wolof"}, -- the subsumed dialect 'wof'
	scripts = {"Latn", "Arab"},
	family = "alv-sng",
}

m["xh"] = {
	canonicalName = "科薩語",
	scripts = {"Latn"},
	family = "bnt-ngu",
}

m["yi"] = {
	canonicalName = "意第緒語",
	scripts = {"Hebr"},
	family = "gmw",
	ancestors = {"gmh"},
	translit_module = "yi-translit",
}

m["yo"] = {
	canonicalName = "約魯巴語",
	scripts = {"Latn"},
	family = "alv-von",
}

m["za"] = {
	canonicalName = "壯語",
	otherNames = {"Zhuang"},
	scripts = {"Latn", "Hani"},
	family = "tai",
}

m["zh"] = {
	canonicalName = "漢語",
	otherNames = {"Chinese", "現代漢語", "現代標準漢語"},
	scripts = {"Hani"},
	family = "sit",
	ancestors = {"ltc"},
}

m["zu"] = {
	canonicalName = "祖魯語",
	otherNames = {"Zulu", "isiZulu"},
	scripts = {"Latn"},
	family = "bnt-ngu",
}

return m