Module:languages/data2

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
The following documentation is located at Module:languages/data2/documentation. [edit]

This module contains definitions and metadata for two-letter language codes. See Wiktionary:Languages for more information.

This module must not be used directly in other modules or templates. The data should be accessed through Module:languages.

Required values

Every entry in the table must contain the following properties:

names
A list of all the names that this language is known by. The first name listed is always the "canonical" name, which is used in Wiktionary entries and category names. 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 language 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 Appendix namespace and must be prefixed with * to indicate a reconstruction. Most languages should use this.
  • reconstructed - This language is not attested according to CFI, and therefore is allowed only in the Appendix 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 employs, which are used on the main category of the language. If you do not know the script, use "None".
Most templates and modules will use a default script when no script is specified for them, but the script codes are interpreted in two different ways:
  • Templates and modules that use detect_script in Module:utilities will try to detect the script (based on the characters in the text), using the list of scripts as a list of possible scripts to try to detect. If the script cannot be detected, the first listed script is used by default.
  • All other templates and modules will generally use the first script listed as the default script.
family
The code for the family that the language belongs to. See Wiktionary:Families. If you do not know the family, use "qfa-und".

Optional values

The following properties are used for text substitution; they replace or remove certain (sets of) characters or sets of characters. They all work similar, and are all optional. The search and replacement patterns are those used by the standard mw.ustring.gsub function. They resemble regular expressions; see search/replace patterns for more information.

If present, each of these properties must be a table that contains two tables, 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.

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 property 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, as these are not used in the normal written form of these languages. This is used by remove_diacritics in Module:links.
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 format_categories in Module:utilities.

These are other optional values:

genders
A list of gender specifications that are valid for the language. These are given in the format of Module:gender and number. This value acts as a restriction, so that if it is left out, all genders are considered valid. If the language has no genders, meaning that no gender is valid for that language, specify an empty list, genders = {}. Keep in mind that the word "gender" is used loosely in the sense of Wiktionary's implementation: it includes not just actual grammatical gender, but also grammatical number, noun classes and even verbal aspects. Thus, a language such as Russian will need to list not only the noun genders, but also the "impf" and "pf" codes for verbs, otherwise these will be rejected.
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.

-- UTF-8 encoded strings for some commonly-used diacritics
local GRAVE     = "\204\128" -- U+0300
local ACUTE     = "\204\129" -- U+0301
local CIRC      = "\204\130" -- U+0302
local TILDE     = "\204\131" -- U+0303
local MACRON    = "\204\132" -- U+0304
local BREVE     = "\204\134" -- U+0306
local DOTABOVE  = "\204\135" -- U+0307
local DIAER     = "\204\136" -- U+0308
local CARON     = "\204\140" -- U+030C
local DGRAVE    = "\204\143" -- U+030F
local INVBREVE  = "\204\145" -- U+0311
local DOTBELOW  = "\204\163" -- U+0323
local RINGBELOW = "\204\165" -- U+0325
local CEDILLA   = "\204\167" -- U+0327
 
local m = {}
 
m["aa"] = {
	names = {"Afar", "Qafar"},
	type = "regular",
	scripts = {"Latn"},
	family = "cus"}
m["ab"] = {
	names = {"Abkhaz", "Abkhazian", "Abxazo"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "cau-nwc",
	translit_module = "ab-translit"}
m["ae"] = {
	names = {"Avestan", "Zend", "Old Bactrian"},
	type = "regular",
	scripts = {"Avst", "Gujr"},
	family = "ira",
	translit_module = "Avst-translit"}
m["af"] = {
	names = {"Afrikaans"},
	type = "regular",
	scripts = {"Latn", "Arab"},
	family = "gmw",
	sort_key = {
		from = {"[äáâà]", "[ëéêè]", "[ïíîì]", "[öóôò]", "[üúûù]", "[ÿýŷỳ]", "^-", "'"},
		to   = {"a"	 , "e"	, "i"	, "o"	, "u"  , "y" }} }
m["ak"] = {
	names = {"Akan", "Twi-Fante"},
	type = "regular",
	scripts = {"Latn"},
	family = "alv-kwa"}
m["am"] = {
	names = {"Amharic"},
	type = "regular",
	scripts = {"Ethi"},
	family = "sem-eth",
	translit_module = "Ethi-translit"}
m["an"] = {
	names = {"Aragonese"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa"}
m["ar"] = {
	names = {"Arabic", "Modern Standard Arabic", "Standard Arabic", "Literary Arabic", "Classical Arabic"},
	type = "regular",
	scripts = {"Arab"},
	family = "sem-arb",
	entry_name = {
		from = {"\217\139", "\217\140", "\217\141", "\217\142", "\217\143", "\217\144", "\217\145", "\217\146", "\217\176", "\217\128"},
		to   = {}} }
m["as"] = {
	names = {"Assamese"},
	type = "regular",
	scripts = {"Beng"},
	family = "inc"}
m["av"] = {
	names = {"Avar", "Avaric"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "cau-nec",
	translit_module = "av-translit"}
m["ay"] = {
	names = {"Aymara", "Southern Aymara", "Central Aymara"},
	type = "regular",
	scripts = {"Latn"},
	family = "sai-aym"}
m["az"] = {
	names = {"Azeri", "Azerbaijani", "Azari", "Azeri Turkic", "Azerbaijani Turkic", "North Azerbaijani", "South Azerbaijani"},
	type = "regular",
	scripts = {"Latn", "Cyrl", "fa-Arab"},
	family = "trk"}
m["ba"] = {
	names = {"Bashkir"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "trk",
	translit_module = "ba-translit"}
m["be"] = {
	names = {"Belarusian", "Belorussian", "Belarusan", "Bielorussian", "Byelorussian", "Belarussian", "White Russian"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "zle",
	translit_module = "be-translit",
	sort_key = {
		from = {"Ё", "ё"},
		to   = {"Е" , "е"}},
	entry_name = {
		from = {"\204\128", "\204\129"},
		to   = {}} }
m["bg"] = {
	names = {"Bulgarian"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "zls",
	translit_module = "bg-translit",
	entry_name = {
		from = {"Ѐ", "ѐ", "Ѝ", "ѝ", GRAVE, ACUTE},
		to   = {"Е", "е", "И", "и"}} }
m["bh"] = {
	names = {"Bihari"},
	type = "regular",
	scripts = {"Deva"},
	family = "inc"}
m["bi"] = {
	names = {"Bislama"},
	type = "regular",
	scripts = {"Latn"},
	family = "crp"}
m["bm"] = {
	names = {"Bambara", "Bamanankan"},
	type = "regular",
	scripts = {"Latn"},
	family = "dmn"}
m["bn"] = {
	names = {"Bengali", "Bangla"},
	type = "regular",
	scripts = {"Beng"},
	family = "inc"}
m["bo"] = {
	names = {"Tibetan"},
	type = "regular",
	scripts = {"Tibt"},
	family = "tbq",
	translit_module = "bo-translit-temp"}
m["br"] = {
	names = {"Breton"},
	type = "regular",
	scripts = {"Latn"},
	family = "cel-bry"}
m["ca"] = {
	names = {"Catalan", "Valencian"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"à", "[èé]", "[íï]", "[òó]", "[úü]", "ç", "l·l"},
		to   = {"a", "e"   , "i"   , "o"   , "u"   , "c", "ll" }} }
m["ce"] = {
	names = {"Chechen"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "cau-nec",
	translit_module = "ce-translit"}
m["ch"] = {
	names = {"Chamorro", "Chamoru"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-sus"}
m["co"] = {
	names = {"Corsican", "Corsu"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa"}
m["cr"] = {
	names = {"Cree"},
	type = "regular",
	scripts = {"Cans", "Latn"},
	family = "alg"}
m["cs"] = {
	names = {"Czech"},
	type = "regular",
	scripts = {"Latn"},
	family = "zlw",
	sort_key = {
		from = {"á", "é", "í", "ó", "[úů]", "ý"},
		to   = {"a", "e", "i", "o", "u"   , "y"}} }
m["cu"] = {
	names = {"Old Church Slavonic", "Old Church Slavic"},
	type = "regular",
	scripts = {"Cyrs", "Glag"},
	family = "zls",
	translit_module = "Cyrs-Glag-translit",
	entry_name = {
		from = {"\210\132"}, -- kamora
		to   = {}},
	sort_key = {
		from = {"оу", "є"},
		to   = {"у" , "е"}} }
m["cv"] = {
	names = {"Chuvash"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "trk",
	translit_module = "cv-translit"}
m["cy"] = {
	names = {"Welsh"},
	type = "regular",
	scripts = {"Latn"},
	family = "cel-bry",
	sort_key = {
		from = {"[âáàä]", "[êéèë]", "[îíìï]", "[ôóòö]", "[ûúùü]", "[ŵẃẁẅ]", "[ŷýỳÿ]", "'"},
		to   = {"a"	 , "e"	 , "i"	 , "o"	 , "u"	 , "w"	 , "y"	 }} }
m["da"] = {
	names = {"Danish"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["de"] = {
	names = {"German", "High German", "New High German", "Deutsch"}, -- the last name is indeed also used in English
	type = "regular",
	scripts = {"Latn", "Latf"},
	family = "gmw",
	sort_key = {
		from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]", "ß" },
		to   = {"a"	  , "e"	 , "i"	 , "o"	 , "u"	 , "ss"}} }
m["dv"] = {
	names = {"Dhivehi", "Divehi", "Mahal", "Mahl", "Maldivian"},
	type = "regular",
	scripts = {"Thaa"},
	family = "inc",
	translit_module = "dv-translit"}
m["dz"] = {
	names = {"Dzongkha"},
	type = "regular",
	scripts = {"Tibt"},
	family = "tbq"}
m["ee"] = {
	names = {"Ewe"},
	type = "regular",
	scripts = {"Latn"},
	family = "alv"}
m["el"] = {
	names = {"Greek", "Modern Greek", "Neo-Hellenic"},
	type = "regular",
	scripts = {"Grek"},
	family = "grk",
	translit_module = "el-translit",
	sort_key = {  -- Keep this synchronized with grc, cpg
		from = {"[ᾳάᾴὰᾲᾶᾷἀᾀἄᾄἂᾂἆᾆἁᾁἅᾅἃᾃἇᾇ]", "[έὲἐἔἒἑἕἓ]", "[ῃήῄὴῂῆῇἠᾐἤᾔἢᾒἦᾖἡᾑἥᾕἣᾓἧᾗ]", "[ίὶῖἰἴἲἶἱἵἳἷϊΐῒῗ]", "[όὸὀὄὂὁὅὃ]", "[ύὺῦὐὔὒὖὑὕὓὗϋΰῢῧ]", "[ῳώῴὼῲῶῷὠᾠὤᾤὢᾢὦᾦὡᾡὥᾥὣᾣὧᾧ]", "ῥ", "ς"},
		to   = {"α"						, "ε"		 , "η"						, "ι"				, "ο"		 , "υ"				, "ω"						, "ρ", "σ"}} }
m["en"] = {
	names = {"English", "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
	type = "regular",
	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",
	sort_key = {
		from = {"[äàáâåā]", "[ëèéêē]", "[ïìíîī]", "[öòóôō]", "[üùúûū]", "æ" , "œ" , "[çč]", "ñ", "'"},
		to   = {"a"       , "e"      , "i"      , "o"      , "u"      , "ae", "oe", "c"   , "n"}} }
m["eo"] = {
	names = {"Esperanto"},
	type = "regular",
	scripts = {"Latn"},
	family = "art",
	sort_key = {
		from = {"[áà]", "[éè]", "[íì]", "[óò]", "[úù]", "[ĉ]", "[ĝ]", "[ĥ]", "[ĵ]", "[ŝ]", "[ŭ]"},
		to   = {"a"	   , "e"  , "i"  , "o"  , "u", "cĉ", "gĉ", "hĉ", "jĉ", "sĉ", "uĉ"}} }
m["es"] = {
	names = {"Spanish"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"á", "é", "í", "ó", "[úü]", "ç", "ñ"},
		to   = {"a", "e", "i", "o", "u"   , "c", "n"}} }
m["et"] = {
	names = {"Estonian"},
	type = "regular",
	scripts = {"Latn"},
	family = "fiu-fin"}
m["eu"] = {
	names = {"Basque", "Euskara"},
	type = "regular",
	scripts = {"Latn"},
	family = "euq"}
m["fa"] = {
	names = {"Persian", "Farsi", "New Persian", "Modern Persian"},
	type = "regular",
	scripts = {"fa-Arab"},
	family = "ira",
	entry_name = {
		from = {"\217\142", "\217\143", "\217\144", "\217\145", "\217\146"},
		to   = {}} }
m["ff"] = {
	names = {"Fula", "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
	type = "regular",
	scripts = {"Latn"},
	family = "alv-sng"}
m["fi"] = {
	names = {"Finnish", "Suomi"},
	type = "regular",
	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"] = {
	names = {"Fijian"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-occ"}
m["fo"] = {
	names = {"Faroese"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["fr"] = {
	names = {"French", "Modern French"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"[áàâä]", "[éèêë]", "[íìîï]", "[óòôö]", "[úùûü]", "[ýỳŷÿ]", "ç", "æ" , "œ" , "'"},
		to   = {"a"	 , "e"	 , "i"	 , "o"	 , "u"	 , "y"	 , "c", "ae", "oe"}} }
m["fy"] = {
	names = {"West Frisian", "Western Frisian", "Frisian"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmw-fri"}
m["ga"] = {
	names = {"Irish", "Irish Gaelic"},
	type = "regular",
	scripts = {"Latn"},
	family = "cel-gae",
	sort_key = {
		from = {"á", "é", "í", "ó", "ú", "ý", "ḃ" , "ċ" , "ḋ" , "ḟ" , "ġ" , "ṁ" , "ṗ" , "ṡ" , "ṫ" },
		to   = {"a", "e", "i", "o", "u", "y", "bh", "ch", "dh", "fh", "gh", "mh", "ph", "sh", "th"}} }
m["gd"] = {
	names = {"Scottish Gaelic", "Gàidhlig", "Highland Gaelic", "Scots Gaelic", "Scottish"},
	type = "regular",
	scripts = {"Latn"},
	family = "cel-gae",
	sort_key = {
		from = {"[áà]", "[éè]", "[íì]", "[óò]", "[úù]", "[ýỳ]"},
		to   = {"a"   , "e"   , "i"   , "o"   , "u"   , "y"   }} }
m["gl"] = {
	names = {"Galician"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa"}
m["gn"] = {
	names = {"Guaraní"},
	type = "regular",
	scripts = {"Latn"},
	family = "tup"}
m["gu"] = {
	names = {"Gujarati"},
	type = "regular",
	scripts = {"Gujr"},
	family = "inc"}
m["gv"] = {
	names = {"Manx", "Manx Gaelic"},
	type = "regular",
	scripts = {"Latn"},
	family = "cel-gae",
	sort_key = {
		from = {"ç", "-"},
		to   = {"c"}} }
m["ha"] = {
	names = {"Hausa"},
	type = "regular",
	scripts = {"Latn", "Arab"},
	family = "cdc-wst"}
m["he"] = {
	names = {"Hebrew", "Ivrit"},
	type = "regular",
	scripts = {"Hebr"},
	family = "sem-can",
	entry_name = {
		from = {"\214\176", "\214\177", "\214\178", "\214\179", "\214\180", "\214\181", "\214\182", "\214\183", "\214\184", "\214\185", "\214\186", "\214\187", "\214\188", "\214\189", "\214\191", "\215\129", "\215\130"},
		to   = {}} }
m["hi"] = {
	names = {"Hindi"},
	type = "regular",
	scripts = {"Deva"},
	family = "inc"}
m["ho"] = {
	names = {"Hiri Motu", "Pidgin Motu", "Police Motu"},
	type = "regular",
	scripts = {"Latn"},
	family = "crp"}
m["ht"] = {
	names = {"Haitian Creole", "Creole", "Haitian", "Kreyòl"},
	type = "regular",
	scripts = {"Latn"},
	family = "crp"}
m["hu"] = {
	names = {"Hungarian", "Magyar"},
	type = "regular",
	scripts = {"Latn"},
	family = "fiu-ugr",
	sort_key = {
		from = {"á", "é", "í", "ó", "ú", "ő", "ű"},
		to   = {"a", "e", "i", "o", "u", "ö", "ü"}} }
m["hy"] = {
	names = {"Armenian", "Modern Armenian", "Eastern Armenian", "Western Armenian"},
	type = "regular",
	scripts = {"Armn"},
	family = "hyx",
	translit_module = "Armn-translit",
	sort_key = {
		from = {"ու", "և", "եւ"},
		to   = {"ւ", "եվ", "եվ"}},
	entry_name = {
		from = {"՞", "՜", "՛", "՟", "և", "<sup>յ</sup>", "ՙ", "̈", "յ̵"},
		to   = {"", "", "", "", "եւ", "յ", "", "", "յ"}} }
m["hz"] = {
	names = {"Herero"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["ia"] = {
	names = {"Interlingua"},
	type = "regular",
	scripts = {"Latn"},
	family = "art"}
m["id"] = {
	names = {"Indonesian"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-mly"}
m["ie"] = {
	names = {"Interlingue", "Occidental"},
	type = "regular",
	scripts = {"Latn"},
	family = "art"}
m["ig"] = {
	names = {"Igbo"},
	type = "regular",
	scripts = {"Latn"},
	family = "nic-bco"}
m["ii"] = {
	names = {"Sichuan Yi"},
	type = "regular",
	scripts = {"Yiii"},
	family = "tbq"}
m["ik"] = {
	names = {"Inupiak", "Inupiaq", "Iñupiaq", "Inupiatun"},
	type = "regular",
	scripts = {"Latn"},
	family = "esx-inu"}
m["io"] = {
	names = {"Ido"},
	type = "regular",
	scripts = {"Latn"},
	family = "art"}
m["is"] = {
	names = {"Icelandic"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["it"] = {
	names = {"Italian"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"[àáâäå]", "[èéêë]", "[ìíîï]", "[òóôö]", "[ùúûü]"},
		to   = {"a"	  , "e"	 , "i"	 , "o"	 , "u"	 }} }
m["iu"] = {
	names = {"Inuktitut", "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"},
	type = "regular",
	scripts = {"Cans", "Latn"},
	family = "esx-inu",
	translit_module = "iu-translit"}
m["ja"] = {
	names = {"Japanese", "Modern Japanese", "Nipponese", "Nihongo"},
	type = "regular",
	scripts = {"Jpan", "Latn", "Hira"},
	family = "jpx"}
m["jv"] = {
	names = {"Javanese"},
	type = "regular",
	scripts = {"Latn", "Java"},
	family = "poz-sus"}
m["ka"] = {
	names = {"Georgian", "Kartvelian"},
	type = "regular",
	scripts = {"Geor", "Geok"},
	family = "ccs",
	translit_module = "Geor-translit",
	entry_name = {
		from = {"̂"},
		to   = {""}}}
m["kg"] = {
	names = {"Kongo", "Kikongo", "Koongo", "Laari", "San Salvador Kongo", "Yombe"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["ki"] = {
	names = {"Kikuyu"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["kj"] = {
	names = {"Kwanyama", "Kuanyama", "Oshikwanyama"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["kk"] = {
	names = {"Kazakh"},
	type = "regular",
	scripts = {"Cyrl", "Latn", "Arab", "kk-Arab"},
	family = "trk",
	translit_module = "kk-translit"}
m["kl"] = {
	names = {"Greenlandic", "Kalaallisut"},
	type = "regular",
	scripts = {"Latn"},
	family = "esx-inu"}
m["km"] = {
	names = {"Khmer", "Cambodian"},
	type = "regular",
	scripts = {"Khmr"},
	family = "mkh"}
m["kn"] = {
	names = {"Kannada"},
	type = "regular",
	scripts = {"Knda"},
	family = "dra",
	translit_module = "kn-translit"}
m["ko"] = {
	names = {"Korean", "Modern Korean"},
	type = "regular",
	scripts = {"Kore"},
	family = "qfa-kor",
	translit_module = "ko-translit"}
m["kr"] = {
	names = {"Kanuri", "Kanembu", "Bilma Kanuri", "Central Kanuri", "Manga Kanuri", "Tumari Kanuri"},
	type = "regular",
	scripts = {"Latn"},
	family = "ssa"}
m["ks"] = {
	names = {"Kashmiri"},
	type = "regular",
	scripts = {"ks-Arab", "Deva"},
	family = "iir-dar"}
m["ku"] = {
	names = {"Kurdish"},
	type = "regular",
	scripts = {"Latn", "ku-Arab"},
	family = "ira"}
m["kv"] = {
	names = {"Komi-Zyrian", "Komi"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "fiu",
	translit_module = "kv-translit"}
m["kw"] = {
	names = {"Cornish"},
	type = "regular",
	scripts = {"Latn"},
	family = "cel-bry"}
m["ky"] = {
	names = {"Kyrgyz", "Kirghiz", "Kirgiz"},
	type = "regular",
	scripts = {"Cyrl", "Latn", "Arab"},
	family = "trk",
	translit_module = "ky-translit"}
m["la"] = {
	names = {"Latin"},
	type = "regular",
	scripts = {"Latn"},
	family = "itc",
	entry_name = {
		from = {"Ā", "ā", "Ē", "ē", "Ī", "ī", "Ō", "ō", "Ū", "ū", "Ȳ", "ȳ"},
		to   = {"A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "Y", "y"}} }
m["lb"] = {
	names = {"Luxembourgish"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmw"}
m["lg"] = {
	names = {"Luganda", "Ganda"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["li"] = {
	names = {"Limburgish", "Limburgan", "Limburgian", "Limburgic"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmw"}
m["ln"] = {
	names = {"Lingala"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["lo"] = {
	names = {"Lao", "Laotian"},
	type = "regular",
	scripts = {"Laoo"},
	family = "tai-swe"}
m["lt"] = {
	names = {"Lithuanian"},
	type = "regular",
	scripts = {"Latn"},
	family = "bat",
	entry_name = {
		from = {"[áãà]", "[éẽè]", "[íĩì]", "[ýỹ]", "ñ", "[óõò]", "[úù]", ACUTE, GRAVE, TILDE},
		to   = {"a"    , "e"    , "i", "y"   , "n", "o"	   , "u"   }} }
m["lu"] = {
	names = {"Luba-Katanga"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["lv"] = {
	names = {"Latvian", "Lettish", "Lett"},
	type = "regular",
	scripts = {"Latn"},
	family = "bat"}
m["mg"] = {
	names = {"Malagasy", "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"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-bre"}
m["mh"] = {
	names = {"Marshallese"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-mic",
	sort_key = {
		from = {"ā" , "ļ" , "m̧" , "ņ" , "n̄"  , "o̧" , "ō"  , "ū" },
		to   = {"a~", "l~", "m~", "n~", "n~~", "o~", "o~~", "u~"}} }
m["mi"] = {
	names = {"Maori", "Māori"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-pol"}
m["mk"] = {
	names = {"Macedonian"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "zls",
	translit_module = "mk-translit",
	entry_name = {
		from = {"Ѐ", "ѐ", "Ѝ", "ѝ", GRAVE, ACUTE},
		to   = {"Е", "е", "И", "и"}} }
m["ml"] = {
	names = {"Malayalam"},
	type = "regular",
	scripts = {"Mlym"},
	family = "dra",
	translit_module = "ml-translit",}
m["mn"] = {
	names = {"Mongolian"},
	type = "regular",
	scripts = {"Cyrl", "Mong"},
	family = "xgn",
	translit_module = "mn-translit"}
m["mr"] = {
	names = {"Marathi"},
	type = "regular",
	scripts = {"Deva"},
	family = "inc"}
m["ms"] = {
	names = {"Malay"},
	type = "regular",
	scripts = {"Latn", "Arab"},
	family = "poz-mly"}
m["mt"] = {
	names = {"Maltese"},
	type = "regular",
	scripts = {"Latn"},
	family = "sem-arb"}
m["my"] = {
	names = {"Burmese", "Myanmar"},
	type = "regular",
	scripts = {"Mymr"},
	family = "tbq-brm"}
m["na"] = {
	names = {"Nauruan", "Nauru"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-mic"}
m["nb"] = {
	names = {"Norwegian Bokmål", "Bokmål"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["nd"] = {
	names = {"Northern Ndebele", "North Ndebele"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["ne"] = {
	names = {"Nepali", "Nepalese"},
	type = "regular",
	scripts = {"Deva"},
	family = "inc"}
m["ng"] = {
	names = {"Ndonga"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["nl"] = {
	names = {"Dutch", "Netherlandic", "Flemish"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmw",
	sort_key = {
		from = {"[äáâå]", "[ëéê]", "[ïíî]", "[öóô]", "[üúû]", "ç", "ñ", "^-"},
		to   = {"a"	 , "e"	, "i"	, "o"	, "u"	, "c", "n"}} }
m["nn"] = {
	names = {"Norwegian Nynorsk", "New Norwegian", "Nynorsk"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["no"] = {
	names = {"Norwegian"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["nr"] = {
	names = {"Southern Ndebele", "South Ndebele"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["nv"] = {
	names = {"Navajo"},
	type = "regular",
	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"] = {
	names = {"Chichewa", "Chicheŵa", "Chinyanja", "Nyanja"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["oc"] = {
	names = {"Occitan", "Provençal", "Auvergnat", "Auvernhat", "Gascon"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"[àá]", "[èé]", "[íï]", "[òó]", "[úü]", "ç", "([lns])·h"},
		to   = {"a"   , "e"   , "i"   , "o"   , "u"   , "c", "%1h"	  }} }
m["oj"] = {
	names = {"Ojibwe", "Chippewa", "Ojibway", "Ojibwemowin", "Southwestern Ojibwa"},
	type = "regular",
	scripts = {"Cans", "Latn"},
	family = "alg"}
m["om"] = {
	names = {"Oromo", "Orma", "Borana-Arsi-Guji Oromo", "West Central Oromo"},
	type = "regular",
	scripts = {"Latn", "Ethi"},
	family = "cus"}
m["or"] = {
	names = {"Oriya", "Odia", "Oorya"},
	type = "regular",
	scripts = {"Orya"},
	family = "inc"}
m["os"] = {
	names = {"Ossetian", "Ossete", "Ossetic", "Digor", "Iron"},
	type = "regular",
	scripts = {"Cyrl", "Geor", "Latn"},
	family = "ira",
	translit_module = "os-translit",
	entry_name = {
		from = {"\204\128", "\204\129"},
		to   = {}} }
m["pa"] = {
	names = {"Punjabi", "Panjabi"},
	type = "regular",
	scripts = {"Guru", "Arab", "Deva"},
	family = "inc"}
m["pi"] = {
	names = {"Pali"},
	type = "regular",
	scripts = {"Latn", "Deva", "Sinh", "Mymr", "Khmr", "Thai"},
	family = "inc",
	sort_key = {
		from = {"ā", "ī", "ū", "ḍ", "ḷ", "[ṁṃ]", "[ṇñṅ]", "ṭ"},
		to   = {"a", "i", "u", "d", "l", "m"   , "n"	, "t"}} }
m["pl"] = {
	names = {"Polish"},
	type = "regular",
	scripts = {"Latn"},
	family = "zlw",
	sort_key = {
	from = {"[Ąą]", "[Ćć]", "[Ęę]", "[Łł]", "[Ńń]", "[Óó]", "[Śś]", "[Żż]", "[Źź]"},
	to   = {
		"a\244\143\191\191",
		"c\244\143\191\191",
		"e\244\143\191\191",
		"l\244\143\191\191",
		"n\244\143\191\191",
		"o\244\143\191\191",
		"s\244\143\191\191",
		"z\244\143\191\191",
		"z\244\143\191\190"}} }
m["ps"] = {
	names = {"Pashto", "Pashtun", "Pushto", "Pashtu", "Central Pashto", "Northern Pashto", "Southern Pashto", "Pukhto", "Pakhto", "Pakkhto", "Afghani"},
	type = "regular",
	scripts = {"ps-Arab"},
	family = "ira"}
m["pt"] = {
	names = {"Portuguese", "Modern Portuguese"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"[àãáâä]", "[èẽéêë]", "[ìĩíï]", "[òóôõö]", "[üúùũ]", "ç", "ñ"},
		to   = {"a"	  , "e"	  , "i"	 , "o"	  , "u"	 , "c", "n"}} }
m["qu"] = {
	names = {"Quechua"},
	type = "regular",
	scripts = {"Latn"},
	family = "qwe"}
m["rm"] = {
	names = {"Romansch", "Romansh", "Rumantsch", "Romanche"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa"}
m["rn"] = {
	names = {"Kirundi"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["ro"] = {
	names = {"Romanian", "Daco-Romanian", "Roumanian", "Rumanian"},
	type = "regular",
	scripts = {"Latn", "Cyrl"},
	family = "roa"}
m["ru"] = {
	names = {"Russian"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "zle",
	translit_module = "ru-translit",
	sort_key = {
		from = {"ё"},
		to   = {"е" .. mw.ustring.char(0x10FFFF)}},
	entry_name = {
		from = {"\204\128", "\204\129"},
		to   = {}} }
m["rw"] = {
	names = {"Kinyarwanda"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["sa"] = {
	names = {"Sanskrit"},
	type = "regular",
	scripts = {"Deva", "Beng", "Brah", "Gran", "Gujr", "Guru", "Khar", "Knda", "Mlym", "Mymr", "Orya", "Shrd", "Sinh", "Taml", "Telu", "Thai", "Tibt"},
	family = "inc",
	translit_module = "sa-translit"}
m["sc"] = {
	names = {"Sardinian"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa"}
m["sd"] = {
	names = {"Sindhi"},
	type = "regular",
	scripts = {"sd-Arab"},
	family = "inc"}
m["se"] = {
	names = {"Northern Sami"},
	type = "regular",
	scripts = {"Latn"},
	family = "smi"}
m["sg"] = {
	names = {"Sango"},
	type = "regular",
	scripts = {"Latn"},
	family = "crp"}
m["sh"] = {
	names = {"Serbo-Croatian", "BCS", "Croato-Serbian", "Serbocroatian", "Bosnian", "Croatian", "Montenegrin", "Serbian"},
	type = "regular",
	scripts = {"Latn", "Cyrl"},
	family = "zls",
	entry_name = {
		from = {"[ȀÀȂÁĀ]", "[ȁàȃáā]", "[ȄÈȆÉĒ]", "[ȅèȇéē]", "[ȈÌȊÍĪ]", "[ȉìȋíī]", "[ȌÒȎÓŌ]", "[ȍòȏóō]", "[ȐȒŔ]", "[ȑȓŕ]", "[ȔÙȖÚŪ]", "[ȕùȗúū]", "Ѐ", "ѐ", "[ӢЍ]", "[ӣѝ]", "[Ӯ]", "[ӯ]", GRAVE, ACUTE, DGRAVE, INVBREVE, MACRON},
		to   = {"A"	  , "a"	  , "E"	  , "e"	  , "I"	  , "i"	  , "O"	  , "o"	  , "R"	, "r"	, "U"	  , "u"	  , "Е", "е", "И"   , "и", "У", "у"   }} }
m["si"] = {
	names = {"Sinhalese", "Singhalese", "Sinhala"},
	type = "regular",
	scripts = {"Sinh"},
	family = "inc",
	translit_module = "si-translit"}
m["sk"] = {
	names = {"Slovak"},
	type = "regular",
	scripts = {"Latn"},
	family = "zlw",
	sort_key = {
		from = {"[áä]", "é", "í", "[óô]", "ú", "ý", "ŕ", "ĺ"},
		to   = {"a"   , "e", "i", "o"   , "u", "y", "r", "l"}} }
m["sl"] = {
	names = {"Slovene", "Slovenian"},
	type = "regular",
	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"] = {
	names = {"Samoan"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-pol"}
m["sn"] = {
	names = {"Shona"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["so"] = {
	names = {"Somali"},
	type = "regular",
	scripts = {"Latn", "Arab", "Osma"},
	family = "cus",
	entry_name = {
		from = {"[ÁÀÂ]", "[áàâ]", "[ÉÈÊ]", "[éèê]", "[ÍÌÎ]", "[íìî]", "[ÓÒÔ]", "[óòô]", "[ÚÙÛ]", "[úùû]", "[ÝỲ]", "[ýỳ]"},
		to   = {"A"	  , "a"	  , "E"	, "e" , "I"	  , "i"	  , "O"	, "o"	, "U"  , "u", "Y", "y"}} }
m["sq"] = {
	names = {"Albanian"},
	type = "regular",
	scripts = {"Latn"},
	family = "sqj"}
m["ss"] = {
	names = {"Swazi", "Swati"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["st"] = {
	names = {"Sotho", "Sesotho", "Southern Sesotho", "Southern Sotho"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["su"] = {
	names = {"Sundanese"},
	type = "regular",
	scripts = {"Latn", "Sund"},
	family = "poz-msa"}
m["sv"] = {
	names = {"Swedish"},
	type = "regular",
	scripts = {"Latn"},
	family = "gmq"}
m["sw"] = {
	names = {"Swahili"},
	type = "regular",
	scripts = {"Latn", "Arab"},
	family = "bnt",
	sort_key = {
		from = {"ng'", "^-"},
		to   = {"ngz"}} }
m["ta"] = {
	names = {"Tamil"},
	type = "regular",
	scripts = {"Taml"},
	family = "dra",
	translit_module = "ta-translit"}
m["te"] = {
	names = {"Telugu"},
	type = "regular",
	scripts = {"Telu"},
	family = "dra",
	translit_module = "te-translit"}
m["tg"] = {
	names = {"Tajik", "Tadjik", "Tadzhik", "Tajiki", "Tajik Persian"},
	type = "regular",
	scripts = {"Cyrl", "fa-Arab", "Latn"},
	family = "ira",
	translit_module = "tg-translit",
		sort_key = {
		from = {"Ё", "ё"},
		to   = {"Е" , "е"}} }
m["th"] = {
	names = {"Thai"},
	type = "regular",
	scripts = {"Thai"},
	family = "tai-swe"}
m["ti"] = {
	names = {"Tigrinya"},
	type = "regular",
	scripts = {"Ethi"},
	family = "sem-eth",
	translit_module = "Ethi-translit"}
m["tk"] = {
	names = {"Turkmen"},
	type = "regular",
	scripts = {"Latn", "Cyrl"},
	family = "trk"}
m["tl"] = {
	names = {"Tagalog"},
	type = "regular",
	scripts = {"Latn", "Tglg"},
	family = "phi"}
m["tn"] = {
	names = {"Tswana", "Setswana"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["to"] = {
	names = {"Tongan"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-pol"}
m["tr"] = {
	names = {"Turkish"},
	type = "regular",
	scripts = {"Latn"},
	family = "trk"}
m["ts"] = {
	names = {"Tsonga"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["tt"] = {
	names = {"Tatar"},
	type = "regular",
	scripts = {"Cyrl", "Latn", "Arab", "tt-Arab"},
	family = "trk",
	translit_module = "tt-translit"}
m["tw"] = {
	names = {"Twi"},
	type = "regular",
	scripts = {"Latn"},
	family = "alv-kwa"}
m["ty"] = {
	names = {"Tahitian"},
	type = "regular",
	scripts = {"Latn"},
	family = "poz-pol"}
m["ug"] = {
	names = {"Uyghur", "Uigur", "Uighur", "Uygur"},
	type = "regular",
	scripts = {"ug-Arab", "Latn", "Cyrl"},
	family = "trk",
	translit_module = "ug-translit"}
m["uk"] = {
	names = {"Ukrainian"},
	type = "regular",
	scripts = {"Cyrl"},
	family = "zle",
	translit_module = "uk-translit",
	entry_name = {
		from = {"\204\128", "\204\129"},
		to   = {}} } 
m["ur"] = {
	names = {"Urdu"},
	type = "regular",
	scripts = {"ur-Arab"},
	family = "inc",
	entry_name = {
		from = {"\217\139", "\217\140", "\217\141", "\217\142", "\217\143", "\217\144", "\217\145", "\217\146"},
		to   = {}} }
m["uz"] = {
	names = {"Uzbek"},
	type = "regular",
	scripts = {"Latn", "Cyrl", "fa-Arab"},
	family = "trk"}
m["ve"] = {
	names = {"Venda"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["vi"] = {
	names = {"Vietnamese", "Annamese", "Annamite"},
	type = "regular",
	scripts = {"Latn", "Hani"},
	family = "mkh-vie"}
m["vo"] = {
	names = {"Volapük"},
	type = "regular",
	scripts = {"Latn"},
	family = "art"}
m["wa"] = {
	names = {"Walloon"},
	type = "regular",
	scripts = {"Latn"},
	family = "roa",
	sort_key = {
		from = {"[áàâäå]", "[éèêë]", "[íìîï]", "[óòôö]", "[úùûü]", "[ýỳŷÿ]", "ç", "'"},
		to   = {"a"	  , "e"	 , "i"	 , "o"	 , "u"	 , "y"	 , "c"}} }
m["wo"] = {
	names = {"Wolof"},
	type = "regular",
	scripts = {"Latn", "Arab"},
	family = "alv-sng"}
m["xh"] = {
	names = {"Xhosa"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
m["yi"] = {
	names = {"Yiddish"},
	type = "regular",
	scripts = {"Hebr"},
	family = "gmw",
	translit_module = "yi-translit"}
m["yo"] = {
	names = {"Yoruba"},
	type = "regular",
	scripts = {"Latn"},
	family = "alv-von"}
m["za"] = {
	names = {"Zhuang"},
	type = "regular",
	scripts = {"Latn", "Hani", "Cyrl"},
	family = "tai"}
m["zu"] = {
	names = {"Zulu", "isiZulu"},
	type = "regular",
	scripts = {"Latn"},
	family = "bnt"}
 
return m