Module:languages/data/3/c: Difference between revisions

From Linguifex
Jump to navigation Jump to search
m 1 revision imported
Adding Latin script to cdo per w:Bàng-uâ-cê
Line 101: Line 101:
"Chambri",
"Chambri",
5069707,
5069707,
"paa-lsp",
"paa-lse",
"Latn",
"Latn",
}
}
Line 123: Line 123:
35156,
35156,
"aav-nic",
"aav-nic",
"Latn",
"Latn, Deva",
}
}


Line 132: Line 132:
"Latn",
"Latn",
sort_key = {remove_diacritics = c.grave .. c.acute .. c.circ .. "`" .. "'%-%s"},
sort_key = {remove_diacritics = c.grave .. c.acute .. c.circ .. "`" .. "'%-%s"},
entry_name = {
strip_diacritics = {
remove_diacritics = c.acute,
remove_diacritics = c.acute,
from = {"â", "ê", "î", "ô", "û", "ŷ"},
from = {"â", "ê", "î", "ô", "û", "ŷ"},
Line 142: Line 142:
"Tsimané",
"Tsimané",
35950,
35950,
"qfa-iso",
"qfa-dis", -- isolate or in a putative Putative Mosetan-Chonan family
"Latn",
"Latn",
}
}
Line 163: Line 163:
"Chiquitano",
"Chiquitano",
1844993,
1844993,
"qfa-iso",
"qfa-iso", -- isolate or Macro-Jê
"Latn",
"Latn",
}
}
Line 177: Line 177:
"Canichana",
"Canichana",
2936374,
2936374,
"qfa-iso",
"qfa-dis", -- isolate, unclassified or in a putative Tequiraca-Canichana family
"Latn",
"Latn",
}
}
Line 229: Line 229:
"Latn",
"Latn",
     ancestors = "es",
     ancestors = "es",
entry_name = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer},
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer},
sort_key = {
sort_key = {
from = {"ch", "ll", "ñ", "r"},
from = {"ch", "ll", "ñ", "r"},
to = {"c" .. p[1], "l" .. p[1], "n" .. p[1], "r" .. p[1]}
to = {"c" .. p[1], "l" .. p[1], "n" .. p[1], "r" .. p[1]}
},
},
standardChars = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnÑñOoPpQqRrSsTtUuVvWwXxYyZz" .. c.punc,
standard_chars = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnÑñOoPpQqRrSsTtUuVvWwXxYyZz" .. c.punc,
}
}


Line 291: Line 291:
"Candoshi-Shapra",
"Candoshi-Shapra",
642843,
642843,
"qfa-iso",
"qfa-dis", -- isolate or related to extinct Chirino; Kaufman (2007) puts it in Saparo-Yawan, Jolkesky (2016) as
  -- Macro-Arawakan
"Latn",
"Latn",
}
}
Line 334: Line 335:
"Cafundó",
"Cafundó",
3331506,
3331506,
"roa-ibe",
"roa-gap",
"Latn",
"Latn",
ancestors = "pt",
ancestors = "pt",
Line 473: Line 474:
36455,
36455,
"zhx-com",
"zhx-com",
"Hants",
"Hants, Latn",
generate_forms = "zh-generateforms",
generate_forms = "zh-generateforms",
translit = "zh-translit",
translit = "zh-translit",
Line 522: Line 523:
},
},
override_translit = true,
override_translit = true,
entry_name = {
strip_diacritics = {
Latn = {
Latn = {
remove_diacritics = c.grave .. c.acute .. c.circ
remove_diacritics = c.grave .. c.acute .. c.circ
Line 530: Line 531:
Latn = "tl-sortkey",
Latn = "tl-sortkey",
},
},
standardChars = {
standard_chars = {
Latn = "AaBbKkDdEeGgHhIiLlMmNnOoPpRrSsTtUuWwYy",
Latn = "AaBbKkDdEeGgHhIiLlMmNnOoPpRrSsTtUuWwYy",
c.punc
c.punc
Line 554: Line 555:
"Centúúm",
"Centúúm",
33608,
33608,
"qfa-iso",
"qfa-iso", -- northeastern Nigeria
"Latn",
"Latn",
}
}
Line 613: Line 614:
"Tibt",
"Tibt",
ancestors = "xct",
ancestors = "xct",
translit = "Tibt-translit",
override_translit = true,
override_translit = true,
display_text = s["Tibt-displaytext"],
-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
entry_name = s["Tibt-entryname"],
sort_key = "Tibt-sortkey",
}
}


Line 642: Line 640:


m["chf"] = {
m["chf"] = {
"Tabasco Chontal",
"Chontal Maya",
35175,
35175,
"myn",
"myn",
Line 652: Line 650:
36831,
36831,
"trk-kar",
"trk-kar",
"Arab",
"Arab, Ougr",
ancestors = "zkh",
ancestors = "zkh",
entry_name = {
strip_diacritics = {
remove_diacritics = c.kashida .. c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.superalef,
remove_diacritics = c.kashida .. c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.superalef,
from = {u(0x0671)},
from = {u(0x0671)},
to  = {u(0x0627)}
to  = {u(0x0627)}
},
translit = {
Arab = "chg-translit",
Ougr = "Ougr-translit",
},
},
}
}
Line 687: Line 689:
"azc-cup",
"azc-cup",
"Latn",
"Latn",
entry_name = {remove_diacritics = c.acute .. c.macron},
strip_diacritics = {remove_diacritics = c.acute .. c.macron},
}
}


Line 706: Line 708:
"Latn",
"Latn",
sort_key = {remove_diacritics = c.macronbelow .. "-"},
sort_key = {remove_diacritics = c.macronbelow .. "-"},
entry_name = {remove_diacritics = c.acute .. c.dotbelow},
strip_diacritics = {remove_diacritics = c.acute .. c.dotbelow},
}
}


Line 734: Line 736:
"Cholón",
"Cholón",
2591243,
2591243,
nil,
"qfa-unc", -- poorly attested; possibly in a Hibito-Cholon or Cholonan family
"Latn",
"Latn",
}
}
Line 758: Line 760:
"Latn",
"Latn",
sort_key = {remove_diacritics = c.grave .. c.acute .. c.macron .. c.dotabove .. "-"},
sort_key = {remove_diacritics = c.grave .. c.acute .. c.macron .. c.dotabove .. "-"},
standardChars = "AaÁáÀàĀāȦȧEeÉéÈèĒēĖėHhKkMmNnOoÓóÒòŌōȮȯPpSsŠšTtVvXx" .. c.punc, --umlaut and circumflex not allowed
standard_chars = "AaÁáÀàĀāȦȧEeÉéÈèĒēĖėHhKkMmNnOoÓóÒòŌōȮȯPpSsŠšTtVvXx" .. c.punc, --umlaut and circumflex not allowed
}
}


Line 792: Line 794:
"Chimariko",
"Chimariko",
1294251,
1294251,
"qfa-iso",
"qfa-iso", -- possibly Hokan
"Latn",
"Latn",
}
}
Line 841: Line 843:


m["cir"] = {
m["cir"] = {
"Tîrî",
"Tinrin",
7862281,
7862281,
"poz-cln",
"poz-cln",
Line 858: Line 860:
12645578,
12645578,
"cmc",
"cmc",
"Latn, Arab, Khmr", -- Western Cham script is not yet available. Also, Arabic script is missing some glyphs.
"Latn, Arab, Khmr, Cham", -- Western Cham script is not yet available. Also, Arabic script is missing some glyphs.
}
}


Line 883: Line 885:
override_translit = true,
override_translit = true,
display_text = s["cau-Cyrl-displaytext"],
display_text = s["cau-Cyrl-displaytext"],
entry_name = s["cau-Cyrl-entryname"],
strip_diacritics = s["cau-Cyrl-stripdiacritics"],
}
}


Line 903: Line 905:
"Chenapian",
"Chenapian",
5091044,
5091044,
"paa-spk",
"paa-sep",
"Latn",
"Latn",
}
}


m["cjo"] = {
m["cjo"] = {
"Ashéninka Pajonal",
"Pajonal Ashéninka",
3450481,
3450481,
"awd",
"awd",
Line 931: Line 933:
"Chuave",
"Chuave",
5115226,
5115226,
"ngf",
"ngf-sim",
"Latn",
"Latn",
}
}
Line 952: Line 954:
"ku-Arab",
"ku-Arab",
translit = "ckb-translit",
translit = "ckb-translit",
entry_name = {remove_diacritics = c.kasra .. c.sukun},
strip_diacritics = {remove_diacritics = c.kasra .. c.sukun},
}
}


Line 994: Line 996:
"Kairak",
"Kairak",
3503002,
3503002,
"paa-bng",
"paa-bai",
"Latn",
"Latn",
}
}
Line 1,011: Line 1,013:
33170,
33170,
"qfa-ckn",
"qfa-ckn",
"Cyrl",
"Cyrl, Latn", -- Latn is obsolete
entry_name = {
strip_diacritics = {
from = {"['’]"},
from = {"['’]"},
to = {"ʼ"}
to = {"ʼ"}
Line 1,077: Line 1,079:
"sem-are",
"sem-are",
"Syrc",
"Syrc",
entry_name = "Syrc-entryname",
strip_diacritics = "Syrc-stripdiacritics",
}
}


Line 1,112: Line 1,114:
"sit-gsi",
"sit-gsi",
"Tibt, Deva",
"Tibt, Deva",
translit = {
Tibt = "Tibt-translit"
},
override_translit = true,
override_translit = true,
display_text = {
-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
Tibt = s["Tibt-displaytext"]
},
entry_name = {
Tibt = s["Tibt-entryname"]
},
sort_key = {
Tibt = "Tibt-sortkey"
},
}
}


Line 1,149: Line 1,140:


m["clt"] = {
m["clt"] = {
"Lautu Chin",
"Lutuv",
6502107,
6502107,
"tbq-kuk",
"tbq-kuk",
Line 1,195: Line 1,186:
"xgn-cen",
"xgn-cen",
"Mong, Soyo, Zanb",
"Mong, Soyo, Zanb",
translit = {
-- Mong translit, display_text and strip_diacritics in [[Module:scripts/data]]
Mong = "Mong-translit"
},
display_text = {
Mong = s["Mong-displaytext"]
},
entry_name = {
Mong = s["Mong-entryname"]
},
}
}


Line 1,231: Line 1,214:
9192,
9192,
"zhx-man",
"zhx-man",
"Hants, Latn, Bopo",
"Hants, Latn, Bopo, Brai",
wikimedia_codes = "zh",
wikimedia_codes = "zh",
generate_forms = "zh-generateforms",
generate_forms = "zh-generateforms",
Line 1,277: Line 1,260:
33369881,
33369881,
"mkh-ban",
"mkh-ban",
"Khmr, Latn",
}
}


Line 1,290: Line 1,274:
"ine",
"ine",
"Ital, Latn, Polyt",
"Ital, Latn, Polyt",
translit = {
-- Ital translit in [[Module:scripts/data]]
Ital = "Ital-translit",
-- Polyt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
Polyt = "grc-translit",
},
display_text = {
Polyt = s["Polyt-displaytext"]
},
entry_name = {
Polyt = s["Polyt-entryname"]
},
sort_key = {
Polyt = s["Polyt-sortkey"]
},
}
}


Line 1,318: Line 1,291:
"sit-lab",
"sit-lab",
"Tibt",
"Tibt",
translit = "Tibt-translit",
override_translit = true,
override_translit = true,
display_text = s["Tibt-displaytext"],
-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
entry_name = s["Tibt-entryname"],
sort_key = "Tibt-sortkey",
}
}


Line 1,329: Line 1,299:
12952327,
12952327,
"tbq-kuk",
"tbq-kuk",
"Latn",
}
}


Line 1,342: Line 1,313:
56559,
56559,
"sit-qia",
"sit-qia",
"Latn",
}
}


Line 1,348: Line 1,320:
3250286,
3250286,
"tbq-kuk",
"tbq-kuk",
"Latn, Mymr",
}
}


Line 1,361: Line 1,334:
56308,
56308,
"tbq-kuk",
"tbq-kuk",
"Latn",
}
}


Line 1,388: Line 1,362:
"Central Asmat",
"Central Asmat",
11732048,
11732048,
"ngf",
"ngf-asm",
"Latn",
"Latn",
}
}
Line 1,403: Line 1,377:
33276,
33276,
"ber",
"ber",
"Latn",
}
}


Line 1,528: Line 1,503:
translit = "Copt-translit",
translit = "Copt-translit",
ancestors = "egx-dem",
ancestors = "egx-dem",
entry_name = {remove_diacritics = c.grave .. c.macron .. c.overline .. c.diaer .. "ˋ"},
strip_diacritics = {remove_diacritics = c.grave .. c.macron .. c.overline .. c.diaer .. "ˋ"},
sort_key = "cop-sortkey",
sort_key = "Copt-sortkey",
}
}


Line 1,602: Line 1,577:


m["cpc"] = {
m["cpc"] = {
"Ajyíninka Apurucayali",
"Apurucayali Ashéninka",
3327405,
3327405,
"awd",
"awd",
Line 1,617: Line 1,592:
Grek = "el-translit",
Grek = "el-translit",
},
},
display_text = {
-- Grek display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
Grek = s["Grek-displaytext"],
},
entry_name = {
Grek = s["Grek-entryname"],
},
sort_key = {
Grek = s["Grek-sortkey"],
},
}
}


Line 1,852: Line 1,819:
2605680,
2605680,
"aav-nic",
"aav-nic",
"Latn",
}
}


Line 1,934: Line 1,902:
12627282,
12627282,
"tbq-kuk",
"tbq-kuk",
"Latn, Mymr",
}
}


Line 1,939: Line 1,908:
"Coast Miwok",
"Coast Miwok",
2981109,
2981109,
"nai-you",
"nai-utn",
"Latn",
"Latn",
}
}
Line 1,965: Line 1,934:
"Central Sierra Miwok",
"Central Sierra Miwok",
2944443,
2944443,
"nai-you",
"nai-utn",
"Latn",
"Latn",
}
}
Line 2,009: Line 1,978:
"Southern Ohlone",
"Southern Ohlone",
25559664,
25559664,
"nai-you",
"nai-utn",
"Latn",
"Latn",
}
}
Line 2,016: Line 1,985:
"Northern Ohlone",
"Northern Ohlone",
25559666,
25559666,
"nai-you",
"nai-utn",
"Latn",
"Latn",
}
}
Line 2,032: Line 2,001:
"Latn, Cans",
"Latn, Cans",
ancestors = "cr",
ancestors = "cr",
}
m["csx"] = {
"Cambodian Sign Language",
50934287,
"sgn",
}
}


Line 2,099: Line 2,074:
"Chitimacha",
"Chitimacha",
1294227,
1294227,
"qfa-iso",
"qfa-iso", -- recently proposed to be in the Totozoquean family
"Latn",
"Latn",
}
}
Line 2,122: Line 2,097:
"omq-cha",
"omq-cha",
"Latn",
"Latn",
entry_name = {remove_diacritics = "¹²³⁴⁵"},
strip_diacritics = {remove_diacritics = "¹²³⁴⁵"},
sort_key = {remove_diacritics = c.acute},
sort_key = {remove_diacritics = c.acute},
}
}


m["cts"] = {
m["cts"] = {
"Northern Catanduanes Bicolano",
"Northern Catanduanes Bikol",
7130477,
7130477,
"phi",
"phi",
Line 2,290: Line 2,265:
47683644,
47683644,
"sit-khc",
"sit-khc",
"Tibt, Latn",
-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
-- (NOTE: formerly not present, probably an accidental omission)
}
}


Line 2,380: Line 2,358:
"Hebr",
"Hebr",
ancestors = "zlw-ocs",
ancestors = "zlw-ocs",
entry_name = {remove_diacritics = u(0x0591) .. "-" .. u(0x05BD) .. u(0x05BF) .. "-" .. u(0x05C5) .. u(0x05C7) .. c.CGJ},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}
}



Revision as of 20:29, 13 February 2026


This module contains definitions and metadata for three-letter language codes starting with c. 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. For the corresponding extra data, see Module:languages/data/3/c/extra.

Required values

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. Must be specified as a number (a positive integer). Set to nil if not known/present. This replaces the older wikipedia_article property, which can still be used to link to specific sections or language editions.

Optional values

3
The code for the family that the language belongs to. See Wiktionary:Families.
4
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 <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">Language:findBestScript</syntaxhighlight> method in Module:languages. 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. If none of the characters match any of the listed scripts, then the None script is returned (even if the characters would match a script not listed). Translingual (mul) and Undetermined (und) have the special value <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"All"</syntaxhighlight>, which means they are treated as having every script. This value should not be set for any other language codes.
Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example: <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"Latn, Brai, Shaw, Dsrt"</syntaxhighlight>.
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.
ancestors
A list of 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 list 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 <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">getAncestors</syntaxhighlight> function.
Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example: <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"cr, fr"</syntaxhighlight>.
wikimedia_codes
A list of 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.
Due to the ongoing problems with Lua memory limits, this should be given as a comma-separated list in a string (and not a table). This is then converted into a table when returned. For example: <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"en, simple"</syntaxhighlight>.
Note that Wikimedia <-> Wiktionary language codes are currently defined in four places: the language modules (as documented here); Module:wikimedia languages/data; <syntaxhighlight inline="1" lang="text" style="white-space:pre-wrap;">interwiki_langs</syntaxhighlight> in Module:translations/data; and the <syntaxhighlight inline="1" lang="text" style="white-space:pre-wrap;">wiktprefix</syntaxhighlight> field of the `metadata` variable in MediaWiki:Gadget-TranslationAdder-Data.js. FIXME: Unify this data.
wikipedia_article
The name of the Wikipedia article for the language. Should normally only be supplied if the Wikidata id cannot be used.
translit
See the Substitutions section for instructions on syntax.
Defines how a language should be transliterated, which will be automatically applied to any terms in scripts that do not have their isTransliterated value set to <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">false</syntaxhighlight> in Module:scripts/data. This is used by transliterate in Module:languages.
link_tr
Set this to true to link the language's transliteration in headwords. This can also be a comma-separated list of script codes, which means that links are only applied to terms using those scripts. Note that transliterations are not linked in links other than headwords (those generated using full_link() in Module:links) unless the respect_link_tr flag is set in full_link()'s data structure.
override_translit
Set this to true to make the automatic transliteration override an any given manual transliteration. Otherwise, this can be a comma-separated list of script codes, which means that the override is only applied to terms using those scripts.
display_text
See the Substitutions section for instructions on syntax.
Defines replacements to create the display form of the text, which is the form actually displayed on the page. This is occasionally necessary if there is a recurring issue of editors adding the wrong character, which is sometimes an issue when two or more characters are easy to confuse. For example, the palochka ӏ, used in Cyrillic in many Caucasian languages, is frequently entered as I, or even Latin l or I. As this is an ongoing issue (even among native speakers), the easiest way to solve the problem is to automatically correct the display form for those languages. This is used by makeDisplayText in Module:languages.
strip_diacritics
See the Substitutions section for instructions on syntax.
Defines replacements to strip diacritics from the displayed form of a term in order to get the logical pagename. This is typically 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 (ру́сскийрусский), and macrons from Latin and Old English words (ōsos), as these are not used in the normal written form of these languages. This is used by stripDiacritics in Module:languages.
sort_key
See the Substitutions section for instructions on syntax.
Defines replacements to create a category sort key from the page name. The purpose is to:
  1. Remove any characters that should be ignored in sorting.
  2. Replace characters with other characters, 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".
  3. Replace characters that should be sorted in different places with special characters that mimic that behaviour, (which is necessary due to MediaWiki software using the Unicode codepoint to determine sort order, which is often arbitrary). For instance, in Mongolian, the letter "ү" should be sorted after "у", but due to its codepoint it is sorted after the final letter "я" by default. As such, we can replace "ү" with "у" plus a character with a very high codepoint, which ensures that it is always sorted straight after. The data modules contain an in-built way to do this for the sake of convenience: with the above example, this would be done by using <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"у" .. p[1]</syntaxhighlight>. Another character could be inserted straight after by using <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"у" .. p[2]</syntaxhighlight> (and so on).
Note: the term is converted to lowercase before applying any substitutions, so you should not try to process capital letters (as it will not work). This is used by makeSortKey in Module:languages.
dotted_dotless_i
Set this to true for languages that distinguish between the dotted and dotless I (such as some Turkic languages).

Substitutions

<syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">translit</syntaxhighlight>, <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">display_text</syntaxhighlight>, <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">strip_diacritics</syntaxhighlight> and <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">sort_key</syntaxhighlight> all use the same syntax, which is designed to be as flexible as possible:
  • If they are a string, then this is treated as the name of a dedicated module which will be used to generate the output. For example, <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"sa-translit"</syntaxhighlight> refers to Module:sa-translit.
  • If they are a table, then it can contain two kinds of keys:
    1. The keys <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight>, <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight>, <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> and <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_exceptions</syntaxhighlight> relate to text substitution (see below).
    2. Script code keys are used to specify script-specific behaviour. These, in turn, can be strings (for dedicated modules) or tables (for text substitution). In addition, a value with the key <syntaxhighlight inline="1" lang="Lua" style="white-space:pre-wrap;">1</syntaxhighlight> can be used as a fallback, which will be used if no specific behaviour is defined for that script.
Note: if script keys and text substitution keys are given in the same table, then the text substitution will be applied after the script-specific behaviour has completed. Ensure any fallback text substitutions are given as a subtable with key <syntaxhighlight inline="1" lang="Lua" style="white-space:pre-wrap;">1</syntaxhighlight> if you want to avoid this. It is not possible to process the output of a script-specific module with another module, however: this should be done (for example) with a tail call in the first module.
Dedicated modules must take the arguments <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">text, lang, sc</syntaxhighlight>, where <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">text</syntaxhighlight> is the input text (usually the page name or input by the user), <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">lang</syntaxhighlight> is the language code (not the language object), and <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">sc</syntaxhighlight> is the script code (not the script object). For performance reasons, they should only be used when it is not possible to achieve the desired result via text substitution.
Text substitution replaces or removes certain characters (or sets of characters) for particular contexts. There are three ways to do this:
  1. Using the <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight> and <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight> keys.
  2. <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> (and optionally <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_exceptions</syntaxhighlight>).
  3. Both of the above (in that order).
<syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight> is paired with <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight>, and both of them must be tables that are organised pairwise: each element in <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight> is a pattern to identify which characters in the term to replace, while the corresponding element in <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight> defines what to replace them with (as arguments to <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">mw.ustring.gsub</syntaxhighlight>).
If the replacement is not present (or if it is <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">false</syntaxhighlight> or <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">nil</syntaxhighlight>), then any matching characters are removed altogether. This means that the <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight> list can be longer than the <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight> list, and an empty replacement will be assumed for any elements in <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight> that have no counterpart in <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight>.
The tables can contain literal characters, or the patterns (a simplified form regular expressions) that are used by the standard Scribunto <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">mw.ustring.gsub</syntaxhighlight> function. See the Scribunto reference manual for more information. Note that patterns make double substitutions a viable way to achieve more complex results. See the Latin sortkey for Mandarin (cmn) as an example of this.
<syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> is a string which contains characters that will be removed after the text is decomposed. For instance, if <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> is a combining acute accent, all acute accents will be stripped, even if they are part of precomposed characters (such as á or ά). Despite the name, the characters to be stripped need not be diacritics: for instance, including an apostrophe would remove all apostrophes (though be careful with hyphens, which must be be escaped as <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">%-</syntaxhighlight>).
Furthermore, if <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> is given, then it is possible to specify a <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_exceptions</syntaxhighlight> table, which prevents specific characters from having their diacritics stripped. For instance, if <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> is a combining diaeresis, but <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_exceptions</syntaxhighlight> contains <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"ё"</syntaxhighlight>, then any instances of ё will remain unchanged. On the other hand, an instance of ӱ would still become у (unless <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">"ӱ"</syntaxhighlight> is also added to <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_exceptions</syntaxhighlight>).
If no value is specified for a given field, or a table of script-specific values is given but there is no value for the script in question and no <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">from</syntaxhighlight>/<syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">to</syntaxhighlight> or <syntaxhighlight inline="1" lang="lua" style="white-space:pre-wrap;">remove_diacritics</syntaxhighlight> fields, the script will be checked for a script-wide fallback, which uses the same data format. This is used, for example, to supply a script-wide sort key module for Ethiopic in lieu of specifying the same value for all languages that have Ethiopic as their script (or one of their scripts).

Formerly supported values

aliases, varieties, otherNames
This data is now located in the extra data modules; see Module:languages and Template:language extradata documentation.
family
Now 3.
scripts
Now 4.

local m_langdata = require("Module:languages/data")

-- Loaded on demand, as it may not be needed (depending on the data).
local function u(...)
	u = require("Module:string utilities").char
	return u(...)
end

local c = m_langdata.chars
local p = m_langdata.puaChars
local s = m_langdata.shared

local m = {}

m["caa"] = {
	"Ch'orti'",
	35177,
	"myn",
	"Latn",
}

m["cab"] = {
	"Garifuna",
	35490,
	"awd-taa",
	"Latn",
    ancestors = "crb",
}

m["cac"] = {
	"Chuj",
	35233,
	"myn",
	"Latn",
}

m["cad"] = {
	"Caddo",
	56756,
	"cdd",
	"Latn",
}

m["cae"] = {
	"Laalaa",
	35564,
	"alv-cng",
	"Latn",
}

m["caf"] = {
	"Southern Carrier",
	12953426,
	"ath-nor",
	"Latn",
}

m["cag"] = {
	"Nivaclé",
	3182557,
	"sai-mtc",
	"Latn",
}

m["cah"] = {
	"Cahuarano",
	2933175,
	"sai-zap",
	"Latn",
}

m["caj"] = {
	"Chané",
	56721,
	"awd",
	"Latn",
}

m["cak"] = {
	"Kaqchikel",
	35115,
	"myn",
	"Latn",
}

m["cal"] = {
	"Carolinian",
	28427,
	"poz-mic",
	"Latn",
}

m["cam"] = {
	"Cèmuhî",
	3009690,
	"poz-cln",
	"Latn",
}

m["can"] = {
	"Chambri",
	5069707,
	"paa-lse",
	"Latn",
}

m["cao"] = {
	"Chácobo",
	2591202,
	"sai-pan",
	"Latn",
}

m["cap"] = {
	"Chipaya",
	35235,
	"sai-ucp",
	"Latn",
}

m["caq"] = {
	"Car Nicobarese",
	35156,
	"aav-nic",
	"Latn, Deva",
}

m["car"] = {
	"Kari'na",
	56611,
	"sai-gui",
	"Latn",
	sort_key = {remove_diacritics = c.grave .. c.acute .. c.circ .. "`" .. "'%-%s"},
	strip_diacritics = {
		remove_diacritics = c.acute,
		from = {"â", "ê", "î", "ô", "û", "ŷ"},
		to = {"à", "è", "ì", "ò", "ù", "ỳ"}
	},
}

m["cas"] = {
	"Tsimané",
	35950,
	"qfa-dis", -- isolate or in a putative Putative Mosetan-Chonan family
	"Latn",
}

m["cav"] = {
	"Cavineña",
	524102,
	"sai-tac",
	"Latn",
}

m["caw"] = {
	"Kallawaya",
	266417,
	"qfa-mix",
	"Latn",
}

m["cax"] = {
	"Chiquitano",
	1844993,
	"qfa-iso", -- isolate or Macro-Jê
	"Latn",
}

m["cay"] = {
	"Cayuga",
	32967,
	"iro-nor",
	"Latn",
}

m["caz"] = {
	"Canichana",
	2936374,
	"qfa-dis", -- isolate, unclassified or in a putative Tequiraca-Canichana family
	"Latn",
}

m["cbb"] = {
	"Cabiyarí",
	3450660,
	"awd-nwk",
	"Latn",
}

m["cbc"] = {
	"Carapana",
	924405,
	"sai-tuc",
	"Latn",
}

m["cbd"] = {
	"Carijona",
	3446655,
	"sai-tar",
	"Latn",
}

m["cbg"] = {
	"Chimila",
	2963680,
	"cba",
	"Latn",
}

m["cbi"] = {
	"Chachi",
	2591329,
	"sai-bar",
	"Latn",
}

m["cbj"] = {
	"Ede Cabe",
	33112829,
	"alv-ede",
	"Latn",
}

m["cbk"] = {
	"Chavacano",
	33281,
	"crp",
	"Latn",
    ancestors = "es",
	strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer},
	sort_key = {
		from = {"ch", "ll", "ñ", "r"},
		to = {"c" .. p[1], "l" .. p[1], "n" .. p[1], "r" .. p[1]}
	},
	standard_chars = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnÑñOoPpQqRrSsTtUuVvWwXxYyZz" .. c.punc,
}

m["cbl"] = {
	"Bualkhaw Chin",
	9229830,
	"tbq-kuk",
	"Latn",
}

m["cbn"] = {
	"Nyah Kur",
	116849,
	"mkh-mnc",
	"Thai",
	ancestors = "omx",
	sort_key = "Thai-sortkey",
}

m["cbo"] = {
	"Izora",
	3915454,
	"nic-jer",
	"Latn",
}

m["cbq"] = {
	"Tsucuba",
	62603062,
	"nic-knj",
	"Latn",
}

m["cbr"] = {
	"Cashibo-Cacataibo",
	5359560,
	"sai-pan",
	"Latn",
}

m["cbs"] = {
	"Cashinahua",
	2591230,
	"sai-pan",
	"Latn",
}

m["cbt"] = {
	"Chayahuita",
	1526525,
	"sai-cah",
	"Latn",
}

m["cbu"] = {
	"Candoshi-Shapra",
	642843,
	"qfa-dis", -- isolate or related to extinct Chirino; Kaufman (2007) puts it in Saparo-Yawan, Jolkesky (2016) as
			   -- Macro-Arawakan
	"Latn",
}

m["cbv"] = {
	"Cacua",
	3192052,
	"sai-nad",
	"Latn",
	ancestors = "mbr",
}

m["cbw"] = {
	"Kinabalian",
	6410324,
	"phi",
	"Latn",
}

m["cby"] = {
	"Carabayo",
	3441762,
	"sai-tyu",
	"Latn",
}

m["cca"] = {
	"Cauca",
	5054242,
	"sai-chc",
	"Latn",
}

m["ccc"] = {
	"Chamicuro",
	2155119,
	"awd",
	"Latn",
}

m["ccd"] = {
	"Cafundó",
	3331506,
	"roa-gap",
	"Latn",
	ancestors = "pt",
}

m["cce"] = {
	"Chopi",
	3437616,
	"bnt-bso",
	"Latn",
}

m["ccg"] = {
	"Chamba Daka",
	33120805,
	"nic-dak",
	"Latn",
}

m["cch"] = {
	"Atsam",
	34794,
	"nic-kne",
	"Latn",
}

m["ccj"] = {
	"Kasanga",
	35542,
	"alv-nyn",
	"Latn",
}

m["ccl"] = {
	"Cutchi-Swahili",
	5196729,
	"crp",
	"Latn",
	ancestors = "sw",
}

m["ccm"] = {
	"Malaccan Creole Malay",
	12636092,
	"crp",
	"Latn",
	ancestors = "ms",
}

m["cco"] = {
	"Comaltepec Chinantec",
	2963735,
	"omq-chi",
	"Latn",
}

m["ccp"] = {
	"Chakma",
	32952,
	"inc-bas",
	"Cakm, Beng, Latn",
	ancestors = "inc-obn",
	translit = {
		Cakm = "Cakm-translit",
		--Beng = "Beng-translit",
	},
}

m["ccr"] = {
	"Cacaopera",
	3438338,
	"nai-min",
	"Latn",
}

m["cda"] = {
	"Choni",
	2964447,
	"sit-tib",
}

m["cde"] = {
	"Chenchu",
	32981,
	"dra-tel",
	"Telu",
}

m["cdf"] = {
	"Chiru",
	5102016,
	"tbq-kuk",
	"Latn, Beng",
}

m["cdh"] = {
	"Chambeali",
	12953424,
	"him",
	"Deva, Takr",
	translit = {
		Deva = "hi-translit"
	},
}

m["cdi"] = {
	"Chodri",
	5103788,
	"inc-bhi",
	"Gujr",
}

m["cdj"] = {
	"Churahi",
	12629039,
	"him",
	"Deva, Takr",
	translit = {
		Deva = "hi-translit"
	},
}

m["cdm"] = {
	"Chepang",
	5091700,
	"sit-gma",
	"Deva",
}

m["cdn"] = {
	"Chaudangsi",
	5088056,
	"sit-alm",
}

m["cdo"] = {
	"Eastern Min",
	36455,
	"zhx-com",
	"Hants, Latn",
	generate_forms = "zh-generateforms",
	translit = "zh-translit",
	sort_key = "Hani-sortkey",
}

m["cdr"] = {
	"Cinda-Regi-Tiyal",
	35596,
	"nic-kmk",
	"Latn",
}

m["cds"] = {
	"Chadian Sign Language",
	10322099,
	"sgn",
	"Latn", -- when documented
}

m["cdy"] = {
	"Chadong",
	926742,
	"qfa-kms",
}

m["cdz"] = {
	"Koda",
	6425038,
	"mun",
	"Beng",
}

m["cea"] = {
	"Lower Chehalis",
	6693377,
	"sal",
	"Latn",
}

m["ceb"] = {
	"Cebuano",
	33239,
	"phi",
	"Latn, Tglg",
	translit = {
		Tglg = "ceb-translit"
	},
	override_translit = true,
	strip_diacritics = {
			Latn = {
				remove_diacritics = c.grave .. c.acute .. c.circ
		}
	},
	sort_key = {
		Latn = "tl-sortkey",
	},
	standard_chars = {
		Latn = "AaBbKkDdEeGgHhIiLlMmNnOoPpRrSsTtUuWwYy",
		c.punc
	},
}

m["ceg"] = {
	"Chamacoco",
	3436637,
	"sai-zam",
	"Latn",
}

m["cen"] = {
	"Cen",
	12628777,
	"nic-plc",
	"Latn",
	ancestors = "izr",
}

m["cet"] = {
	"Centúúm",
	33608,
	"qfa-iso", -- northeastern Nigeria
	"Latn",
}

m["cfa"] = {
	"Dijim-Bwilim",
	3438350,
	"alv-wjk",
	"Latn",
}

m["cfd"] = {
	"Cara",
	35048,
	"nic-beo",
	"Latn",
}

m["cfg"] = {
	"Como Karim",
	35304,
	"nic-jkn",
	"Latn",
}

m["cfm"] = {
	"Falam Chin",
	56815,
	"tbq-kuk",
	"Beng, Latn",
}

m["cga"] = {
	"Changriwa",
	5072105,
	"paa-yua",
	"Latn",
}

m["cgc"] = {
	"Kagayanen",
	6346422,
	"mno",
	"Latn",
}

m["cgg"] = {
	"Rukiga",
	3270727,
	"bnt-nyg",
	"Latn",
}

m["cgk"] = {
	"Chocangaca",
	56604,
	"sit-tib",
	"Tibt",
	ancestors = "xct",
	override_translit = true,
	-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}

m["chb"] = {
	"Chibcha",
	2356431,
	"cba",
	"Latn",
}

m["chc"] = {
	"Catawba",
	5051602,
	"nai-cat",
	"Latn",
}

m["chd"] = {
	"Highland Oaxaca Chontal",
	2964457,
	"nai-tqn",
	"Latn",
}

m["chf"] = {
	"Chontal Maya",
	35175,
	"myn",
	"Latn",
}

m["chg"] = {
	"Chagatai",
	36831,
	"trk-kar",
	"Arab, Ougr",
	ancestors = "zkh",
	strip_diacritics = {
		remove_diacritics = c.kashida .. c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.superalef,
		from = {u(0x0671)},
		to   = {u(0x0627)}
	},
	translit = {
		Arab = "chg-translit",
		Ougr = "Ougr-translit",
	},
}

m["chh"] = {
	"Chinook",
	6693380,
	"nai-ckn",
	"Latn",
}

m["chj"] = {
	"Ojitlán Chinantec",
	5100110,
	"omq-chi",
	"Latn",
}

m["chk"] = {
	"Chuukese",
	33161,
	"poz-mic",
	"Latn",
}

m["chl"] = {
	"Cahuilla",
	56438,
	"azc-cup",
	"Latn",
	strip_diacritics = {remove_diacritics = c.acute .. c.macron},
}

-- chm "Mari" is not recognized as a language, but it is a family code

m["chn"] = {
	"Chinook Jargon",
	35173,
	"crp",
	"Latn, Dupl",
	ancestors = "chh, nuk",
}

m["cho"] = {
	"Choctaw",
	32979,
	"nai-mus",
	"Latn",
	sort_key = {remove_diacritics = c.macronbelow .. "-"},
	strip_diacritics = {remove_diacritics = c.acute .. c.dotbelow},
}

m["chp"] = {
	"Chipewyan",
	27692,
	"ath-nor",
	"Latn, Cans",
}

m["chq"] = {
	"Quiotepec Chinantec",
	5758709,
	"omq-chi",
	"Latn",
}

m["chr"] = {
	"Cherokee",
	33388,
	"iro",
	"Cher",
	translit = "Cher-translit",
}

m["cht"] = {
	"Cholón",
	2591243,
	"qfa-unc", -- poorly attested; possibly in a Hibito-Cholon or Cholonan family
	"Latn",
}

m["chw"] = {
	"Chuabo",
	5118412,
	"bnt-mak",
	"Latn",
}

m["chx"] = {
	"Chantyal",
	4926344,
	"sit-tam",
	"Deva",
}

m["chy"] = {
	"Cheyenne",
	33265,
	"alg",
	"Latn",
	sort_key = {remove_diacritics = c.grave .. c.acute .. c.macron .. c.dotabove .. "-"},
	standard_chars = "AaÁáÀàĀāȦȧEeÉéÈèĒēĖėHhKkMmNnOoÓóÒòŌōȮȯPpSsŠšTtVvXx" .. c.punc, --umlaut and circumflex not allowed
}

m["chz"] = {
	"Ozumacín Chinantec",
	5100111,
	"omq-chi",
	"Latn",
}

m["cia"] = {
	"Cia-Cia",
	35284,
	"poz-mun",
	"Hang, Latn, Arab",
}

m["cib"] = {
	"Ci Gbe",
	12952445,
	"alv-gbe",
	"Latn",
}

m["cic"] = {
	"Chickasaw",
	33192,
	"nai-mus",
	"Latn",
}

m["cid"] = {
	"Chimariko",
	1294251,
	"qfa-iso", -- possibly Hokan
	"Latn",
}

m["cie"] = {
	"Cineni",
	56243,
	"cdc-cbm",
	"Latn",
}

m["cih"] = {
	"Chinali",
	11855245,
	"inc",
	"Deva",
	ancestors = "sa",
}

m["cik"] = {
	"Chitkuli Kinnauri",
	15615982,
	"sit-kin",
}

m["cim"] = {
	"Cimbrian",
	37053,
	"gmw-hgm",
	"Latn",
	ancestors = "bar",
	sort_key = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer .. c.ringabove .. c.caron},
}

m["cin"] = {
	"Cinta Larga",
	5121095,
	"tup",
	"Latn",
}

m["cip"] = {
	"Chiapanec",
	3364475,
	"omq",
	"Latn",
}

m["cir"] = {
	"Tinrin",
	7862281,
	"poz-cln",
	"Latn",
}

m["ciy"] = {
	"Chaima",
	12628867,
	"sai-ven",
	"Latn",
}

m["cja"] = {
	"Western Cham",
	12645578,
	"cmc",
	"Latn, Arab, Khmr, Cham", -- Western Cham script is not yet available. Also, Arabic script is missing some glyphs.
}

m["cje"] = {
	"Chru",
	2967321,
	"cmc",
	"Latn",
}

m["cjh"] = {
	"Upper Chehalis",
	2962074,
	"sal",
	"Latn",
}

m["cji"] = {
	"Chamalal",
	56567,
	"cau-and",
	"Cyrl",
	translit = "cau-nec-translit",
	override_translit = true,
	display_text = s["cau-Cyrl-displaytext"],
	strip_diacritics = s["cau-Cyrl-stripdiacritics"],
}

m["cjk"] = {
	"Chokwe",
	2422065,
	"bnt-clu",
	"Latn",
}

m["cjm"] = {
	"Eastern Cham",
	2948019,
	"cmc",
	"Latn, Cham",
}

m["cjn"] = {
	"Chenapian",
	5091044,
	"paa-sep",
	"Latn",
}

m["cjo"] = {
	"Pajonal Ashéninka",
	3450481,
	"awd",
	"Latn",
}

m["cjp"] = {
	"Cabécar",
	27878,
	"cba",
	"Latn",
}

m["cjs"] = {
	"Shor",
	34139,
	"trk-ssb",
	"Cyrl",
}

m["cjv"] = {
	"Chuave",
	5115226,
	"ngf-sim",
	"Latn",
}

m["cjy"] = {
	"Jin",
	56479,
	"zhx",
	"Hants",
	ancestors = "ltc",
	generate_forms = "zh-generateforms",
	translit = "zh-translit",
	sort_key = "Hani-sortkey",
}

m["ckb"] = {
	"Central Kurdish",
	36811,
	"ku",
	"ku-Arab",
	translit = "ckb-translit",
	strip_diacritics = {remove_diacritics = c.kasra .. c.sukun},
}

m["ckh"] = {
	"Chak",
	12628870,
	"sit-luu",
	"Latn",
	ancestors = "kdv",
}

m["ckl"] = {
	"Cibak",
	56279,
	"cdc-cbm",
	"Latn",
}

m["ckn"] = {
	"Kaang Chin",
	6343432,
	"tbq-kuk",
	"Latn",
}

m["cko"] = {
	"Anufo",
	34845,
	"alv-ctn",
	"Latn",
}

m["ckq"] = {
	"Kajakse",
	3440422,
	"cdc-est",
	"Latn",
}

m["ckr"] = {
	"Kairak",
	3503002,
	"paa-bai",
	"Latn",
}

m["cks"] = {
	"Tayo",
	1133089,
	"crp",
	"Latn",
	ancestors = "fr",
	sort_key = s["roa-oil-sortkey"],
}

m["ckt"] = {
	"Chukchi",
	33170,
	"qfa-ckn",
	"Cyrl, Latn", -- Latn is obsolete
	strip_diacritics = {
		from = {"['’]"},
		to = {"ʼ"}
	},
	sort_key = {
		from = {"ё", "ӄ", "ԓ", "ӈ"},
		to = {"е" .. p[1], "к" .. p[1], "л" .. p[1], "н" .. p[1]}
	},
}

m["cku"] = {
	"Koasati",
	35162,
	"nai-mus",
	"Latn",
}

m["ckv"] = {
	"Kavalan",
	716627,
	"map",
	"Latn",
}

m["ckx"] = {
	"Caka",
	5018037,
	"nic-tvc",
	"Latn",
}

m["cky"] = {
	"Cakfem-Mushere",
	3441199,
	"cdc-wst",
	"Latn",
}

m["ckz"] = {
	"Kaqchikel-K'iche' Mixed Language",
	5054550,
	"qfa-mix",
	"Latn",
	ancestors = "cak, quc"
}

m["cla"] = {
	"Ron",
	3440432,
	"cdc-wst",
	"Latn",
}

m["clc"] = {
	"Chilcotin",
	28535,
	"ath-nor",
	"Latn",
}

m["cld"] = {
	"Chaldean Neo-Aramaic",
	33236,
	"sem-are",
	"Syrc",
	strip_diacritics = "Syrc-stripdiacritics",
}

m["cle"] = {
	"Lealao Chinantec",
	6509365,
	"omq-chi",
	"Latn",
}

m["clh"] = {
	"Chilisso",
	3250629,
	"inc-koh",
	"ur-Arab",
}

m["cli"] = {
	"Chakali",
	35206,
	"nic-gnw",
	"Latn",
}

m["clj"] = {
	"Laitu Chin",
	6474196,
	"tbq-kuk",
}

m["clk"] = {
	"Idu",
	56412,
	"sit-gsi",
	"Tibt, Deva",
	override_translit = true,
	-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}

m["cll"] = {
	"Chala",
	35190,
	"nic-gne",
	"Latn",
}

m["clm"] = {
	"Klallam",
	33404,
	"sal",
	"Latn",
}

m["clo"] = {
	"Lowland Oaxaca Chontal",
	2964450,
	"nai-tqn",
	"Latn",
}

m["clt"] = {
	"Lutuv",
	6502107,
	"tbq-kuk",
	"Latn",
}

m["clu"] = {
	"Caluyanun",
	32964,
	"phi",
	"Latn",
}

m["clw"] = {
	"Chulym",
	33125,
	"trk-ssb",
	"Latn, Cyrl",
}

m["cly"] = {
	"Eastern Highland Chatino",
	12642078,
	"omq-cha",
	"Latn",
}

m["cma"] = {
	"Mạ",
	12953680,
	"mkh-ban",
	"Latn",
}

m["cme"] = {
	"Cerma",
	35074,
	"nic-gur",
	"Latn",
}

m["cmg"] = {
	"Classical Mongolian",
	5128303,
	"xgn-cen",
	"Mong, Soyo, Zanb",
	-- Mong translit, display_text and strip_diacritics in [[Module:scripts/data]]
}

m["cmi"] = {
	"Emberá-Chamí",
	3052042,
	"sai-chc",
	"Latn",
}

m["cml"] = {
	"Campalagian",
	5027893,
	"poz-ssw",
	"Latn",
}

m["cmm"] = {
	"Michigamea",
	12636809,
	"sio-msv",
	"Latn",
}

m["cmn"] = {
	"Mandarin",
	9192,
	"zhx-man",
	"Hants, Latn, Bopo, Brai",
	wikimedia_codes = "zh",
	generate_forms = "zh-generateforms",
	translit = {
		Hani = "zh-translit",
		Bopo = "zh-translit",
	},
	sort_key = {
		Hani = "Hani-sortkey",
		Latn = {
			from = {
				-- Sort terms with tone numbers immediately after equivalent terms with diacritics.
				"[aeiouv][" .. c.circ .. c.diaer .. "]?[nr]?g?[0-5]",
				-- Add temporary breaks between syllables.
				"([aeiouvmn][" .. c.circ .. c.diaer .. "]?[" .. c.macron .. c.acute .. c.caron .. c.grave .. "]?n?ŋ?g?r?)([bpmfdtnlgkhjqxzcsywrv']h?[aeiouvmn ])", p[1] .. "([ngr])$", p[1] .. "([ngr][%s%-'" .. p[1] .. "])",
				-- Substitute diacritics for syllable-final tone numbers, and add tone 0 where necessary.
				c.macron, c.acute, c.caron, c.grave, "([1-4])([^%s%p" .. p[1] .. "]+)", "([^0-5])%f[%z%s%p" .. p[1] .. "]",
				-- Substitute "v" shorthand for "ü" for a temporary placeholder, so that the (very rare) "v" initial is not affected by the later shorthand substitutions.
				"([^ " .. p[1] .. "])v",
				-- Remove temporary breaks.
				p[1],
				-- Substitute shorthands for full forms, and sort them immediately after equivalent terms.
				"%S*[csz]" .. c.circ .. "%S*", "%S*[ŋ" .. p[2] .. "]%S*", "ĉ", "ŝ", "ŋ", p[2], "ẑ",
				-- "ê" comes after "e", "ü" comes after "u" and apostrophes are removed (as their function is replaced by tone numbers).
				"[" .. c.circ .. c.diaer .. "]", "'",
				-- Sort numbered tone 5 after tone 0.
				"5!"
			},
			to = {
				"%0!",
				"%1" .. p[1] .. "%2", "%1", "%1",
				"1", "2", "3", "4", "%2%1", "%10",
				"%1" .. p[2],
				"",
				"%0\"", "%0\"", "ch", "sh", "ng", "ü", "zh",
				p[1], "",
				"0!!"
			}
		},
	},
}

m["cmo"] = {
	"Central Mnong",
	33369881,
	"mkh-ban",
	"Khmr, Latn",
}

m["cmr"] = {
	"Mro Chin",
	16889978,
	"tbq-kuk",
}

m["cms"] = {
	"Messapic",
	36383,
	"ine",
	"Ital, Latn, Polyt",
	-- Ital translit in [[Module:scripts/data]]
	-- Polyt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}

m["cmt"] = {
	"Camtho",
	10441336,
	"crp",
	"Latn",
	ancestors = "fly, zu"
}

m["cna"] = {
	"Changthang",
	12952322,
	"sit-lab",
	"Tibt",
	override_translit = true,
	-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}

m["cnb"] = {
	"Chinbon Chin",
	12952327,
	"tbq-kuk",
	"Latn",
}

m["cnc"] = {
	"Cốông",
	5202780,
	"tbq-bis",
	"Latn",
}

m["cng"] = {
	"Northern Qiang",
	56559,
	"sit-qia",
	"Latn",
}

m["cnh"] = {
	"Lai",
	3250286,
	"tbq-kuk",
	"Latn, Mymr",
}

m["cni"] = {
	"Asháninka",
	3437230,
	"awd",
	"Latn",
}

m["cnk"] = {
	"Khumi Chin",
	56308,
	"tbq-kuk",
	"Latn",
}

m["cnl"] = {
	"Lalana Chinantec",
	12953437,
	"omq-chi",
	"Latn",
}

m["cno"] = {
	"Con",
	3440883,
	"mkh-pal",
}

m["cnp"] = {
	"Northern Pinghua",
	84302463,
	"zhx-pin",
	"Hants",
	generate_forms = "zh-generateforms",
	sort_key = "Hani-sortkey",
}

m["cns"] = {
	"Central Asmat",
	11732048,
	"ngf-asm",
	"Latn",
}

m["cnt"] = {
	"Tepetotutla Chinantec",
	5100113,
	"omq-chi",
	"Latn",
}

m["cnu"] = {
	"Chenoua",
	33276,
	"ber",
	"Latn",
}

m["cnw"] = {
	"Ngawn Chin",
	6583675,
	"tbq-kuk",
}

m["cnx"] = {
	"Middle Cornish",
	12642603,
	"cel-brs",
	"Latn",
	ancestors = "oco",
}

m["coa"] = {
	"Cocos Islands Malay",
	3441699,
	"crp",
	"Latn",
	ancestors = "ms",
}

m["cob"] = {
	"Chicomuceltec",
	3307204,
	"myn",
	"Latn",
}

m["coc"] = {
	"Cocopa",
	33044,
	"nai-yuc",
	"Latn",
}

m["cod"] = {
	"Cocama",
	33317,
	"tup",
	"Latn",
}

m["coe"] = {
	"Koreguaje",
	3198924,
	"sai-tuc",
	"Latn",
}

m["cof"] = {
	"Tsafiki",
	2567055,
	"sai-bar",
	"Latn",
}

m["cog"] = {
	"Chong",
	3914630,
	"mkh-pea",
	"Thai, Khmr",
	sort_key = {
		Thai = "Thai-sortkey"
	},
}

m["coh"] = {
	"Chichonyi-Chidzihana-Chikauma",
	12629011,
	"bnt-mij",
	"Latn",
}

m["coj"] = {
	"Cochimi",
	3915551,
	"nai-yuc",
	"Latn",
}

m["cok"] = {
	"Santa Teresa Cora",
	12641754,
	"azc",
	"Latn",
}

m["col"] = {
	"Columbia-Wenatchi",
	3324744,
	"sal",
	"Latn",
}

m["com"] = {
	"Comanche",
	32972,
	"azc-num",
	"Latn",
}

m["con"] = {
	"Cofán",
	2669254,
	"qfa-iso",
	"Latn",
}

m["coo"] = {
	"Comox",
	13583746,
	"sal",
	"Latn",
}

m["cop"] = {
	"Coptic",
	36155,
	"egx",
	"Copt",
	translit = "Copt-translit",
	ancestors = "egx-dem",
	strip_diacritics = {remove_diacritics = c.grave .. c.macron .. c.overline .. c.diaer .. "ˋ"},
	sort_key = "Copt-sortkey",
}

m["coq"] = {
	"Coquille",
	12953452,
	"ath-pco",
	"Latn",
}

m["cot"] = {
	"Caquinte",
	3915557,
	"awd",
	"Latn",
}

m["cou"] = {
	"Wamey",
	36935,
	"alv-ten",
	"Latn",
}

m["cov"] = {
	"Cao Miao",
	2936935,
	"qfa-tak",
}

m["cow"] = {
	"Cowlitz",
	3001877,
	"sal",
	"Latn",
}

m["cox"] = {
	"Nanti",
	15342275,
	"awd",
	"Latn",
}

m["coy"] = {
	"Coyaima",
	56450,
	"sai-car",
	"Latn",
}

m["coz"] = {
	"Chochotec",
	2964262,
	"omq-pop",
	"Latn",
}

m["cpa"] = {
	"Palantla Chinantec",
	5100112,
	"omq-chi",
	"Latn",
}

m["cpb"] = {
	"Ucayali-Yurúa Ashéninka",
	3501858,
	"awd",
	"Latn",
}

m["cpc"] = {
	"Apurucayali Ashéninka",
	3327405,
	"awd",
	"Latn",
}

m["cpg"] = {
	"Cappadocian Greek",
	853414,
	"grk",
	"Grek, fa-Arab",
	ancestors = "gkm",
	translit = {
		Grek = "el-translit",
	},
	-- Grek display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}

m["cpi"] = {
	"Chinese Pidgin English",
	3435078,
	"crp",
	"Latn, Hant",
	ancestors = "en",
	sort_key = {
		Hant = "Hani-sortkey"
	},
}

m["cpn"] = {
	"Cherepon",
	35181,
	"alv-gng",
	"Latn",
}

m["cpo"] = {
	"Kpee",
	6435722,
	"dmn-jje",
}

m["cps"] = {
	"Capiznon",
	2937525,
	"phi",
	"Latn",
}

m["cpu"] = {
	"Pichis Ashéninka",
	7190661,
	"awd",
	"Latn",
}

m["cpx"] = {
	"Puxian Min",
	56583,
	"zhx-com",
	"Hants",
	generate_forms = "zh-generateforms",
	sort_key = "Hani-sortkey",
}

m["cpy"] = {
	"South Ucayali Ashéninka",
	3501868,
	"awd",
	"Latn",
}

m["cqd"] = {
	"Chuanqiandian Cluster Miao",
	121627627,
	"hmn",
	"Latn, Plrd",
}

m["cra"] = {
	"Chara",
	5073694,
	"omv",
	"Latn",
}

m["crb"] = {
	"Kalinago",
	3450735,
	"awd-taa",
	"Latn",
}

m["crc"] = {
	"Lonwolwol",
	3259216,
	"poz-vnc",
	"Latn",
}

m["crd"] = {
	"Coeur d'Alene",
	32915,
	"sal",
	"Latn",
}

m["crf"] = {
	"Caramanta",
	3504195,
	"sai-chc",
	"Latn",
}

m["crg"] = {
	"Michif",
	13315,
	"qfa-mix",
	"Latn",
	ancestors = "cr, fr",
}

m["crh"] = {
	"Crimean Tatar",
	33357,
	"trk-kcu",
	"Latn, Cyrl",
	dotted_dotless_i = true,
	sort_key = {
		Latn = {
			from = {
				"[ıi]" .. c.breve, -- Convert ĭ into PUA so that the  decomposed form does not get caught by the next step. Also cover decomposed forms with ı and i, as decomposed Ĭ is converted to ı + ̆ due to the dotted dotless I logic).
				"i", -- Ensure "i" comes after "ı".
				"â", "ç", "ğ", "ı", p[3], "ñ", "ö", "ş", "ü"
			},
			to = {
				p[3],
				"i" .. p[1],
				"a", "c" .. p[1], "g" .. p[1], "i", "i" .. p[2], "n" .. p[1], "o" .. p[1], "s" .. p[1], "u" .. p[1],
			}
		},
		Cyrl = {
			from = {"гъ", "ё", "къ", "нъ", "дж"},
			to = {"г" .. p[1], "е" .. p[1], "к" .. p[1], "н" .. p[1], "ч" .. p[1]}
		},
	},
}

m["cri"] = {
	"Sãotomense",
	36536,
	"crp",
	"Latn",
	ancestors = "pt",
}

m["crj"] = {
	"Southern East Cree",
	12953464,
	"alg",
	"Latn, Cans",
	ancestors = "cr",
	translit = {
		Cans = "cr-translit"
	},
}

m["crk"] = {
	"Plains Cree",
	56699,
	"alg",
	"Latn, Cans",
	ancestors = "cr",
}

m["crl"] = {
	"Northern East Cree",
	12642195,
	"alg",
	"Latn, Cans",
	ancestors = "cr",
	translit = {
		Cans = "cr-translit"
	},
}

m["crm"] = {
	"Moose Cree",
	3446671,
	"alg",
	"Latn, Cans",
	ancestors = "cr",
}

m["crn"] = {
	"Cora",
	12953454,
	"azc",
	"Latn",
}

m["cro"] = {
	"Crow",
	1207611,
	"sio-mor",
	"Latn",
}

m["crq"] = {
	"Iyo'wujwa Chorote",
	3540927,
	"sai-mtc",
	"Latn",
}

m["crr"] = {
	"Carolina Algonquian",
	16113723,
	"alg-eas",
	"Latn",
}

m["crs"] = {
	"Seychellois Creole",
	34015,
	"crp",
	"Latn",
	ancestors = "fr",
	sort_key = s["roa-oil-sortkey"],
}

m["crt"] = {
	"Iyojwa'ja Chorote",
	3504118,
	"sai-mtc",
	"Latn",
}

m["crv"] = {
	"Chaura",
	2605680,
	"aav-nic",
	"Latn",
}

m["crw"] = {
	"Chrau",
	5105629,
	"mkh-ban",
	"Latn",
}

m["crx"] = {
	"Carrier",
	12953431,
	"ath-nor",
	"Latn, Cans",
}

m["cry"] = {
	"Cori",
	35204,
	"nic-plc",
	"Latn",
}

m["crz"] = {
	"Cruzeño",
	2967636,
	"nai-chu",
	"Latn",
}

m["csa"] = {
	"Chiltepec Chinantec",
	12953435,
	"omq-chi",
	"Latn",
}

m["csb"] = {
	"Kashubian",
	33690,
	"zlw-pom",
	"Latn",
}

m["csc"] = {
	"Catalan Sign Language",
	35768,
	"sgn",
	"Latn", -- when documented
}

m["csd"] = {
	"Chiangmai Sign Language",
	5095211,
	"sgn",
}

m["cse"] = {
	"Czech Sign Language",
	5201809,
	"sgn",
	"Latn", -- when documented
}

m["csf"] = {
	"Cuban Sign Language",
	5192046,
	"sgn",
	"Latn", -- when documented
}

m["csg"] = {
	"Chilean Sign Language",
	3322112,
	"sgn",
	"Latn", -- when documented
}

m["csh"] = {
	"Asho Chin",
	12627282,
	"tbq-kuk",
	"Latn, Mymr",
}

m["csi"] = {
	"Coast Miwok",
	2981109,
	"nai-utn",
	"Latn",
}

m["csj"] = {
	"Songlai Chin",
	7561280,
	"tbq-kuk",
}

m["csk"] = {
	"Jola-Kasa",
	3446622,
	"alv-jol",
	"Latn",
}

m["csl"] = {
	"Chinese Sign Language",
	1094190,
	"sgn",
}

m["csm"] = {
	"Central Sierra Miwok",
	2944443,
	"nai-utn",
	"Latn",
}

m["csn"] = {
	"Colombian Sign Language",
	2748229,
	"sgn",
	"Latn", -- when documented
}

m["cso"] = {
	"Sochiapam Chinantec",
	7550388,
	"omq-chi",
	"Latn",
}

m["csp"] = {
	"Southern Pinghua",
	84302019,
	"zhx-pin",
	"Hants",
	generate_forms = "zh-generateforms",
	translit = "zh-translit",
	sort_key = "Hani-sortkey",
}

m["csq"] = {
	"Croatian Sign Language",
	3507506,
	"sgn",
}

m["csr"] = {
	"Costa Rican Sign Language",
	5174901,
	"sgn",
	"Latn", -- when documented
}

m["css"] = {
	"Southern Ohlone",
	25559664,
	"nai-utn",
	"Latn",
}

m["cst"] = {
	"Northern Ohlone",
	25559666,
	"nai-utn",
	"Latn",
}

m["csv"] = {
	"Sumtu Chin",
	7638087,
	"tbq-kuk",
}

m["csw"] = {
	"Swampy Cree",
	56696,
	"alg",
	"Latn, Cans",
	ancestors = "cr",
}

m["csx"] = {
	"Cambodian Sign Language",
	50934287,
	"sgn",
}

m["csy"] = {
	"Siyin Chin",
	7533375,
	"tbq-kuk",
}

m["csz"] = {
	"Coos",
	3126783,
	"nai-coo",
	"Latn",
}

m["cta"] = {
	"Tataltepec Chatino",
	7687853,
	"omq-cha",
	"Latn",
}

m["ctc"] = {
	"Chetco-Tolowa",
	12628946,
	"ath-pco",
	"Latn",
}

m["ctd"] = {
	"Tedim Chin",
	56357,
	"tbq-kuk",
	"Latn, Pauc",
}

m["cte"] = {
	"Tepinapa Chinantec",
	12953443,
	"omq-chi",
	"Latn",
}

m["ctg"] = {
	"Chittagonian",
	33173,
	"inc-bas",
	"Beng",
	ancestors = "inc-obn",
}

m["cth"] = {
	"Thaiphum Chin",
	16912048,
	"tbq-kuk",
}

m["ctl"] = {
	"Tlacoatzintepec Chinantec",
	12643657,
	"omq-chi",
	"Latn",
}

m["ctm"] = {
	"Chitimacha",
	1294227,
	"qfa-iso", -- recently proposed to be in the Totozoquean family
	"Latn",
}

m["ctn"] = {
	"Chhintange",
	32994,
	"sit-kie",
	"Deva",
}

m["cto"] = {
	"Emberá-Catío",
	3052039,
	"sai-chc",
	"Latn",
}

m["ctp"] = {
	"Western Highland Chatino",
	32861734,
	"omq-cha",
	"Latn",
	strip_diacritics = {remove_diacritics = "¹²³⁴⁵"},
	sort_key = {remove_diacritics = c.acute},
}

m["cts"] = {
	"Northern Catanduanes Bikol",
	7130477,
	"phi",
	"Latn",
}

m["ctt"] = {
	"Wayanad Chetti",
	7975850,
	"dra-mal",
	"Taml",
}

m["ctu"] = {
	"Chol",
	35179,
	"myn",
	"Latn",
}

m["ctz"] = {
	"Zacatepec Chatino",
	8063754,
	"omq-cha",
	"Latn",
}

m["cua"] = {
	"Cua",
	3441115,
	"mkh-ban",
	"Latn",
}

m["cub"] = {
	"Cubeo",
	3006705,
	"sai-tuc",
	"Latn",
}

m["cuc"] = {
	"Usila Chinantec",
	7901979,
	"omq-chi",
	"Latn",
}

m["cug"] = {
	"Cung",
	35194,
	"nic-bbe",
	"Latn",
}

m["cuh"] = {
	"Chuka",
	12952344,
	"bnt-kka",
	"Latn",
}

m["cui"] = {
	"Cuiba",
	2980421,
	"sai-guh",
	"Latn",
}

m["cuj"] = {
	"Mashco Piro",
	3446596,
	"awd",
	"Latn",
}

m["cuk"] = {
	"Kuna",
	12953659,
	"cba",
	"Latn",
}

m["cul"] = {
	"Culina",
	2475442,
	"auf",
	"Latn",
}

m["cuo"] = {
	"Cumanagoto",
	5193784,
	"sai-cpc",
	"Latn",
}

m["cup"] = {
	"Cupeño",
	143130,
	"azc-cup",
	"Latn",
}

m["cuq"] = {
	"Cun",
	2475478,
	"qfa-lic",
	"Latn",
}

m["cur"] = {
	"Chhulung",
	5116126,
	"sit-kie",
	"Deva",
}

m["cut"] = {
	"Teutila Cuicatec",
	12953453,
	"omq-cui",
	"Latn",
}

m["cuu"] = {
	"Tai Ya",
	3441122,
	"qfa-tak",
	"Latn",
}

m["cuv"] = {
	"Cuvok",
	3515056,
	"cdc-cbm",
	"Latn",
}

m["cuw"] = {
	"Chukwa",
	12629033,
	"sit-kic",
}

m["cux"] = {
	"Tepeuxila Cuicatec",
	20527242,
	"omq-cui",
	"Latn",
}

m["cuy"] = {
	"Cuitlatec",
	2030998,
	"qfa-iso",
	"Latn",
}

m["cvg"] = {
	"Chug",
	47683644,
	"sit-khc",
	"Tibt, Latn",
	-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
	-- (NOTE: formerly not present, probably an accidental omission)
}

m["cvn"] = {
	"Valle Nacional Chinantec",
	12953442,
	"omq-chi",
	"Latn",
}

m["cwa"] = {
	"Kabwa",
	6344537,
	"bnt-lok",
	"Latn",
}

m["cwb"] = {
	"Maindo",
	11002891,
	"bnt-mak",
	"Latn",
	ancestors = "chw",
}

m["cwd"] = {
	"Woods Cree",
	56305,
	"alg",
	"Latn, Cans",
	ancestors = "cr",
}

m["cwe"] = {
	"Kwere",
	779632,
	"bnt-ruv",
	"Latn",
}

m["cwg"] = {
	"Chewong",
	646718,
	"mkh-asl",
	"Latn",
}

m["cwt"] = {
	"Kuwaataay",
	35699,
	"alv-jol",
	"Latn",
}

m["cya"] = {
	"Nopala Chatino",
	15616302,
	"omq-cha",
	"Latn",
}

m["cyb"] = {
	"Cayubaba",
	3183382,
	"qfa-iso",
	"Latn",
}

m["cyo"] = {
	"Cuyunon",
	33153,
	"phi",
	"Latn",
}

m["czh"] = {
	"Huizhou",
	56546,
	"zhx",
	"Hants", -- ?
	ancestors = "ltc",
	generate_forms = "zh-generateforms",
	sort_key = "Hani-sortkey",
}

m["czk"] = {
	"Knaanic",
	56384,
	"zlw",
	"Hebr",
	ancestors = "zlw-ocs",
	-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
}

m["czn"] = {
	"Zenzontepec Chatino",
	603106,
	"omq-cha",
	"Latn",
}

m["czo"] = {
	"Central Min",
	56435,
	"zhx-inm",
	"Hants",
	generate_forms = "zh-generateforms",
	sort_key = "Hani-sortkey",
}

m["czt"] = {
	"Zotung Chin",
	8074599,
	"tbq-kuk",
	"Latn",
}

return require("Module:languages").finalizeData(m, "language")