Module:languages/data/2
- The following documentation is generated by Template:language data documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
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. For the corresponding extra data, see Module:languages/data/2/extra.
ErrorsErrors
The following errors were detected by Module:data consistency check:
Module:languages/data/2
- Azeri (
az) has its canonical name ("Azeri") repeated in the table ofaliases. - Divehi (
dv) has its canonical name ("Divehi") repeated in the table ofaliases. - Norwego Bokmål (
nb) has Middle Norwegian (gmq-mno) set as an ancestor, but is not in the Mga wikang West Scandinavian (gmq-wes). - Norwego Bokmål (
nb) has Danes (da) set as an ancestor, but is not in the Mga wikang East Scandinavian (gmq-eas). - Navaho (
nv) has its canonical name ("Navaho") repeated in the table ofaliases. - Oriya (
or) has its canonical name ("Oriya") repeated in the table ofaliases. - Punjabi (
pa) has the ancestor Old Punjabi (inc-opa) listed in its ancestor field, which is redundant, since it is determined to be ancestral automatically. - The data key
standardCharsfor Franses (fr) is invalid. - Setswana (
tn) has its canonical name ("Setswana") repeated in the table ofaliases. - The
translitfield in the data table for Baskir (ba) specifies the module Module:ba-translit, which does not exist. - The
translitfield in the data table for Oriya (or) specifies the module Module:or-translit, which does not exist. - The
translitfield in the data table for Nuwosu (ii) specifies the module Module:ii-translit, which does not exist. - The
translitfield in the data table for Tsuvasyo (cv) specifies the module Module:cv-translit, which does not exist. - The
translitfield in the data table for Asames (as) specifies the module Module:as-translit, which does not exist.
Module:languages/data/3/a
- Manide (
abd) has its canonical name ("Manide") repeated in the table ofother_names. - Adyghe (
ady) has its canonical name ("Adyghe") repeated in the table ofaliases. - The
sort_keyfield in the data table for Hamer-Banna (amf) specifies the module Module:amf-utilities, which does not exist. - The
strip_diacriticsfield in the data table for Assyrian Neo-Aramaic (aii) specifies the module Module:Syrc-stripdiacritics, which does not exist. - The
translitfield in the data table for Assyrian Neo-Aramaic (aii) specifies the module Module:aii-translit, which does not exist. - The
translitfield in the data table for Aiton (aio) specifies the module Module:aio-phk-translit, which does not exist.
Module:languages/data/3/c
- The
sort_keyfield in the data table for Coptic (cop) specifies the module Module:Copt-sortkey, which does not exist. - The
strip_diacriticsfield in the data table for Chaldean Neo-Aramaic (cld) specifies the module Module:Syrc-stripdiacritics, which does not exist. - The
translitfield in the data table for Coptic (cop) specifies the module Module:Copt-translit, which does not exist. - The
translitfield in the data table for Kurdo Sentral (ckb) specifies the module Module:ckb-translit, which does not exist.
Module:languages/data/3/d
- The
translitfield in the data table for Tsez (ddo) specifies the module Module:ddo-translit, which does not exist.
Module:languages/data/3/e
- The
translitfield in the data table for Evenki (evn) specifies the module Module:evn-translit, which does not exist.
Module:languages/data/3/g
- The
translitfield in the data table for Mycenaean Greek (gmy) specifies the module Module:Linb-translit, which does not exist. - The
translitfield in the data table for Nanai (gld) specifies the module Module:gld-translit, which does not exist. - The
translitfield in the data table for Hinukh (gin) specifies the module Module:gin-translit, which does not exist.
Module:languages/data/3/g/extra
- Eastern Gurung (
ggn) has data in Module:languages/data/3/g, but does not have corresponding data in Module:languages/data/3/g/extra.
Module:languages/data/3/h
- Caribbean Hindustani (
hns) has Bhojpuri (bho) set as an ancestor, but is not in the Mga wikang Bihari (inc-bih). - Caribbean Hindustani (
hns) has Awadhi (awa) set as an ancestor, but is not in the Mga wikang Eastern Hindi (inc-hie). - The
translitfield in the data table for Hunzib (huz) specifies the module Module:huz-translit, which does not exist. - The
translitfield in the data table for Gurani (hac) specifies the module Module:ckb-translit, which does not exist.
Module:languages/data/3/i
- Ilokano (
ilo) has its canonical name ("Ilokano") repeated in the table ofaliases.
Module:languages/data/3/j
- The
translitfield in the data table for Jeju (jje) specifies the module Module:jje-translit, which does not exist.
Module:languages/data/3/k
- Kabiye (
kbp) has its canonical name ("Kabiye") repeated in the table ofaliases. - Katabaga (
ktq) has Ayta Kadi (dul) set as an ancestor, but is not in the Mga wikang Pilipino (phi). - The
translitfield in the data table for Khvarshi (khv) specifies the module Module:khv-translit, which does not exist. - The
translitfield in the data table for Kui (India) (kxu) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for Komi-Permyak (koi) specifies the module Module:kv-translit, which does not exist. - The
translitfield in the data table for Karachay-Balkar (krc) specifies the module Module:krc-translit, which does not exist. - The
translitfield in the data table for S'gaw Karen (ksw) specifies the module Module:ksw-translit, which does not exist. - The
translitfield in the data table for Koryak (kpy) specifies the module Module:kpy-translit, which does not exist. - The
translitfield in the data table for Kuvi (kxv) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for Karata (kpt) specifies the module Module:kpt-translit, which does not exist. - The
translitfield in the data table for Khinalug (kjj) specifies the module Module:kjj-translit, which does not exist. - The
translitfield in the data table for Eastern Pwo (kjp) specifies the module Module:kjp-translit, which does not exist. - The
translitfield in the data table for Khakas (kjh) specifies the module Module:kjh-translit, which does not exist. - The
translitfield in the data table for Kumyk (kum) specifies the module Module:kum-translit, which does not exist. - The
translitfield in the data table for Komi-Zyrian (kpv) specifies the module Module:kv-translit, which does not exist.
Module:languages/data/3/k/extra
- The code
kzeis not found in Module:languages/data/3/k, and should be removed from Module:languages/data/3/k/extra.
Module:languages/data/3/l
- The
sort_keyfield in the data table for Lak (lbe) specifies the module Module:lbe-sortkey, which does not exist. - The
translitfield in the data table for Lezgi (lez) specifies the module Module:lez-translit, which does not exist. - The
translitfield in the data table for Lepcha (lep) specifies the module Module:lep-translit, which does not exist. - The
translitfield in the data table for Laki (lki) specifies the module Module:lki-translit, which does not exist. - The
translitfield in the data table for Limbu (lif) specifies the module Module:lif-translit, which does not exist.
Module:languages/data/3/l/extra
- The code
llois not found in Module:languages/data/3/l, and should be removed from Module:languages/data/3/l/extra. - The code
lmzis not found in Module:languages/data/3/l, and should be removed from Module:languages/data/3/l/extra.
Module:languages/data/3/m
- Hember Avu (
mmi) has its canonical name ("Hember Avu") repeated in the table ofaliases. - The
sort_keyfield in the data table for Western Mari (mrj) specifies the module Module:mrj-sortkey, which does not exist. - The
sort_keyfield in the data table for Middle Irish (mga) specifies the module Module:mga-sortkey, which does not exist. - The
sort_keyfield in the data table for Moksha (mdf) specifies the module Module:mdf-sortkey, which does not exist. - The
translitfield in the data table for Manda (India) (mha) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for Western Mari (mrj) specifies the module Module:chm-translit, which does not exist. - The
translitfield in the data table for Erzya (myv) specifies the module Module:myv-translit, which does not exist. - The
translitfield in the data table for Moksha (mdf) specifies the module Module:mdf-translit, which does not exist. - The
translitfield in the data table for Eastern Mari (mhr) specifies the module Module:chm-translit, which does not exist. - The
translitfield in the data table for Mozarabic (mxi) specifies the module Module:mxi-translit, which does not exist.
Module:languages/data/3/m/extra
- The code
mcvis not found in Module:languages/data/3/m, and should be removed from Module:languages/data/3/m/extra.
Module:languages/data/3/n
- The
sort_keyfield in the data table for Nivkh (niv) specifies the module Module:niv-sortkey, which does not exist. - The
sort_keyfield in the data table for Nupe (nup) specifies the module Module:nup-sortkey, which does not exist. - The
translitfield in the data table for Nogai (nog) specifies the module Module:nog-translit, which does not exist. - The
translitfield in the data table for Naskapi (nsk) specifies the module Module:nsk-translit, which does not exist. - The
translitfield in the data table for Nivkh (niv) specifies the module Module:niv-translit, which does not exist. - The
translitfield in the data table for Nganasan (nio) specifies the module Module:nio-translit, which does not exist.
Module:languages/data/3/n/extra
- Nama (
nmx) has data in Module:languages/data/3/n, but does not have corresponding data in Module:languages/data/3/n/extra. - Noipä (
npx) has data in Module:languages/data/3/n, but does not have corresponding data in Module:languages/data/3/n/extra. - Ngaiawang (
nwg) has data in Module:languages/data/3/n, but does not have corresponding data in Module:languages/data/3/n/extra. - The code
nxuis not found in Module:languages/data/3/n, and should be removed from Module:languages/data/3/n/extra.
Module:languages/data/3/o
- The
sort_keyfield in the data table for Old Nubian (onw) specifies the module Module:Copt-sortkey, which does not exist. - The
translitfield in the data table for Orok (oaa) specifies the module Module:oaa-translit, which does not exist. - The
translitfield in the data table for Old Manipuri (omp) specifies the module Module:Mtei-translit, which does not exist. - The
translitfield in the data table for Old Nubian (onw) specifies the module Module:Copt-translit, which does not exist. - The
translitfield in the data table for Omok (omk) specifies the module Module:omk-translit, which does not exist.
Module:languages/data/3/o/extra
- The code
ontis not found in Module:languages/data/3/o, and should be removed from Module:languages/data/3/o/extra.
Module:languages/data/3/p
- Manat (
pmr) has its canonical name ("Manat") repeated in the table ofaliases. - The
translitfield in the data table for Old Persian (peo) specifies the module Module:peo-translit, which does not exist. - The
translitfield in the data table for Gandhari (pgd) specifies the module Module:Khar-translit, which does not exist. - The
translitfield in the data table for Primitive Irish (pgl) specifies the module Module:pgl-translit, which does not exist. - The
translitfield in the data table for Pengo (peg) specifies the module Module:kxv-translit, which does not exist. - The
translitfield in the data table for Phake (phk) specifies the module Module:aio-phk-translit, which does not exist.
Module:languages/data/3/r
- The
sort_keyfield in the data table for Carpathian Rusyn (rue) specifies the module Module:rue-sortkey, which does not exist. - The
translitfield in the data table for Pannonian Rusyn (rsk) specifies the module Module:rsk-translit, which does not exist. - The
translitfield in the data table for Carpathian Rusyn (rue) specifies the module Module:rue-translit, which does not exist. - The
translitfield in the data table for Kamta (rkt) specifies the module Module:as-translit, which does not exist. - The
translitfield in the data table for Rutul (rut) specifies the module Module:rut-translit, which does not exist.
Module:languages/data/3/r/extra
- Moriori (
rrm) has data in Module:languages/data/3/r, but does not have corresponding data in Module:languages/data/3/r/extra.
Module:languages/data/3/s
- Sirva (
sbq) has its canonical name ("Sirva") repeated in the table ofaliases. - Mende (New Guinea) (
sim) has its canonical name ("Mende (New Guinea)") repeated in the table ofaliases. - The
sort_keyfield in the data table for Maore Comorian (swb) specifies the module Module:bnt-com-sortkey, which does not exist. - The
sort_keyfield in the data table for Inari Sami (smn) specifies the module Module:smn-sortkey, which does not exist. - The
sort_keyfield in the data table for Skolt Sami (sms) specifies the module Module:sms-sortkey, which does not exist. - The
sort_keyfield in the data table for Pite Sami (sje) specifies the module Module:sje-sortkey, which does not exist. - The
sort_keyfield in the data table for Old Irish (sga) specifies the module Module:sga-sortkey, which does not exist. - The
sort_keyfield in the data table for Lule Sami (smj) specifies the module Module:smj-sortkey, which does not exist. - The
sort_keyfield in the data table for Ume Sami (sju) specifies the module Module:sju-sortkey, which does not exist. - The
sort_keyfield in the data table for Southern Sami (sma) specifies the module Module:sma-sortkey, which does not exist. - The
translitfield in the data table for Akkala Sami (sia) specifies the module Module:sia-translit, which does not exist. - The
translitfield in the data table for Yakut (sah) specifies the module Module:sah-translit, which does not exist. - The
translitfield in the data table for Samaritan Hebrew (smp) specifies the module Module:Samr-translit, which does not exist. - The
translitfield in the data table for Saurashtra (saz) specifies the module Module:saz-translit, which does not exist. - The
translitfield in the data table for Kildin Sami (sjd) specifies the module Module:sjd-translit, which does not exist. - The
translitfield in the data table for Santali (sat) specifies the module Module:Olck-translit, which does not exist. - The
translitfield in the data table for Sambalpuri (spv) specifies the module Module:or-translit, which does not exist. - The
translitfield in the data table for Katimugang Kurdo (sdh) specifies the module Module:sdh-translit, which does not exist. - The
translitfield in the data table for Samaritan Aramaic (sam) specifies the module Module:Samr-translit, which does not exist. - The
translitfield in the data table for Shughni (sgh) specifies the module Module:sgh-translit, which does not exist. - The
translitfield in the data table for Ter Sami (sjt) specifies the module Module:sjt-translit, which does not exist. - The
translitfield in the data table for Tachawit (shy) specifies the module Module:Tfng-translit, which does not exist. - The
translitfield in the data table for Sylheti (syl) specifies the module Module:syl-translit, which does not exist.
Module:languages/data/3/s/extra
- The code
skais not found in Module:languages/data/3/s, and should be removed from Module:languages/data/3/s/extra. - The code
slhis not found in Module:languages/data/3/s, and should be removed from Module:languages/data/3/s/extra. - The code
snois not found in Module:languages/data/3/s, and should be removed from Module:languages/data/3/s/extra. - Bouni (
suo) has data in Module:languages/data/3/s, but does not have corresponding data in Module:languages/data/3/s/extra.
Module:languages/data/3/t
- The
sort_keyfield in the data table for Tuvan (tyv) specifies the module Module:tyv-sortkey, which does not exist. - The
sort_keyfield in the data table for Talossan (tzl) specifies the module Module:tzl-sortkey, which does not exist. - The
translitfield in the data table for Tuvan (tyv) specifies the module Module:tyv-translit, which does not exist. - The
translitfield in the data table for Tsakhur (tkr) specifies the module Module:tkr-translit, which does not exist. - The
translitfield in the data table for Tai Nüa (tdd) specifies the module Module:Tale-translit, which does not exist.
Module:languages/data/3/t/extra
- The code
tbbis not found in Module:languages/data/3/t, and should be removed from Module:languages/data/3/t/extra. - The code
tmkis not found in Module:languages/data/3/t, and should be removed from Module:languages/data/3/t/extra. - The code
tsfis not found in Module:languages/data/3/t, and should be removed from Module:languages/data/3/t/extra.
Module:languages/data/3/u
- The
sort_keyfield in the data table for Ubykh (uby) specifies the module Module:uby-sortkey, which does not exist. - The
sort_keyfield in the data table for Udmurt (udm) specifies the module Module:udm-sortkey, which does not exist. - The
sort_keyfield in the data table for Ulch (ulc) specifies the module Module:ulc-sortkey, which does not exist. - The
translitfield in the data table for Ubykh (uby) specifies the module Module:uby-translit, which does not exist. - The
translitfield in the data table for Udmurt (udm) specifies the module Module:udm-translit, which does not exist.
Module:languages/data/3/u/extra
- Uni (
uni) has data in Module:languages/data/3/u, but does not have corresponding data in Module:languages/data/3/u/extra.
Module:languages/data/3/v
- The
sort_keyfield in the data table for East Franconian (vmf) specifies the module Module:vmf-sortkey, which does not exist. - The
translitfield in the data table for Vaghri (vgr) specifies the module Module:gu-translit, which does not exist. - The
translitfield in the data table for Vai (vai) specifies the module Module:Vaii-translit, which does not exist.
Module:languages/data/3/w
- The
sort_keyfield in the data table for Ndzwani Comorian (wni) specifies the module Module:bnt-com-sortkey, which does not exist. - The
sort_keyfield in the data table for Mwali Comorian (wlc) specifies the module Module:bnt-com-sortkey, which does not exist. - The
sort_keyfield in the data table for Middle Welsh (wlm) specifies the module Module:wlm-sortkey, which does not exist. - Waray (
war) has its canonical name ("Waray") repeated in the table ofaliases. - Mokati (
wnb) has its canonical name ("Mokati") repeated in the table ofaliases.
Module:languages/data/3/x
- The
translitfield in the data table for Lycian (xlc) specifies the module Module:Lyci-translit, which does not exist. - The
translitfield in the data table for Chuvan (xcv) specifies the module Module:xcv-translit, which does not exist. - The
translitfield in the data table for Lydian (xld) specifies the module Module:Lydi-translit, which does not exist. - The
translitfield in the data table for Aghwan (xag) specifies the module Module:Aghb-translit, which does not exist. - The
translitfield in the data table for Kamassian (xas) specifies the module Module:xas-translit, which does not exist. - Koromu (
xes) has its canonical name ("Koromu") repeated in the table ofaliases.
Module:languages/data/3/x/extra
- The code
xnnis not found in Module:languages/data/3/x, and should be removed from Module:languages/data/3/x/extra.
Module:languages/data/3/y
- The
translitfield in the data table for Northern Yukaghir (ykg) specifies the module Module:ykg-translit, which does not exist. - The
translitfield in the data table for Sirenik (ysr) specifies the module Module:ysr-translit, which does not exist. - The
translitfield in the data table for Yamphu (ybi) specifies the module Module:ybi-translit, which does not exist. - The
translitfield in the data table for Southern Yukaghir (yux) specifies the module Module:yux-translit, which does not exist. - The
translitfield in the data table for Yazghulami (yah) specifies the module Module:yah-translit, which does not exist. - Yeri (
yev) has its canonical name ("Yeri") repeated in the table ofaliases.
Module:languages/data/3/z
- The
sort_keyfield in the data table for Ngazidja Comorian (zdj) specifies the module Module:bnt-com-sortkey, which does not exist. - The
sort_keyfield in the data table for Zazaki (zza) specifies the module Module:zza-sortkey, which does not exist. - The
translitfield in the data table for Moroccan Amazigh (zgh) specifies the module Module:Tfng-translit, which does not exist.
Module:languages/data/exceptional
- Proto-language with no family: Proto-Amuesha-Chamicuro (
awd-amc-pro) should be the proto-language of"awd-amc", which doesn't exist. - Proto-language with no family: Proto-Kampa (
awd-kmp-pro) should be the proto-language of"awd-kmp", which doesn't exist. - Proto-language with no family: Proto-Paresi-Waura (
awd-prw-pro) should be the proto-language of"awd-prw", which doesn't exist. - Proto-language with no family: Proto-Rukai (
dru-pro) should be the proto-language of"dru", but Rukai (dru) is not a family. - Proto-language with no family: Proto-Puroik (
sit-khp-pro) should be the proto-language of"sit-khp", which doesn't exist. - The
sort_keyfield in the data table for Proto-Bantu (bnt-pro) specifies the module Module:bnt-pro-sortkey, which does not exist. - The
sort_keyfield in the data table for Proto-Germanic (gem-pro) specifies the module Module:gem-pro-sortkey, which does not exist. - The
sort_keyfield in the data table for Proto-West Germanic (gmw-pro) specifies the module Module:gmw-pro-sortkey, which does not exist. - The
sort_keyfield in the data table for Proto-Celtic (cel-pro) specifies the module Module:cel-pro-sortkey, which does not exist. - The
translitfield in the data table for Central Mansi (mns-cen) specifies the module Module:mns-translit, which does not exist. - The
translitfield in the data table for Northern Mansi (mns-nor) specifies the module Module:mns-translit, which does not exist. - The
translitfield in the data table for Northern Khanty (kca-nor) specifies the module Module:kca-translit, which does not exist. - The
translitfield in the data table for Northern Selkup (sel-nor) specifies the module Module:sel-nor-translit, which does not exist. - The
translitfield in the data table for Southern Mansi (mns-sou) specifies the module Module:mns-translit, which does not exist. - The
translitfield in the data table for Eastern Khanty (kca-eas) specifies the module Module:kca-translit, which does not exist. - The
translitfield in the data table for Komi-Yazva (urj-kya) specifies the module Module:kv-translit, which does not exist. - The
translitfield in the data table for Tundra Nenets (yrk-tun) specifies the module Module:yrk-tun-translit, which does not exist. - The
translitfield in the data table for Early Assamese (inc-oas) specifies the module Module:inc-oas-translit, which does not exist. - The
translitfield in the data table for Southern Selkup (sel-sou) specifies the module Module:sel-sou-translit, which does not exist. - The
translitfield in the data table for Middle Assamese (inc-mas) specifies the module Module:inc-mas-translit, which does not exist. - The
translitfield in the data table for Forest Nenets (yrk-for) specifies the module Module:yrk-for-translit, which does not exist. - The
translitfield in the data table for Southern Khanty (kca-sou) specifies the module Module:kca-translit, which does not exist. - The
translitfield in the data table for Proto-Norse (gmq-pro) specifies the module Module:Runr-translit, which does not exist. - The
translitfield in the data table for Gitnang Benggali (inc-mbn) specifies the module Module:inc-mbn-translit, which does not exist. - The
translitfield in the data table for Niya Prakrit (pra-niy) specifies the module Module:Khar-translit, which does not exist. - The
translitfield in the data table for Old Komi (urj-koo) specifies the module Module:urj-koo-translit, which does not exist.
Module:languages/data/exceptional/extra
- Proto-Binanderean (
ngf-bin-pro) has data in Module:languages/data/exceptional, but does not have corresponding data in Module:languages/data/exceptional/extra. - Kómnzo (
paa-kmn) has data in Module:languages/data/exceptional, but does not have corresponding data in Module:languages/data/exceptional/extra. - The code
paa-komis not found in Module:languages/data/exceptional, and should be removed from Module:languages/data/exceptional/extra. - Leitre (
paa-lei) has data in Module:languages/data/exceptional, but does not have corresponding data in Module:languages/data/exceptional/extra.
Module:etymology languages/data
- German Low German (
nds-de) has a canonical name that is not unique; it is also used by the codends-de. - The code
nds-deis not unique; it is also defined in Module:languages/data/exceptional. - Dutch Low Saxon (
nds-nl) has a canonical name that is not unique; it is also used by the codends-nl. - The code
nds-nlis not unique; it is also defined in Module:languages/data/exceptional. - The
translitfield in the data table for Iranian Persian (fa-ira) specifies the module Module:fa-ira-translit, which does not exist. - The
translitfield in the data table for Afghan Uzbek (uz-afg) specifies the module Module:uz-afg-translit, which does not exist. - The code
xaqis not unique; it is also defined in Module:languages/data/3/x. - Aquitanian (
xaq) has a canonical name that is not unique; it is also used by the codexaq.
Module:families/data
- Mga wikang Old Indo-Aryan (
inc-old) has no child families or languages. - Mga wikang Middle Iranian (
ira-mid) has no child families or languages. - Mga wikang Old Iranian (
ira-old) has no child families or languages. - Mga wikang Papuan (
paa) has no child families or languages. - Mga wikang creole (
qfa-cre) has no child families or languages. - Mga wikang pidgin (
qfa-pid) has no child families or languages.
Module:etymology languages/canonical names
- The code
nds-deand the canonical name German Low German should be removed; they are not found in Module:etymology languages/data. - The code
nds-nland the canonical name Dutch Low Saxon should be removed; they are not found in Module:etymology languages/data. - The code
xaqand the canonical name Aquitanian should be removed; they are not found in Module:etymology languages/data.
Module:etymology languages/code to canonical name
- The code
nds-deand the canonical name German Low German should be removed; they are not found in Module:etymology languages/data. - The code
nds-nland the canonical name Dutch Low Saxon should be removed; they are not found in Module:etymology languages/data. - The code
xaqand the canonical name Aquitanian should be removed; they are not found in Module:etymology languages/data.
Template:langname-lite
- Code:
aav. Saw name: Austroasiatic. Expected name: Awstroasyatika. - Code:
ab. Saw name: Abkhaz. Expected name: Abhasiyo. - Code:
abc. Saw name: Ambala Ayta. Expected name: Ayta Ambala. - Code:
abp. Saw name: Abenlen Ayta. Expected name: Abellen. - Code:
ace. Saw name: Acehnese. Expected name: Atsenes. - Code:
acw. Saw name: Hijazi Arabic. Expected name: Arabe Hijazi. - Code:
acy. Saw name: Cypriot Arabic. Expected name: Arabe Tsipriyota. - Code:
ae. Saw name: Avestan. Expected name: Avestiko. - Code:
aeb. Saw name: Tunisian Arabic. Expected name: Arabe Tunesino. - Code:
af. Saw name: Afrikaans. Expected name: Afrikāns. - Code:
afb. Saw name: Gulf Arabic. Expected name: Arabe Golpo. - Code:
agn. Saw name: Agutaynen. Expected name: Agutaynën. - Code:
agv. Saw name: Remontado Agta. Expected name: Hatang Kaye. - Code:
ajg. Saw name: Adja. Expected name: Aja (West Africa). - Code:
ajp. Saw name: South Levantine Arabic. Expected name: Arabe Timog Levantino. - Code:
akk. Saw name: Akkadian. Expected name: Akadyo. - Code:
alj. Saw name: Alangan. Expected name: Alangan Mangyan. - Code:
als. Saw name: Albanian. Expected name: Albanes. - Code:
an. Saw name: Aragonese. Expected name: Aragones. - Code:
apc. Saw name: North Levantine Arabic. Expected name: Arabe Hilagang Levantino. - Code:
ar. Saw name: Arabic. Expected name: Arabe. - Code:
arc. Saw name: Aramaic. Expected name: Arameas. - Code:
ary. Saw name: Moroccan Arabic. Expected name: Arabe Maroki. - Code:
arz. Saw name: Egyptian Arabic. Expected name: Arabe Ehipsiyo. - Code:
as. Saw name: Assamese. Expected name: Asames. - Code:
ast. Saw name: Asturian. Expected name: Asturyano. - Code:
atd. Saw name: Ata Manobo. Expected name: Manobo Ata. - Code:
att. Saw name: Pamplona Atta. Expected name: Atta Pamplona. - Code:
ayl. Saw name: Libyan Arabic. Expected name: Arabe Libyo. - Code:
az. Saw name: Azerbaijani. Expected name: Azeri. - Code:
ba. Saw name: Bashkir. Expected name: Baskir. - Code:
ban. Saw name: Balinese. Expected name: Balines. - Code:
bar. Saw name: Bavarian. Expected name: Bavaro. - Code:
bcl. Saw name: Bikol Central. Expected name: Bikol Naga. - Code:
be. Saw name: Belarusian. Expected name: Biyeloruso. - Code:
bg. Saw name: Bulgarian. Expected name: Bulgaro. - Code:
bjn. Saw name: Banjarese. Expected name: Banjares. - Code:
bks. Saw name: Masbate Sorsogon. Expected name: Hilagang Sorsoganon. - Code:
bln. Saw name: Southern Catanduanes Bicolano. Expected name: Bikol Katimugang Catanduanes. - Code:
blx. Saw name: Mag-Indi Ayta. Expected name: Ayta Mag-indi. - Code:
bn. Saw name: Bengali. Expected name: Benggali. - Code:
bo. Saw name: Tibetan. Expected name: Tibetano. - Code:
btn. Saw name: Ratagnon. Expected name: Ratagnon Mangyan. - Code:
bto. Saw name: Iriga Bicolano. Expected name: Rinkonada. - Code:
btw. Saw name: Butuanon. Expected name: Butwanon. - Code:
ca. Saw name: Catalan. Expected name: Katalan. - Code:
car. Saw name: Kari'na. Expected name: Karîña. - Code:
cbk. Saw name: Chavacano. Expected name: Chabacano. - Code:
cdo. Saw name: Eastern Min. Expected name: Silanganang Min. - Code:
ce. Saw name: Chechen. Expected name: Tsetseno. - Code:
ceb. Saw name: Cebuano. Expected name: Sebwano. - Code:
cgc. Saw name: Kagayanen. Expected name: Kagayanën. - Code:
ch. Saw name: Chamorro. Expected name: Tsamoro. - Code:
chy. Saw name: Cheyenne. Expected name: Tseyene. - Code:
cic. Saw name: Chickasaw. Expected name: Tsikasaw. - Code:
cim. Saw name: Cimbrian. Expected name: Simbriyano. - Code:
cjo. Saw name: Ashéninka Pajonal. Expected name: Pajonal Ashéninka. - Code:
ckb. Saw name: Central Kurdish. Expected name: Kurdo Sentral. - Code:
co. Saw name: Corsican. Expected name: Korso. - Code:
cs. Saw name: Czech. Expected name: Tseko. - Code:
cts. Saw name: Northern Catanduanes Bicolano. Expected name: Bikol Kahilagaang Catanduanes. - Code:
cu. Saw name: Old Church Slavonic. Expected name: Lumang Simbahang Eslavo. - Code:
cv. Saw name: Chuvash. Expected name: Tsuvasyo. - Code:
cy. Saw name: Welsh. Expected name: Gales. - Code:
cyo. Saw name: Cuyunon. Expected name: Kuyunon. - Code:
da. Saw name: Danish. Expected name: Danes. - Code:
de. Saw name: German. Expected name: Aleman. - Code:
dgc. Saw name: Casiguran Dumagat Agta. Expected name: Agta Dumagat Casiguran. - Code:
duo. Saw name: Dupaningan Agta. Expected name: Tenap. - Code:
dv. Saw name: Dhivehi. Expected name: Divehi. - Code:
ebk. Saw name: Eastern Bontoc. Expected name: Finallig. - Code:
el. Saw name: Greek. Expected name: Griyego. - Code:
en. Saw name: English. Expected name: Ingles. - Code:
es. Saw name: Spanish. Expected name: Espanyol. - Code:
et. Saw name: Estonian. Expected name: Estonyo. - Code:
eu. Saw name: Basque. Expected name: Euskera. - Code:
fa. Saw name: Persian. Expected name: Persa. - Code:
fbl. Saw name: West Albay Bikol. Expected name: Bikol Kanlurang Albay. - Code:
fi. Saw name: Finnish. Expected name: Fines. - Code:
fj. Saw name: Fijian. Expected name: Fiyiyano. - Code:
fo. Saw name: Faroese. Expected name: Feroes. - Code:
fr. Saw name: French. Expected name: Franses. - Code:
fr-CA. Saw name: French. Expected name: Franses. - Code:
fy. Saw name: West Frisian. Expected name: Kanlurang Frison. - Code:
ga. Saw name: Irish. Expected name: Irlandes. - Code:
gd. Saw name: Scottish Gaelic. Expected name: Gaeliko Eskoses. - Code:
gem. Saw name: Germanic. Expected name: Hermaniko. - Code:
gim. Saw name: Gimi (Goroka). Expected name: Gimi (Papuan). - Code:
gl. Saw name: Galician. Expected name: Galyego. - Code:
got. Saw name: Gothic. Expected name: Gotiko. - Code:
gu. Saw name: Gujarati. Expected name: Guyarati. - Code:
gv. Saw name: Manx. Expected name: Manes. - Code:
haw. Saw name: Hawaiian. Expected name: Hawayano. - Code:
he. Saw name: Hebrew. Expected name: Ebreo. - Code:
ht. Saw name: Haitian Creole. Expected name: Kriyolyo Aityano. - Code:
hu. Saw name: Hungarian. Expected name: Unggaro. - Code:
hwc. Saw name: Hawaiian Creole. Expected name: Kriyolyo Hawayano. - Code:
hy. Saw name: Armenian. Expected name: Armenyo. - Code:
ia. Saw name: Interlingua. Expected name: Interlingguwa. - Code:
ibl. Saw name: Ibaloi. Expected name: Ibaloy. - Code:
id. Saw name: Indonesian. Expected name: Indonesyo. - Code:
ie. Saw name: Interlingue. Expected name: Interlingguwe. - Code:
ifb. Saw name: Batad Ifugao. Expected name: Ifugaw Batad. - Code:
ifu. Saw name: Mayoyao Ifugao. Expected name: Ifugaw Mayawyaw. - Code:
ii. Saw name: Nuosu. Expected name: Nuwosu. - Code:
ik. Saw name: Inupiaq. Expected name: Iñupyak. - Code:
ilk. Saw name: Ilongot. Expected name: Bugkalut. - Code:
ilo. Saw name: Ilocano. Expected name: Ilokano. - Code:
inn. Saw name: Isinai. Expected name: Isinay. - Code:
iry. Saw name: Iraya. Expected name: Iraya Mangyan. - Code:
is. Saw name: Icelandic. Expected name: Islandes. - Code:
isd. Saw name: Isnag. Expected name: Isnëg. - Code:
it. Saw name: Italian. Expected name: Italyano. - Code:
ivb. Saw name: Ibatan. Expected name: Ivatan. - Code:
ivv. Saw name: Ivatan. Expected name: Itbayatën. - Code:
ja. Saw name: Japanese. Expected name: Hapones. - Code:
jv. Saw name: Javanese. Expected name: Havanes. - Code:
ka. Saw name: Georgian. Expected name: Heorhiyano. - Code:
kak. Saw name: Kayapa Kallahan. Expected name: Kalanguya. - Code:
kk. Saw name: Kazakh. Expected name: Kazaho. - Code:
kl. Saw name: Greenlandic. Expected name: Groenlandes. - Code:
klg. Saw name: Tagakaulu Kalagan. Expected name: Tagakawlo. - Code:
km. Saw name: Khmer. Expected name: Hemer. - Code:
kmc. Saw name: Southern Kam. Expected name: Katimugang Kam. - Code:
kmk. Saw name: Limos Kalinga. Expected name: Kalingga Limos. - Code:
kmr. Saw name: Northern Kurdish. Expected name: Kahilagaang Kurdo. - Code:
knb. Saw name: Lubuagan Kalinga. Expected name: Kalingga Lubuagan. - Code:
kne. Saw name: Kankanaey. Expected name: Kankanaëy. - Code:
ko. Saw name: Korean. Expected name: Koreano. - Code:
ks. Saw name: Kashmiri. Expected name: Katsemir. - Code:
ktb. Saw name: Kambaata. Expected name: Kambāta. - Code:
kus. Saw name: Kusaal. Expected name: Kusāl. - Code:
kw. Saw name: Cornish. Expected name: Korniko. - Code:
ky. Saw name: Kyrgyz. Expected name: Kirgis. - Code:
lb. Saw name: Luxembourgish. Expected name: Luksemburges. - Code:
lbk. Saw name: Central Bontoc. Expected name: Finontok. - Code:
lbl. Saw name: Libon Bikol. Expected name: Bikol Libon. - Code:
li. Saw name: Limburgish. Expected name: Limburges. - Code:
ln. Saw name: Lingala. Expected name: Linggala. - Code:
loc. Saw name: Inonhan. Expected name: Onhan. - Code:
lt. Saw name: Lithuanian. Expected name: Litwano. - Code:
ltc. Saw name: Middle Chinese. Expected name: Gitnang Tsino. - Code:
lv. Saw name: Latvian. Expected name: Leton. - Code:
mba. Saw name: Higaonon. Expected name: Higaunon. - Code:
mbb. Saw name: Western Bukidnon Manobo. Expected name: Menuvu. - Code:
mbd. Saw name: Dibabawon Manobo. Expected name: Manobo Dibabawon. - Code:
mbi. Saw name: Ilianen Manobo. Expected name: Manobo Ilyanen. - Code:
mdh. Saw name: Maguindanao. Expected name: Magindanawon. - Code:
men. Saw name: Mende. Expected name: Mende (Sierra Leone). - Code:
mg. Saw name: Malagasy. Expected name: Malgatse. - Code:
mh. Saw name: Marshallese. Expected name: Marshales. - Code:
mi. Saw name: Maori. Expected name: Māori. - Code:
mk. Saw name: Macedonian. Expected name: Masedonyo. - Code:
mn. Saw name: Mongolian. Expected name: Monggol. - Code:
mr. Saw name: Marathi. Expected name: Marati. - Code:
mrw. Saw name: Maranao. Expected name: Mëranaw. - Code:
ms. Saw name: Malay. Expected name: Malayo. - Code:
ms-cla. Saw name: Malay. Expected name: Malayo. - Code:
ms-cla. Saw name: Classical Malay. Expected name: Malay Klasikal. - Code:
ms-old. Saw name: Malay. Expected name: Malayo. - Code:
msm. Saw name: Agusan Manobo. Expected name: Manobo Agusan. - Code:
mt. Saw name: Maltese. Expected name: Maltes. - Code:
mul. Saw name: Translingual. Expected name: Maramihang wika. - Code:
my. Saw name: Burmese. Expected name: Birmano. - Code:
na. Saw name: Nauruan. Expected name: Naurwano. - Code:
nb. Saw name: Norwegian Bokmål. Expected name: Norwego Bokmål. - Code:
nd. Saw name: Northern Ndebele. Expected name: Hilagang Ndebele. - Code:
nl. Saw name: Dutch. Expected name: Nerlandes. - Code:
nn. Saw name: Norwegian Nynorsk. Expected name: Norwego Nynorsk. - Code:
no. Saw name: Norwegian. Expected name: Norwego. - Code:
nr. Saw name: Southern Ndebele. Expected name: Katimugang Ndebele. - Code:
nv. Saw name: Navajo. Expected name: Navaho. - Code:
ny. Saw name: Chichewa. Expected name: Tsitsewa. - Code:
oc. Saw name: Occitan. Expected name: Oksitano. - Code:
och. Saw name: Old Chinese. Expected name: Lumang Tsino. - Code:
oj. Saw name: Ojibwe. Expected name: Ojibwë. - Code:
ojp. Saw name: Old Japanese. Expected name: Lumang Hapones. - Code:
oko. Saw name: Old Korean. Expected name: Lumang Koreano. - Code:
os. Saw name: Ossetian. Expected name: Osetyo. - Code:
pap. Saw name: Papiamentu. Expected name: Papyamento. - Code:
phi-pro. Saw name: Proto-Philippine. Expected name: Proto-Pilipino. - Code:
phl. Saw name: Phalura. Expected name: Palula. - Code:
pl. Saw name: Polish. Expected name: Polako. - Code:
plv. Saw name: Southwest Palawano. Expected name: Palaw-an Timog Kanluran. - Code:
plw. Saw name: Brooke's Point Palawano. Expected name: Palaw-an Brooke's Point. - Code:
ps. Saw name: Pashto. Expected name: Pastun. - Code:
pt. Saw name: Portuguese. Expected name: Portuges. - Code:
qu. Saw name: Quechua. Expected name: Ketsuwa. - Code:
rbl. Saw name: Miraya Bikol. Expected name: Bikol Miraya. - Code:
rm. Saw name: Romansch. Expected name: Romantse. - Code:
ro. Saw name: Romanian. Expected name: Rumano. - Code:
roa-leo. Saw name: Leonese. Expected name: Leones. - Code:
roa-oca. Saw name: Old Catalan. Expected name: Lumang Katalan. - Code:
roa-ole. Saw name: Old Leonese. Expected name: Lumang Leones. - Code:
rol. Saw name: Romblomanon. Expected name: Ini. - Code:
ru. Saw name: Russian. Expected name: Ruso. - Code:
rw. Saw name: Rwanda-Rundi. Expected name: Kiñarwanda-Kirundi. - Code:
sbl. Saw name: Botolan Sambal. Expected name: Sambal Botolan. - Code:
sc. Saw name: Sardinian. Expected name: Sardo. - Code:
scn. Saw name: Sicilian. Expected name: Sisilyano. - Code:
sco. Saw name: Scots. Expected name: Eskoses. - Code:
sd. Saw name: Sindhi. Expected name: Sindi. - Code:
se. Saw name: Northern Sami. Expected name: Hilagang Sami. - Code:
sg. Saw name: Sango. Expected name: Sanggo. - Code:
sgb. Saw name: Mag-Anchi Ayta. Expected name: Ayta Mag-antsi. - Code:
sgd. Saw name: Surigaonon. Expected name: Surigawnon. - Code:
sh. Saw name: Serbo-Croatian. Expected name: Serbokroata. - Code:
si. Saw name: Sinhalese. Expected name: Singgales. - Code:
sit. Saw name: Sino-Tibetan. Expected name: Sino-Tibetano. - Code:
sjm. Saw name: Mapun. Expected name: Jama Mapun. - Code:
sk. Saw name: Slovak. Expected name: Eslovako. - Code:
sl. Saw name: Slovene. Expected name: Esloveno. - Code:
slm. Saw name: Pangutaran Sama. Expected name: Sama Pangutaran. - Code:
sm. Saw name: Samoan. Expected name: Samoano. - Code:
smk. Saw name: Bolinao. Expected name: Bolinaw. - Code:
sq. Saw name: Albanian. Expected name: Albanes. - Code:
srv. Saw name: Waray Sorsogon. Expected name: Katimugang Sorsoganon. - Code:
ss. Saw name: Swazi. Expected name: Suwazi. - Code:
sv. Saw name: Swedish. Expected name: Suweko. - Code:
sw. Saw name: Swahili. Expected name: Suwahili. - Code:
szl. Saw name: Silesian. Expected name: Silesyo. - Code:
tbl. Saw name: Tboli. Expected name: Tiboli. - Code:
tbw. Saw name: Tagbanwa. Expected name: Tagbanwa Aborlan. - Code:
tdy. Saw name: Tadyawan. Expected name: Tadyawan Mangyan. - Code:
tg. Saw name: Tajik. Expected name: Tayiko. - Code:
th. Saw name: Thai. Expected name: Tailandes. - Code:
ti. Saw name: Tigrinya. Expected name: Tigriña. - Code:
tiy. Saw name: Tiruray. Expected name: Tëduray. - Code:
tk. Saw name: Turkmen. Expected name: Turkomano. - Code:
tkl. Saw name: Tokelauan. Expected name: Tokelawano. - Code:
to. Saw name: Tongan. Expected name: Tonggano. - Code:
tr. Saw name: Turkish. Expected name: Turko. - Code:
ts. Saw name: Tsonga. Expected name: Tsongga. - Code:
tsg. Saw name: Tausug. Expected name: Bahasa Sūg. - Code:
tt. Saw name: Tatar. Expected name: Tartaro. - Code:
tvl. Saw name: Tuvaluan. Expected name: Tuvalwano. - Code:
ty. Saw name: Tahitian. Expected name: Tahityano. - Code:
ubl. Saw name: Buhi'non Bikol. Expected name: Boînën. - Code:
ug. Saw name: Uyghur. Expected name: Wigur. - Code:
uk. Saw name: Ukrainian. Expected name: Ukranyano. - Code:
uz. Saw name: Uzbek. Expected name: Uzbeko. - Code:
vi. Saw name: Vietnamese. Expected name: Viyetnamita. - Code:
wa. Saw name: Walloon. Expected name: Valon. - Code:
war. Saw name: Waray-Waray. Expected name: Waray. - Code:
xh. Saw name: Xhosa. Expected name: Khosa. - Code:
yi. Saw name: Yiddish. Expected name: Yidis. - Code:
yrk. Saw name: Tundra Nenets. Expected name: Nenets. - Code:
yue. Saw name: Cantonese. Expected name: Kantones. - Code:
zh. Saw name: Chinese. Expected name: Tsino.
Required valuesRequired 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
nilif not known/present. This replaces the olderwikipedia_articleproperty, which can still be used to link to specific sections or language editions.
Optional valuesOptional 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
Language:findBestScriptmethod 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 theNonescript is returned (even if the characters would match a script not listed). Translingual (mul) and Undetermined (und) have the special value"All", 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:
"Latn, Brai, Shaw, Dsrt". 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), andine-pro(Proto-Indo-European, the ancestor of Proto-Germanic) are not listed. - For most languages, only one ancestor code should be given, but multiple ancestors can be listed for pidgins, creoles and mixed languages.
- The ancestor language 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 anancestorstable; Proto-Indo-European will be automatically returned as its ancestor by thegetAncestorsfunction. - 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:
"cr, fr". 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:
"en, simple". - Note that Wikimedia <-> Wiktionary language codes are currently defined in four places: the language modules (as documented here); Module:wikimedia languages/data;
interwiki_langsin Module:translations/data; and thewiktprefixfield 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
isTransliteratedvalue set tofalsein Module:scripts/data. This is used bytransliteratein Module:languages. link_tr- Set this to
trueto link the language's transliteration. For instance, Gothic has entries in Gothic script and entries for transliterations: 𐌷𐌻𐌰𐌹𐌱𐍃 (hlaibs). Otherwise, this can be a comma-separated list of script codes, which means that links are only applied to terms using those scripts. override_translit- Set this to
trueto 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 asI, or even LatinlorI. 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 bymakeDisplayTextin Module:languages. entry_name- See the Substitutions section for instructions on syntax.
- Defines replacements to create the entry name from the displayed form of a term. This can be used to remove certain diacritical marks according to the customs or standard practice of the language. For example, it is used to remove accent marks from Russian words (
ру́сский→русский), or macrons from Latin or Old English words (ōs→os), as these are not used in the normal written form of these languages. This is used bymakeEntryNamein 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:
- Remove any characters that should be ignored in sorting.
- 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".
- 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
"у" .. p[1]. Another character could be inserted straight after by using"у" .. p[2](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
makeSortKeyin Module:languages. dotted_dotless_i- Set this to
truefor languages that distinguish between the dotted and dotless I (such as some Turkic languages).
SubstitutionsSubstitutions
translit,display_text,entry_nameandsort_keyall 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,
"sa-translit"refers to Module:sa-translit. - If they are a table, then it can contain two kinds of keys:
- The keys
from,to,remove_diacriticsandremove_exceptionsrelate to text substitution (see below). - 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
1can be used as a fallback, which will be used if no specific behaviour is defined for that script.
- The keys
- 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
1if 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.
- 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,
- Dedicated modules must take the arguments
text, lang, sc, wheretextis the input text (usually the page name or input by the user),langis the language code (not the language object), andscis 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:
- Using the
fromandtokeys. remove_diacritics(and optionallyremove_exceptions).- Both of the above (in that order).
- Using the
fromis paired withto, and both of them must be tables that are organised pairwise: each element infromis a pattern to identify which characters in the term to replace, while the corresponding element intodefines what to replace them with (as arguments tomw.ustring.gsub).- If the replacement is not present (or if it is
falseornil), then any matching characters are removed altogether. This means that thefromlist can be longer than thetolist, and an empty replacement will be assumed for any elements infromthat have no counterpart into. - The tables can contain literal characters, or the patterns (a simplified form regular expressions) that are used by the standard Scribunto
mw.ustring.gsubfunction. 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. remove_diacriticsis a string which contains characters that will be removed after the text is decomposed. For instance, ifremove_diacriticsis 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%-).- Furthermore, if
remove_diacriticsis given, then it is possible to specify aremove_exceptionstable, which prevents specific characters from having their diacritics stripped. For instance, ifremove_diacriticsis a combining diaeresis, butremove_exceptionscontains"ё", then any instances ofёwill remain unchanged. On the other hand, an instance ofӱwould still becomeу(unless"ӱ"is also added toremove_exceptions). - 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
from/toorremove_diacriticsfields, 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 valuesFormerly 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
-- Ideally, we want to move these into [[Module:languages/data]], but because (a) it's necessary to use require on that module, and (b) they're only used in this data module, it's less memory-efficient to do that at the moment. If it becomes possible to use mw.loadData, then these should be moved there.
s["de-Latn-sortkey"] = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer .. c.ringabove,
from = {"æ", "œ", "ß"},
to = {"ae", "oe", "ss"}
}
s["de-Latn-standardchars"] = "AaÄäBbCcDdEeFfGgHhIiJjKkLlMmNnOoÖöPpQqRrSsẞßTtUuÜüVvWwXxYyZz"
s["ka-stripdiacritics"] = {remove_diacritics = c.circ}
s["no-sortkey"] = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron .. c.dacute .. c.caron .. c.cedilla,
remove_exceptions = {"å"},
from = {"æ", "ø", "å"},
to = {"z" .. p[1], "z" .. p[2], "z" .. p[3]}
}
s["no-standardchars"] = "AaBbDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsTtUuVvYyÆæØøÅå" .. c.punc
s["tg-stripdiacritics"] = {remove_diacritics = c.grave .. c.acute}
s["tk-stripdiacritics"] = {remove_diacritics = c.macron}
local m = {}
m["aa"] = {
"Afar",
27811,
"cus-eas",
"Latn, Ethi",
strip_diacritics = {
Latn = {remove_diacritics = c.acute},
},
english_name = "Afar", --TLCHANGE
}
m["ab"] = {
"Abhasiyo", --TLCHANGE From spanish "abjasio"
5111,
"cau-abz",
"Cyrl, Geor, Latn",
translit = {
Cyrl = "ab-translit",
-- Geor translit in [[Module:scripts/data]]
},
override_translit = true,
display_text = {
Cyrl = s["cau-Cyrl-displaytext"]
},
strip_diacritics = {
Cyrl = {
remove_diacritics = c.acute,
from = {"^а%-"},
to = {"а"},
},
Latn = s["cau-Latn-stripdiacritics"],
},
sort_key = {
Cyrl = {
from = {
"х'ә", -- 3 chars
"гь", "гә", "ӷь", "ҕь", "ӷә", "ҕә", "дә", "ё", "жь", "жә", "ҙә", "ӡә", "ӡ'", "кь", "кә", "қь", "қә", "ҟь", "ҟә", "ҫә", "тә", "ҭә", "ф'", "хь", "хә", "х'", "ҳә", "ць", "цә", "ц'", "ҵә", "ҵ'", "шь", "шә", "џь", -- 2 chars
"ӷ", "ҕ", "ҙ", "ӡ", "қ", "ҟ", "ԥ", "ҧ", "ҫ", "ҭ", "ҳ", "ҵ", "ҷ", "ҽ", "ҿ", "ҩ", "џ", "ә", -- 1 char
"^а",
},
to = {
"х" .. p[4],
"г" .. p[1], "г" .. p[2], "г" .. p[5], "г" .. p[6], "г" .. p[7], "г" .. p[8], "д" .. p[1], "е" .. p[1], "ж" .. p[1], "ж" .. p[2], "з" .. p[2], "з" .. p[4], "з" .. p[5], "к" .. p[1], "к" .. p[2], "к" .. p[4], "к" .. p[5], "к" .. p[7], "к" .. p[8], "с" .. p[2], "т" .. p[1], "т" .. p[3], "ф" .. p[1], "х" .. p[1], "х" .. p[2], "х" .. p[3], "х" .. p[6], "ц" .. p[1], "ц" .. p[2], "ц" .. p[3], "ц" .. p[5], "ц" .. p[6], "ш" .. p[1], "ш" .. p[2], "ы" .. p[3],
"г" .. p[3], "г" .. p[4], "з" .. p[1], "з" .. p[3], "к" .. p[3], "к" .. p[6], "п" .. p[1], "п" .. p[2], "с" .. p[1], "т" .. p[2], "х" .. p[5], "ц" .. p[4], "ч" .. p[1], "ч" .. p[2], "ч" .. p[3], "ы" .. p[1], "ы" .. p[2], "ь" .. p[1],
"",
}
},
},
english_name = "Abkahz", --TLCHANGE
spanish_name = "Abjasio", --TLCHANGE
}
m["ae"] = {
"Avestiko", --TLCHANGE from Spanish "avéstico"
29572,
"ira-cen",
"Avst, Gujr",
translit = {
Avst = "Avst-translit"
},
english_name = "Avestan", --TLCHANGE
spanish_name = "Avéstico", --TLCHANGE
}
m["af"] = {
"Afrikāns", --TLCHANGE the "ā" is a long vowel, since "aa" is pronounced "aɁa"
14196,
"gmw-frk",
"Latn, Arab",
ancestors = "nl",
sort_key = {
Latn = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.diaer .. c.ringabove .. c.cedilla .. "'",
from = {"['ʼ]n"},
to = {"n" .. p[1]}
}
},
english_name = "Afrikaans", --TLCHANGE
spanish_name = "Afrikáans", --TLCHANGE
}
m["ak"] = {
"Akan",
28026,
"alv-ctn",
"Latn",
}
m["am"] = {
"Amhariko", --TLCHANGE
28244,
"sem-eth",
"Ethi",
translit = "Ethi-translit",
english_name = "Amharic", --TLCHANGE
spanish_name = "Amhárico", --TLCHANGE
}
m["an"] = {
"Aragones", --TLCHANGE
8765,
"roa-nar",
"Latn",
english_name = "Aragonese", --TLCHANGE
spanish_name = "Aragonés", --TLCHANGE
}
m["ar"] = {
"Arabe", --TLCHANGE
13955,
"sem-arb",
"Arab, Hebr, Syrc, Brai, Nbat",
translit = {
Arab = "ar-translit"
},
strip_diacritics = {
Arab = "ar-stripdiacritics",
},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
is_official_kwf_name = "https://kwf.gov.ph/wp-content/uploads/MMP_Full.pdf#page=96", --TLCHANGE
english_name = "Arabic", --TLCHANGE
}
m["as"] = {
"Asames", --TLCHANGE
29401,
"inc-bas",
"as-Beng",
ancestors = "inc-mas",
translit = "as-translit",
english_name = "Assamese", --TLCHANGE
spanish_name = "Asamés", --TLCHANGE
}
m["av"] = {
"Avar",
29561,
"cau-ava",
"Cyrl, Latn, Arab",
ancestors = "oav",
translit = {
Cyrl = "cau-nec-translit",
Arab = "ar-translit",
},
override_translit = true,
display_text = {
Cyrl = s["cau-Cyrl-displaytext"],
},
strip_diacritics = {
Cyrl = s["cau-Cyrl-stripdiacritics"],
Latn = s["cau-Latn-stripdiacritics"],
},
sort_key = {
Cyrl = {
from = {"гъ", "гь", "гӏ", "ё", "кк", "къ", "кь", "кӏ", "лъ", "лӏ", "тӏ", "хх", "хъ", "хь", "хӏ", "цӏ", "чӏ"},
to = {"г" .. p[1], "г" .. p[2], "г" .. p[3], "е" .. p[1], "к" .. p[1], "к" .. p[2], "к" .. p[3], "к" .. p[4], "л" .. p[1], "л" .. p[2], "т" .. p[1], "х" .. p[1], "х" .. p[2], "х" .. p[3], "х" .. p[4], "ц" .. p[1], "ч" .. p[1]}
},
},
english_name = "Avar", --TLCHANGE
}
m["ay"] = {
"Aymara", --TLCHANGE
4627,
"sai-aym",
"Latn",
english_name = "Aymara", --TLCHANGE
spanish_name = "Aimara", --TLCHANGE
}
m["az"] = {
"Azeri", --TLCHANGE
9292,
"trk-ogz",
"Latn, Cyrl, fa-Arab",
ancestors = "trk-oat",
dotted_dotless_i = true,
strip_diacritics = {
Latn = {
from = {"ʼ"},
to = {"'"},
},
["fa-Arab"] = {
module = "ar-stripdiacritics",
["from"] = {
"ۆ",
"ۇ",
"وْ",
"ڲ",
"ؽ",
},
["to"] = {
"و",
"و",
"و",
"گ",
"ی",
},
},
},
display_text = {
Latn = {
from = {"'"},
to = {"ʼ"}
}
},
sort_key = {
Latn = {
from = {
"i", -- Ensure "i" comes after "ı".
"ç", "ə", "ğ", "x", "ı", "q", "ö", "ş", "ü", "w"
},
to = {
"i" .. p[1],
"c" .. p[1], "e" .. p[1], "g" .. p[1], "h" .. p[1], "i", "k" .. p[1], "o" .. p[1], "s" .. p[1], "u" .. p[1], "z" .. p[1]
}
},
Cyrl = {
from = {"ғ", "ә", "ы", "ј", "ҝ", "ө", "ү", "һ", "ҹ"},
to = {"г" .. p[1], "е" .. p[1], "и" .. p[1], "и" .. p[2], "к" .. p[1], "о" .. p[1], "у" .. p[1], "х" .. p[1], "ч" .. p[1]}
},
},
english_name = "Azerbaijani", --TLCHANGE
spanish_name = "Azerí", --TLCHANGE
}
m["ba"] = {
"Baskir", --TLCHANGE
13389,
"trk-kbu",
"Cyrl",
translit = "ba-translit",
override_translit = true,
sort_key = {
from = {"ғ", "ҙ", "ё", "ҡ", "ң", "ө", "ҫ", "ү", "һ", "ә"},
to = {"г" .. p[1], "д" .. p[1], "е" .. p[1], "к" .. p[1], "н" .. p[1], "о" .. p[1], "с" .. p[1], "у" .. p[1], "х" .. p[1], "э" .. p[1]}
},
english_name = "Bashkir", --TLCHANGE
spanish_name = "Baskir", --TLCHANGE
}
m["be"] = {
"Biyeloruso", --TLCHANGE
9091,
"zle",
"Cyrl, Latn",
ancestors = "zle-mbe",
translit = {
Cyrl = "be-translit",
},
strip_diacritics = {
Cyrl = {
remove_diacritics = c.grave .. c.acute,
},
Latn = {
remove_diacritics = c.grave .. c.acute,
remove_exceptions = {"Ć", "ć", "Ń", "ń", "Ś", "ś", "Ź", "ź"},
},
},
sort_key = {
Cyrl = {
remove_diacritics = c.grave .. c.acute,
from = {"ґ", "ё", "і", "ў"},
to = {"г" .. p[1], "е" .. p[1], "и" .. p[1], "у" .. p[1]}
},
Latn = {
remove_diacritics = c.grave .. c.acute,
remove_exceptions = {"Ć", "ć", "Ń", "ń", "Ś", "ś", "Ź", "ź"},
from = {"ć", "č", "dz", "dź", "dž", "ch", "ł", "ń", "ś", "š", "ŭ", "ź", "ž"},
to = {"c" .. p[1], "c" .. p[2], "d" .. p[1], "d" .. p[2], "d" .. p[3], "h" .. p[1], "l" .. p[1], "n" .. p[1], "s" .. p[1], "s" .. p[2], "u" .. p[1], "z" .. p[1], "z" .. p[2]}
},
},
standard_chars = {
Cyrl = "АаБбВвГгДдЕеЁёЖжЗзІіЙйКкЛлМмНнОоПпРрСсТтУуЎўФфХхЦцЧчШшЫыЬьЭэЮюЯя",
Latn = "AaBbCcĆćČčDdEeFfGgHhIiJjKkLlŁłMmNnŃńOoPpRrSsŚśŠšTtUuŬŭVvYyZzŹźŽž",
(c.punc:gsub("'", "")) -- Exclude apostrophe.
},
english_name = "Belarusian", --TLCHANGE
spanish_name = "Bielorruso", --TLCHANGE
}
m["bg"] = {
"Bulgaro", --TLCHANGE
7918,
"zls",
"Cyrl",
ancestors = "cu-bgm",
translit = "bg-translit",
strip_diacritics = {
remove_diacritics = c.grave .. c.acute,
remove_exceptions = {"%f[^%z%s]ѝ%f[%z%s]"},
},
sort_key = {
remove_diacritics = c.grave .. c.acute,
remove_exceptions = {"%f[^%z%s]ѝ%f[%z%s]"},
},
standard_chars = "АаБбВвГгДдЕеЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЬьЮюЯя" .. c.punc,
english_name = "Bulgarian", --TLCHANGE
spanish_name = "Búlgaro", --TLCHANGE
}
m["bh"] = {
"Bihari", --TLCHANGE
135305,
"inc-eas",
"Deva",
english_name = "Bihari", --TLCHANGE
spanish_name = "Bihari", --TLCHANGE
}
m["bi"] = {
"Bislama",
35452,
"crp",
"Latn",
ancestors = "en",
english_name = "Bislama", --TLCHANGE
}
m["bm"] = {
"Bambara",
33243,
"dmn-emn",
"Latn, Nkoo",
sort_key = {
Latn = {
from = {"ɛ", "ɲ", "ŋ", "ɔ"},
to = {"e" .. p[1], "n" .. p[1], "n" .. p[2], "o" .. p[1]}
},
},
english_name = "Bambara", --TLCHANGE
}
m["bn"] = {
"Benggali", --TLCHANGE
9610,
"inc-bas",
"Beng, Newa",
ancestors = "inc-mbn",
translit = {
Beng = "bn-translit"
},
english_name = "Bengali", --TLCHANGE
spanish_name = "Bengalí", --TLCHANGE
}
m["bo"] = {
"Tibetano", --TLCHANGE
34271,
"sit-tib",
"Tibt", -- sometimes Deva?
ancestors = "xct",
override_translit = true,
-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Tibetan", --TLCHANGE
spanish_name = "Tibetano", --TLCHANGE
}
m["br"] = {
"Breton",
12107,
"cel-brs",
"Latn",
ancestors = "xbm",
sort_key = {
from = {"ch", "c['ʼ’]h"},
to = {"c" .. p[1], "c" .. p[2]}
},
english_name = "Breton", --TLCHANGE
}
m["ca"] = {
"Katalan", --TLCHANGE
7026,
"roa-ocr",
"Latn",
ancestors = "roa-oca",
sort_key = {remove_diacritics = c.grave .. c.acute .. c.diaer .. c.cedilla .. "·"},
standard_chars = "AaÀàBbCcÇçDdEeÉéÈèFfGgHhIiÍíÏïJjLlMmNnOoÓóÒòPpQqRrSsTtUuÚúÜüVvXxYyZz·" .. c.punc,
english_name = "Catalan", --TLCHANGE
spanish_name = "Catalán", --TLCHANGE
}
m["ce"] = {
"Tsetseno", --TLCHANGE
33350,
"cau-vay",
"Cyrl, Latn, Arab",
translit = {
Cyrl = "cau-nec-translit",
Arab = "ar-translit",
},
override_translit = true,
display_text = {
Cyrl = s["cau-Cyrl-displaytext"]
},
strip_diacritics = {
Cyrl = s["cau-Cyrl-stripdiacritics"],
Latn = s["cau-Latn-stripdiacritics"],
},
sort_key = {
Cyrl = {
from = {"аь", "гӏ", "ё", "кх", "къ", "кӏ", "оь", "пӏ", "тӏ", "уь", "хь", "хӏ", "цӏ", "чӏ", "юь", "яь"},
to = {"а" .. p[1], "г" .. p[1], "е" .. p[1], "к" .. p[1], "к" .. p[2], "к" .. p[3], "о" .. p[1], "п" .. p[1], "т" .. p[1], "у" .. p[1], "х" .. p[1], "х" .. p[2], "ц" .. p[1], "ч" .. p[1], "ю" .. p[1], "я" .. p[1]}
},
},
english_name = "Chechen", --TLCHANGE
spanish_name = "Checheno", --TLCHANGE
}
m["ch"] = {
"Tsamoro", --TLCHANGE
33262,
"poz",
"Latn",
sort_key = {
remove_diacritics = "'",
from = {"å", "ch", "ñ", "ng"},
to = {"a" .. p[1], "c" .. p[1], "n" .. p[1], "n" .. p[2]}
},
english_name = "Chamorro", --TLCHANGE
spanish_name = "Chamorro", --TLCHANGE
}
m["co"] = {
"Korso", --TLCHANGE
33111,
"roa-itr",
"Latn",
sort_key = {
from = {"chj", "ghj", "sc", "sg"},
to = {"c" .. p[1], "g" .. p[1], "s" .. p[1], "s" .. p[2]}
},
standard_chars = "AaÀàBbCcDdEeÈèFfGgHhIiÌìÏïJjLlMmNnOoÒòPpQqRrSsTtUuÙùÜüVvZz" .. c.punc,
english_name = "Corsican", --TLCHANGE
spanish_name = "Corso" --TLCHANGE
}
m["cr"] = {
"Kri", --TLCHANGE
33390,
"alg",
"Latn, Cans",
translit = {
Cans = "cr-translit"
},
english_name = "Cree", --TLCHANGE
spanish_name = "Cree", --TLCHANGE
}
m["cs"] = {
"Tseko", --TLCHANGE
9056,
"zlw",
"Latn",
ancestors = "cs-ear",
sort_key = {
from = {"á", "č", "ď", "é", "ě", "ch", "í", "ň", "ó", "ř", "š", "ť", "ú", "ů", "ý", "ž"},
to = {"a" .. p[1], "c" .. p[1], "d" .. p[1], "e" .. p[1], "e" .. p[2], "h" .. p[1], "i" .. p[1], "n" .. p[1], "o" .. p[1], "r" .. p[1], "s" .. p[1], "t" .. p[1], "u" .. p[1], "u" .. p[2], "y" .. p[1], "z" .. p[1]}
},
standard_chars = "AaÁáBbCcČčDdĎďEeÉéĚěFfGgHhIiÍíJjKkLlMmNnŇňOoÓóPpRrŘřSsŠšTtŤťUuÚúŮůVvYyÝýZzŽž" .. c.punc,
english_name = "Czech", --TLCHANGE
spanish_name = "Checo", --TLCHANGE
}
m["cu"] = {
"Lumang Simbahang Eslavo", --TLCHANGE
35499,
"zls",
"Cyrs, Glag, Zname",
translit = {
Cyrs = "Cyrs-translit",
Glag = "Glag-translit"
},
-- Cyrs strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Old Church Slavonic", --TLCHANGE
spanish_name = "Antiguo eslavo eclesiástico" --TLCHANGE
}
m["cv"] = {
"Tsuvasyo", --TLCHANGE
33348,
"trk-ogr",
"Cyrl",
ancestors = "cv-mid",
translit = "cv-translit",
override_translit = true,
sort_key = {
from = {"ӑ", "ё", "ӗ", "ҫ", "ӳ"},
to = {"а" .. p[1], "е" .. p[1], "е" .. p[2], "с" .. p[1], "у" .. p[1]}
},
english_name = "Chuvash", --TLCHANGE
spanish_name = "Chuvasio", --TLCHANGE
}
m["cy"] = {
"Gales", --TLCHANGE
9309,
"cel-brw",
"Latn",
ancestors = "wlm",
sort_key = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer .. "'",
from = {"ch", "dd", "ff", "ng", "ll", "ph", "rh", "th"},
to = {"c" .. p[1], "d" .. p[1], "f" .. p[1], "g" .. p[1], "l" .. p[1], "p" .. p[1], "r" .. p[1], "t" .. p[1]}
},
standard_chars = "ÂâAaBbCcDdEeÊêFfGgHhIiÎîLlMmNnOoÔôPpRrSsTtUuÛûWwŴŵYyŶŷ" .. c.punc,
english_name = "Welsh", --TLCHANGE
spanish_name = "Galés", --TLCHANGE
}
m["da"] = {
"Danes", --TLCHANGE
9035,
"gmq-eas",
"Latn",
ancestors = "gmq-oda",
sort_key = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron .. c.dacute .. c.caron .. c.cedilla,
remove_exceptions = {"å"},
from = {"æ", "ø", "å"},
to = {"z" .. p[1], "z" .. p[2], "z" .. p[3]}
},
standard_chars = "AaBbDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsTtUuVvYyÆæØøÅå" .. c.punc,
english_name = "Danish", --TLCHANGE
spanish_name = "Danés", --TLCHANGE
}
m["de"] = {
"Aleman", --TLCHANGE
188,
"gmw-hgm",
"Latn, Latf, Brai",
ancestors = "de-ear",
sort_key = {
Latn = s["de-Latn-sortkey"],
Latf = s["de-Latn-sortkey"],
},
standard_chars = {
Latn = s["de-Latn-standardchars"],
Latf = s["de-Latn-standardchars"],
Brai = c.braille,
c.punc
},
is_official_kwf_name = "https://kwfdiksiyonaryo.ph/?query=Alem%C3%A1n", --TLCHANGE (Spanish first before English)
english_name = "German", --TLCHANGE
spanish_name = "Alemán", --TLCHANGE
}
m["dv"] = {
"Divehi", --TLCHANGE
32656,
"inc-ins",
"Thaa, Diak",
translit = {
Thaa = "dv-translit",
Diak = "Diak-translit",
},
override_translit = true,
english_name = "Dhivehi", --TLCHANGE
spanish_name = "Divehi", --TLCHANGE
}
m["dz"] = {
"Dzongkha",
33081,
"sit-tib",
"Tibt",
ancestors = "xct",
override_translit = true,
-- Tibt translit, display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Dzongkha", --TLCHANGE
}
m["ee"] = {
"Ewe",
30005,
"alv-gbe",
"Latn",
sort_key = {
remove_diacritics = c.tilde,
from = {"ɖ", "dz", "ɛ", "ƒ", "gb", "ɣ", "kp", "ny", "ŋ", "ɔ", "ts", "ʋ"},
to = {"d" .. p[1], "d" .. p[2], "e" .. p[1], "f" .. p[1], "g" .. p[1], "g" .. p[2], "k" .. p[1], "n" .. p[1], "n" .. p[2], "o" .. p[1], "t" .. p[1], "v" .. p[1]}
},
english_name = "Ewe", --TLCHANGE
}
m["el"] = {
"Griyego", --from Spanish "griego"
9129,
"grk",
"Grek, Polyt, Brai",
ancestors = "el-kth",
translit = "el-translit",
override_translit = true,
-- Grek and Polyt display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
standard_chars = {
Grek = "΅·ͺ΄ΑαΆάΒβΓγΔδΕεέΈΖζΗηΉήΘθΙιΊίΪϊΐΚκΛλΜμΝνΞξΟοΌόΠπΡρΣσςΤτΥυΎύΫϋΰΦφΧχΨψΩωΏώ",
Brai = c.braille,
c.punc
},
is_official_kwf_name = "https://kwfdiksiyonaryo.ph/?query=Griy%C3%A9go", --TLCHANGE (Spanish first before English)
english_name = "Greek", --TLCHANGE
spanish_name = "Griego", --TLCHANGE
}
m["en"] = {
"Ingles", --from Spanish "inglés"
1860,
"gmw-ang",
"Latn, Brai, Shaw, Dsrt", -- entries in Shaw or Dsrt might require prior discussion
wikimedia_codes = "en, simple",
ancestors = "en-ear",
sort_key = {
Latn = {
-- Many of these are needed for sorting language names.
remove_diacritics = "'\"%-%.,%s·ʻʼ" .. c.diacritics,
-- These are found in pagenames.
from = {"[ɒæ🅱¢©ᴄðđəǝɜɡħʜıɨłŋɲøɔœꝑꝓꝕßʋ]"},
to = {{
["ɒ"] = "a", ["æ"] = "ae", ["🅱"] = "b", ["¢"] = "c", ["©"] = "c",
["ᴄ"] = "c", ["ð"] = "d", ["đ"] = "d", ["ə"] = "e", ["ǝ"] = "e",
["ɜ"] = "e", ["ɡ"] = "g", ["ħ"] = "h", ["ʜ"] = "h", ["ı"] = "i",
["ɨ"] = "i", ["ł"] = "l", ["ŋ"] = "n", ["ɲ"] = "n", ["ø"] = "o",
["ɔ"] = "o", ["œ"] = "oe", ["ꝑ"] = "p", ["ꝓ"] = "p", ["ꝕ"] = "p",
["ß"] = "ss", ["ʋ"] = "v",
}},
},
},
standard_chars = {
Latn = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz",
Brai = c.braille,
c.punc
},
is_official_kwf_name = "https://kwf.gov.ph/wp-content/uploads/MMP_Full.pdf#page=20", --TLCHANGE
english_name = "English", --TLCHANGE
spanish_name = "Inglés", --TLCHANGE
}
m["eo"] = {
"Esperanto",
143,
"art",
"Latn",
sort_key = {
remove_diacritics = c.grave .. c.acute,
from = {"ĉ", "ĝ", "ĥ", "ĵ", "ŝ", "ŭ"},
to = {"c" .. p[1], "g" .. p[1], "h" .. p[1], "j" .. p[1], "s" .. p[1], "u" .. p[1]}
},
standard_chars = "AaBbCcĈĉDdEeFfGgĜĝHhĤĥIiJjĴĵKkLlMmNnOoPpRrSsŜŝTtUuŬŭVvZz" .. c.punc,
english_name = "Esperanto", --TLCHANGE
}
m["es"] = {
"Espanyol", --TLCHANGE this is confusing, KWF has "Espanyol", "Kastila", and "Español" as all translations of Spanish
1321,
"roa-cas",
"Latn, Brai",
ancestors = "es-ear",
sort_key = {
Latn = {
remove_exceptions = {"ñ"},
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron .. c.diaer .. c.cedilla,
from = {"ª", "æ", "ñ", "º", "œ"},
to = {"a", "ae", "n" .. p[1], "o", "oe"}
},
},
standard_chars = {
Latn = "AaÁáBbCcDdEeÉéFfGgHhIiÍíJjLlMmNnÑñOoÓóPpQqRrSsTtUuÚúÜüVvXxYyZz",
Brai = c.braille,
c.punc
},
is_official_kwf_name = "https://kwf.gov.ph/wp-content/uploads/MMP_Full.pdf#page=12", --TLCHANGE
english_name = "Spanish", --TLCHANGE
spanish_name = "Español", --TLCHANGE
}
m["et"] = {
"Estonyo", --TLCHANGE from Spanish "estonio"
9072,
"urj-fin",
"Latn",
sort_key = {
from = {
"š", "ž", "õ", "ä", "ö", "ü", -- 2 chars
"z" -- 1 char
},
to = {
"s" .. p[1], "s" .. p[3], "w" .. p[1], "w" .. p[2], "w" .. p[3], "w" .. p[4],
"s" .. p[2]
}
},
standard_chars = "AaBbDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsTtUuVvÕõÄäÖöÜü" .. c.punc,
english_name = "Estonian", --TLCHANGE
spanish_name = "Estonio", --TLCHANGE
}
m["eu"] = {
"Euskera", --from Spanish "Euskera"
8752,
"euq",
"Latn",
sort_key = {
from = {"ç", "ñ"},
to = {"c" .. p[1], "n" .. p[1]}
},
standard_chars = "AaBbDdEeFfGgHhIiJjKkLlMmNnÑñOoPpRrSsTtUuXxZz" .. c.punc,
english_name = "Basque", --TLCHANGE
spanish_name = "Euskera", --TLCHANGE
}
m["fa"] = {
"Persa", --TLCHANGE from Spanish "persa"
9168,
"ira-swi",
"fa-Arab, Hebr",
ancestors = "fa-cls",
strip_diacritics = {
["fa-Arab"] = {
-- character "ۂ" code U+06C2 to "ه" and "هٔ" (U+0647 + U+0654) to "ه"; hamzatu l-waṣli to a regular alif
from = {"هٔ", "ٱ"}, -- character "ۂ" code U+06C2 to "ه"; hamzatu l-waṣli to a regular alif
to = {"ه", "ا"},
remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.superalef,
},
},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Persian", --TLCHANGE
spanish_name = "Persa", --TLCHANGE
}
m["ff"] = {
"Fula",
33454,
"alv-fwo",
"Latn, Adlm",
english_name = "Fula", --TLCHANGE
}
m["fi"] = {
"Fines", --TLCHANGE from Spanish "finés"
1412,
"urj-fin",
"Latn",
display_text = {
from = {"'"},
to = {"’"}
},
strip_diacritics = { -- used to indicate gemination of the next consonant
remove_diacritics = "ˣ",
from = {"’"},
to = {"'"},
},
sort_key = { -- [[Appendix:Finnish alphabet#Collation]] + "aͤ" and "oͤ" as historical variants of "ä" and "ö".
remove_diacritics = "'’:" .. c.diacritics,
remove_exceptions = {
"a[" .. c.ringabove .. c.diaer .. c.small_e .. "]", -- åäaͤ
"o[" .. c.diaer .. c.tilde .. c.dacute .. c.small_e .. "]", -- öõőoͤ
"u[" .. c.diaer .. c.dacute .. "]" -- üű
},
from = {"æ", "[ðđ]", "ł", "ŋ", "œ", "ß", "þ", "u[" .. c.diaer .. c.dacute .. "]", "å", "aͤ", "o[" .. c.tilde .. c.dacute .. c.small_e .. "]", "ø", "(.)['%-]"},
to = {"ae", "d", "l", "n", "oe", "ss", "th", "y", "z" .. p[1], "ä", "ö", "ö", "%1"}
},
standard_chars = "AaBbDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsTtUuVvYyÄäÖö" .. c.punc,
english_name = "Finnish", --TLCHANGE
spanish_name = "Finés", --TLCHANGE
}
m["fj"] = {
"Fiyiyano", --TLCHANGE from Spanish "fiyiano"
33295,
"poz-pcc",
"Latn",
english_name = "Fijian", --TLCHANGE
spanish_name = "Fiyiano" --TLCHANGE
}
m["fo"] = {
"Feroes", --TLCHANGE from Spanish "feroés"
25258,
"gmq-ins",
"Latn",
sort_key = {
from = {"á", "ð", "í", "ó", "ú", "ý", "æ", "ø"},
to = {"a" .. p[1], "d" .. p[1], "i" .. p[1], "o" .. p[1], "u" .. p[1], "y" .. p[1], "z" .. p[1], "z" .. p[2]}
},
standard_chars = "AaÁáBbDdÐðEeFfGgHhIiÍíJjKkLlMmNnOoÓóPpRrSsTtUuÚúVvYyÝýÆæØø" .. c.punc,
english_name = "Faroese", --TLCHANGE
spanish_name = "Feroés", --TLCHANGE
}
m["fr"] = {
"Franses", --from Spanish "francés"
150,
"roa-oil",
"Latn, Brai",
ancestors = "frm",
sort_key = {
Latn = s["roa-oil-sortkey"]
},
standardChars = {
Latn = "AaÀàÂâBbCcÇçDdEeÉéÈèÊêËëFfGgHhIiÎîÏïJjLlMmNnOoÔôŒœPpQqRrSsTtUuÙùÛûÜüVvXxYyZz",
Brai = c.braille,
c.punc
},
english_name = "French", --TLCHANGE
spanish_name = "Francés", --TLCHANGE
}
m["fy"] = {
"Kanlurang Frison",--TLCHANGE from Spanish "frisón occidental"
27175,
"gmw-fri",
"Latn",
sort_key = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer,
from = {"y"},
to = {"i"}
},
standard_chars = "AaâäàÆæBbCcDdEeéêëèFfGgHhIiïìYyỳJjKkLlMmNnOoôöòPpRrSsTtUuúûüùVvWwZz" .. c.punc,
english_name = "West Frisian", --TLCHANGE
spanish_name = "Frisón occidental", --TLCHANGE
}
m["ga"] = {
"Irlandes", --from Spanish "irlandés"
9142,
"cel-gae",
"Latn, Latg",
ancestors = "mga",
sort_key = {
remove_diacritics = c.acute,
from = {"ḃ", "ċ", "ḋ", "ḟ", "ġ", "ṁ", "ṗ", "ṡ", "ṫ"},
to = {"bh", "ch", "dh", "fh", "gh", "mh", "ph", "sh", "th"}
},
standard_chars = "AaÁáBbCcDdEeÉéFfGgHhIiÍíLlMmNnOoÓóPpRrSsTtUuÚúVv" .. c.punc,
english_name = "Irish", --TLCHANGE
spanish_name = "Irlandés", --TLCHANGE
}
m["gd"] = {
"Gaeliko Eskoses", --TLCHANGE from Spanish "Gaélico escocés"
9314,
"cel-gae",
"Latn, Latg",
ancestors = "mga",
sort_key = {remove_diacritics = c.grave .. c.acute},
standard_chars = "AaÀàBbCcDdEeÈèFfGgHhIiÌìLlMmNnOoÒòPpRrSsTtUuÙù" .. c.punc,
english_name = "Scottish Gaelic", --TLCHANGE
spanish_name = "Gaélico escocés", --TLCHANGE
}
m["gl"] = {
"Galyego", --from Spanish "gallego"
9307,
"roa-gap",
"Latn",
sort_key = {
remove_diacritics = c.acute,
from = {"ñ"},
to = {"n" .. p[1]}
},
standard_chars = "AaÁáBbCcDdEeÉéFfGgHhIiÍíÏïLlMmNnÑñOoÓóPpQqRrSsTtUuÚúÜüVvXxZz" .. c.punc,
english_name = "Galician", --TLCHANGE
spanish_name = "Gallego", --TLCHANGE
}
m["gu"] = {
"Guyarati", --TLCHANGE from Spanish "guyaratí"
5137,
"inc-wes",
"Arab, Gujr",
ancestors = "inc-mgu",
translit = {
Gujr = "gu-translit",
},
strip_diacritics = {
Arab = {remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.kasra .. c.shadda .. c.sukun},
Gujr = {remove_diacritics = "઼"},
},
english_name = "Gujarati", --TLCHANGE
spanish_name = "Guyaratí", --TLCHANGE
}
m["gv"] = {
"Manes", --TLCHANGE from Spanish "manés"
12175,
"cel-gae",
"Latn",
ancestors = "mga",
sort_key = {remove_diacritics = c.cedilla .. "-"},
standard_chars = "AaBbCcÇçDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwYy" .. c.punc,
english_name = "Manx", --TLCHANGE
spanish_name = "Manés", --TLCHANGE
}
m["ha"] = {
"Hausa",
56475,
"cdc-wst",
"Latn, Arab",
strip_diacritics = {
Latn = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron}
},
sort_key = {
Latn = {
from = {"ɓ", "b'", "ɗ", "d'", "ƙ", "k'", "sh", "ƴ", "'y"},
to = {"b" .. p[1], "b" .. p[2], "d" .. p[1], "d" .. p[2], "k" .. p[1], "k" .. p[2], "s" .. p[1], "y" .. p[1], "y" .. p[2]}
},
},
english_name = "Hausa", --TLCHANGE
}
m["he"] = {
"Ebreo", --from Spanish "hebreo"
9288,
"sem-can",
"Hebr, Phnx, Brai, Samr",
ancestors = "he-med",
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
-- Samr strip_diacritics, sort_key in [[Module:scripts/data]]
-- Phnx translit in [[Module:scripts/data]] (NOTE: not present before, presumably an accidental omission)
english_name = "Hebrew", --TLCHANGE
spanish_name = "Hebreo", --TLCHANGE
}
m["hi"] = {
"Hindi",
1568,
"inc-hnd",
"Deva, Kthi, Newa",
translit = {
Deva = "hi-translit"
},
standard_chars = {
Deva = "अआइईउऊएऐओऔकखगघङचछजझञटठडढणतथदधनपफबभमयरलवशषसहत्रज्ञक्षक़ख़ग़ज़झ़ड़ढ़फ़काखागाघाङाचाछाजाझाञाटाठाडाढाणाताथादाधानापाफाबाभामायारालावाशाषासाहात्राज्ञाक्षाक़ाख़ाग़ाज़ाझ़ाड़ाढ़ाफ़ाकिखिगिघिङिचिछिजिझिञिटिठिडिढिणितिथिदिधिनिपिफिबिभिमियिरिलिविशिषिसिहित्रिज्ञिक्षिक़िख़िग़िज़िझ़िड़िढ़िफ़िकीखीगीघीङीचीछीजीझीञीटीठीडीढीणीतीथीदीधीनीपीफीबीभीमीयीरीलीवीशीषीसीहीत्रीज्ञीक्षीक़ीख़ीग़ीज़ीझ़ीड़ीढ़ीफ़ीकुखुगुघुङुचुछुजुझुञुटुठुडुढुणुतुथुदुधुनुपुफुबुभुमुयुरुलुवुशुषुसुहुत्रुज्ञुक्षुक़ुख़ुग़ुज़ुझ़ुड़ुढ़ुफ़ुकूखूगूघूङूचूछूजूझूञूटूठूडूढूणूतूथूदूधूनूपूफूबूभूमूयूरूलूवूशूषूसूहूत्रूज्ञूक्षूक़ूख़ूग़ूज़ूझ़ूड़ूढ़ूफ़ूकेखेगेघेङेचेछेजेझेञेटेठेडेढेणेतेथेदेधेनेपेफेबेभेमेयेरेलेवेशेषेसेहेत्रेज्ञेक्षेक़ेख़ेग़ेज़ेझ़ेड़ेढ़ेफ़ेकैखैगैघैङैचैछैजैझैञैटैठैडैढैणैतैथैदैधैनैपैफैबैभैमैयैरैलैवैशैषैसैहैत्रैज्ञैक्षैक़ैख़ैग़ैज़ैझ़ैड़ैढ़ैफ़ैकोखोगोघोङोचोछोजोझोञोटोठोडोढोणोतोथोदोधोनोपोफोबोभोमोयोरोलोवोशोषोसोहोत्रोज्ञोक्षोक़ोख़ोग़ोज़ोझ़ोड़ोढ़ोफ़ोकौखौगौघौङौचौछौजौझौञौटौठौडौढौणौतौथौदौधौनौपौफौबौभौमौयौरौलौवौशौषौसौहौत्रौज्ञौक्षौक़ौख़ौग़ौज़ौझ़ौड़ौढ़ौफ़ौक्ख्ग्घ्ङ्च्छ्ज्झ्ञ्ट्ठ्ड्ढ्ण्त्थ्द्ध्न्प्फ्ब्भ्म्य्र्ल्व्श्ष्स्ह्त्र्ज्ञ्क्ष्क़्ख़्ग़्ज़्झ़्ड़्ढ़्फ़्।॥०१२३४५६७८९॰",
c.punc
},
english_name = "Hindi", --TLCHANGE
}
m["ho"] = {
"Hiri Motu",
33617,
"crp",
"Latn",
ancestors = "meu",
english_name = "Hiri Motu", --TLCHANGE
}
m["ht"] = {
"Kriyolyo Aityano", --from Spanish "Criollo haitiano"
33491,
"crp",
"Latn",
ancestors = "ht-sdm",
sort_key = {
from = {
"oun", -- 3 chars
"an", "ch", "è", "en", "ng", "ò", "on", "ou", "ui" -- 2 chars
},
to = {
"o" .. p[4],
"a" .. p[1], "c" .. p[1], "e" .. p[1], "e" .. p[2], "n" .. p[1], "o" .. p[1], "o" .. p[2], "o" .. p[3], "u" .. p[1]
}
},
english_name = "Haitian Creole", --TLCHANGE
spanish_name = "Criollo haitiano", --TLCHANGE
}
m["hu"] = {
"Unggaro", --from Spanish "húngaro"
9067,
"urj-ugr",
"Latn, Hung",
ancestors = "ohu",
sort_key = {
Latn = {
from = {
"dzs", -- 3 chars
"á", "cs", "dz", "é", "gy", "í", "ly", "ny", "ó", "ö", "ő", "sz", "ty", "ú", "ü", "ű", "zs", -- 2 chars
},
to = {
"d" .. p[2],
"a" .. p[1], "c" .. p[1], "d" .. p[1], "e" .. p[1], "g" .. p[1], "i" .. p[1], "l" .. p[1], "n" .. p[1], "o" .. p[1], "o" .. p[2], "o" .. p[3], "s" .. p[1], "t" .. p[1], "u" .. p[1], "u" .. p[2], "u" .. p[3], "z" .. p[1],
}
},
},
standard_chars = {
Latn = "AaÁáBbCcDdEeÉéFfGgHhIiÍíJjKkLlMmNnOoÓóÖöŐőPpQqRrSsTtUuÚúÜüŰűVvWwXxYyZz",
c.punc
},
english_name = "Hungarian", --TLCHANGE
spanish_name = "Húngaro", --TLCHANGE
}
m["hy"] = {
"Armenyo", --from Spanish "armenio"
8785,
"hyx",
"Armn, Brai",
ancestors = "axm",
-- Armn translit in [[Module:scripts/data]]
override_translit = true,
strip_diacritics = {
Armn = {
remove_diacritics = "՛՜՞՟",
from = {"եւ", "<sup>յ</sup>", "<sup>ի</sup>", "<sup>է</sup>", "յ̵", "ՙ", "՚"},
to = {"և", "յ", "ի", "է", "ֈ", "ʻ", "’"}
},
},
sort_key = {
Armn = {
from = {
"ու", "եւ", -- 2 chars
"և" -- 1 char
},
to = {
"ւ", "եվ",
"եվ"
}
},
},
english_name = "Armenian", --TLCHANGE
spanish_name = "Armenio", --TLCHANGE
}
m["hz"] = {
"Herero",
33315,
"bnt-swb",
"Latn",
english_name = "Herero", --TLCHANGE
}
m["ia"] = {
"Interlingguwa", --TLCHANGE
35934,
"art",
"Latn",
english_name = "Interlingua", --TLCHANGE
spanish_name = "Interlingua", --TLCHANGE
}
m["id"] = {
"Indonesyo", --TLCHANGE
9240,
"poz-mly",
"Latn",
ancestors = "ms",
standard_chars = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" .. c.punc,
english_name = "Indonesian", --TLCHANGE
spanish_name = "Indonesio", --TLCHANGE
}
m["ie"] = {
"Interlingguwe", --TLCHANGE
35850,
"art",
"Latn",
type = "appendix-constructed",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ},
english_name = "Interlingue", --TLCHANGE
}
m["ig"] = {
"Igbo",
33578,
"alv-igb",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.macron},
sort_key = {
from = {"gb", "gh", "gw", "ị", "kp", "kw", "ṅ", "nw", "ny", "ọ", "sh", "ụ"},
to = {"g" .. p[1], "g" .. p[2], "g" .. p[3], "i" .. p[1], "k" .. p[1], "k" .. p[2], "n" .. p[1], "n" .. p[2], "n" .. p[3], "o" .. p[1], "s" .. p[1], "u" .. p[1]}
},
english_name = "Igbo", --TLCHANGE
}
m["ii"] = {
"Nuwosu", --TLCHANGE
34235,
"tbq-nlo",
"Yiii",
translit = "ii-translit",
english_name = "Nuosu", --TLCHANGE
}
m["ik"] = {
"Iñupyak", --TLCHANGE
27183,
"esx-inu",
"Latn",
sort_key = {
from = {
"ch", "ġ", "dj", "ḷ", "ł̣", "ñ", "ng", "r̂", "sr", "zr", -- 2 chars
"ł", "ŋ", "ʼ" -- 1 char
},
to = {
"c" .. p[1], "g" .. p[1], "h" .. p[1], "l" .. p[1], "l" .. p[3], "n" .. p[1], "n" .. p[2], "r" .. p[1], "s" .. p[1], "z" .. p[1],
"l" .. p[2], "n" .. p[2], "z" .. p[2]
}
},
english_name = "Inupiaq", --TLCHANGE
spanish_name = "Iñupiaq", --TLCHANGE
}
m["io"] = {
"Ido",
35224,
"art",
"Latn",
english_name = "Ido", --TLCHANGE
}
m["is"] = {
"Islandes", --TLCHANGE from Spanish "islandés"
294,
"gmq-ins",
"Latn",
sort_key = {
from = {"á", "ð", "é", "í", "ó", "ú", "ý", "þ", "æ", "ö"},
to = {"a" .. p[1], "d" .. p[1], "e" .. p[1], "i" .. p[1], "o" .. p[1], "u" .. p[1], "y" .. p[1], "z" .. p[1], "z" .. p[2], "z" .. p[3]}
},
standard_chars = "AaÁáBbDdÐðEeÉéFfGgHhIiÍíJjKkLlMmNnOoÓóPpRrSsTtUuÚúVvXxYyÝýÞþÆæÖö" .. c.punc,
english_name = "Icelandic", --TLCHANGE
spanish_name = "Islandés", --TLCHANGE
}
m["it"] = {
"Italyano", --from Spanish "italiano"
652,
"roa-itr",
"Latn",
ancestors = "roa-oit",
sort_key = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer .. c.ringabove},
standard_chars = "AaÀàBbCcDdEeÈèÉéFfGgHhIiÌìLlMmNnOoÒòPpQqRrSsTtUuÙùVvZz" .. c.punc,
english_name = "Italian", --TLCHANGE
spanish_name = "Italiano", --TLCHANGE
}
m["iu"] = {
"Inuktitut",
29921,
"esx-inu",
"Cans, Latn",
translit = {
Cans = "cr-translit"
},
override_translit = true,
english_name = "Inuktitut", --TLCHANGE
}
m["ja"] = {
"Hapones", --TLCHANGE
5287,
"jpx",
"Jpan, Latn, Brai",
ancestors = "ja-ear",
translit = s["jpx-translit"],
link_tr = true,
display_text = s["jpx-displaytext"],
strip_diacritics = s["jpx-stripdiacritics"],
sort_key = s["jpx-sortkey"],
is_official_kwf_name = "https://kwf.gov.ph/wp-content/uploads/MMP_Full.pdf#page=32", --TLCHANGE
english_name = "Japanese", --TLCHANGE
spanish_name = "Japonés", --TLCHANGE
}
m["jv"] = {
"Havanes", --TLCHANGE from Spanish "javanés"
33549,
"poz",
"Latn, Java, Arab",
ancestors = "kaw",
translit = {
Java = "jv-translit"
},
link_tr = true,
strip_diacritics = {
Latn = {remove_diacritics = c.circ} -- Modern jv don't use ê
},
sort_key = {
Latn = {
from = {"å", "dh", "é", "è", "ng", "ny", "th"},
to = {"a" .. p[1], "d" .. p[1], "e" .. p[1], "e" .. p[2], "n" .. p[1], "n" .. p[2], "t" .. p[1]}
},
},
english_name = "Javanese", --TLCHANGE
spanish_name = "Javanés", --TLCHANGE
}
m["ka"] = {
"Heorhiyano", --from Spanish "georgiano"
8108,
"ccs-gzn",
"Geor, Geok, Hebr", -- Hebr is used to write Judeo-Georgian
ancestors = "ka-mid",
-- Geor, Geok translit in [[Module:scripts/data]]
override_translit = true,
strip_diacritics = {
Geor = s["ka-stripdiacritics"],
Geok = s["ka-stripdiacritics"],
},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Georgian", --TLCHANGE
spanish_name = "Georgiano", --TLCHANGE
}
m["kg"] = {
"Konggo", --TLCHANGE
33702,
"bnt-kng",
"Latn",
english_name = "Kongo", --TLCHANGE
}
m["ki"] = {
"Kikuyu",
33587,
"bnt-kka",
"Latn",
english_name = "Kikuyu", --TLCHANGE
}
m["kj"] = {
"Kuwanyama", --TLCHANGE
1405077,
"bnt-ova",
"Latn",
english_name = "Kwanyama", --TLCHANGE
spanish_name = "Kuanyama", --TLCHANGE
}
m["kk"] = {
"Kazaho", --TLCHANGE from Spanish "kazajo"
9252,
"trk-kno",
"Cyrl, Latn, kk-Arab",
translit = {
Cyrl = {
from = {
"Ё", "ё", "Й", "й", "Нг", "нг", "Ӯ", "ӯ", -- 2 chars; are "Ӯ" and "ӯ" actually used?
"А", "а", "Ә", "ә", "Б", "б", "В", "в", "Г", "г", "Ғ", "ғ", "Д", "д", "Е", "е", "Ж", "ж", "З", "з", "И", "и", "К", "к", "Қ", "қ", "Л", "л", "М", "м", "Н", "н", "Ң", "ң", "О", "о", "Ө", "ө", "П", "п", "Р", "р", "С", "с", "Т", "т", "У", "у", "Ұ", "ұ", "Ү", "ү", "Ф", "ф", "Х", "х", "Һ", "һ", "Ц", "ц", "Ч", "ч", "Ш", "ш", "Щ", "щ", "Ъ", "ъ", "Ы", "ы", "І", "і", "Ь", "ь", "Э", "э", "Ю", "ю", "Я", "я", -- 1 char
},
to = {
"E", "e", "İ", "i", "Ñ", "ñ", "U", "u",
"A", "a", "Ä", "ä", "B", "b", "V", "v", "G", "g", "Ğ", "ğ", "D", "d", "E", "e", "J", "j", "Z", "z", "İ", "i", "K", "k", "Q", "q", "L", "l", "M", "m", "N", "n", "Ñ", "ñ", "O", "o", "Ö", "ö", "P", "p", "R", "r", "S", "s", "T", "t", "U", "u", "Ū", "ū", "Ü", "ü", "F", "f", "X", "x", "H", "h", "S", "s", "Ç", "ç", "Ş", "ş", "Ş", "ş", "", "", "Y", "y", "I", "ı", "", "", "É", "é", "Ü", "ü", "Ä", "ä",
}
}
},
-- override_translit = true,
sort_key = {
Cyrl = {
from = {"ә", "ғ", "ё", "қ", "ң", "ө", "ұ", "ү", "һ", "і"},
to = {"а" .. p[1], "г" .. p[1], "е" .. p[1], "к" .. p[1], "н" .. p[1], "о" .. p[1], "у" .. p[1], "у" .. p[2], "х" .. p[1], "ы" .. p[1]}
},
},
standard_chars = {
Cyrl = "АаӘәБбВвГгҒғДдЕеЁёЖжЗзИиЙйКкҚқЛлМмНнҢңОоӨөПпРрСсТтУуҰұҮүФфХхҺһЦцЧчШшЩщЪъЫыІіЬьЭэЮюЯя",
c.punc
},
english_name = "Kazakh", --TLCHANGE
spanish_name = "Kazajo", --TLCHANGE
}
m["kl"] = {
"Groenlandes", --TLCHANGE from Spanish "groenlandés"
25355,
"esx-inu",
"Latn",
sort_key = {
from = {"æ", "ø", "å"},
to = {"z" .. p[1], "z" .. p[2], "z" .. p[3]}
},
english_name = "Greenlandic", --TLCHANGE
spanish_name = "Groenlandés" --TLCHANGE
}
m["km"] = {
"Hemer", --TLCHANGE from Spanish "jemer"
9205,
"mkh-kmr",
"Khmr",
ancestors = "xhm",
translit = "km-translit",
english_name = "Khmer", --TLCHANGE
spanish_name = "Jemer", --TLCHANGE
}
m["kn"] = {
"Kanares", --TLCHANGE from Spanish "canarés"
33673,
"dra-kan",
"Knda, Tutg",
ancestors = "dra-mkn",
-- Knda translit in [[Module:scripts/data]]
english_name = "Kannada", --TLCHANGE
spanish_name = "Canarés", --TLCHANGE
}
m["ko"] = {
"Koreano", --TLCHANGE official from KWF
9176,
"qfa-kor",
"Kore, Brai",
ancestors = "ko-ear",
translit = {
Kore = "ko-translit",
},
-- Kore strip_diacritics in [[Module:scripts/data]]
is_official_kwf_name = "https://kwf.gov.ph/wp-content/uploads/MMP_Full.pdf#page=41", --TLCHANGE
english_name = "Korean", --TLCHANGE
spanish_name = "Coreano", --TLCHANGE
}
m["kr"] = {
"Kanuri",
36094,
"ssa-sah",
"Latn, Arab",
-- the sortkey and strip_diacritics are only for standard Kanuri; when dialectal entries get added, someone will have to work out how the dialects should be represented orthographically
strip_diacritics = {
Latn = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.breve}
},
sort_key = {
Latn = {
from = {"ǝ", "ny", "ɍ", "sh"},
to = {"e" .. p[1], "n" .. p[1], "r" .. p[1], "s" .. p[1]}
},
},
english_name = "Kanuri", --TLCHANGE
}
m["ks"] = {
"Katsemir", --TLCHANGE
33552,
"inc-kas",
"ks-Arab, Deva, Shrd, Latn",
translit = {
["ks-Arab"] = "ks-Arab-translit",
Deva = "ks-Deva-translit",
-- Shrd translit in [[Module:scripts/data]]
},
english_name = "Kashmiri", --TLCHANGE
spanish_name = "Cachemir", --TLCHANGE
}
-- "kv" IS TREATED AS "koi", "kpv", SEE WT:LT
m["kw"] = {
"Korniko", --TLCHANGE from Spanish "córnico"
25289,
"cel-brs",
"Latn",
ancestors = "cnx",
sort_key = {
from = {"ch"},
to = {"c" .. p[1]}
},
english_name = "Cornish", --TLCHANGE
spanish_name = "Córnico", --TLCHANGE
}
m["ky"] = {
"Kirgis", --from Spanish "kirguís"
9255,
"trk-kkp",
"Cyrl, Latn, Arab",
translit = {
Cyrl = "ky-translit"
},
override_translit = true,
sort_key = {
Cyrl = {
from = {"ё", "ң", "ө", "ү"},
to = {"е" .. p[1], "н" .. p[1], "о" .. p[1], "у" .. p[1]}
},
},
english_name = "Kyrgyz", --TLCHANGE
spanish_name = "Kirguís", --TLCHANGE
}
m["la"] = {
"Latin", -- official from KWF
397,
"itc-laf",
"Latn, Ital",
ancestors = "itc-ola",
-- Ital translit in [[Module:scripts/data]] (NOTE: formerly not present, probably an accidental omission)
display_text = {
Latn = s["itc-Latn-displaytext"]
},
strip_diacritics = {
Latn = s["itc-Latn-stripdiacritics"]
},
sort_key = {
Latn = s["itc-Latn-sortkey"]
},
standard_chars = {
Latn = "AaBbCcDdEeFfGgHhIiLlMmNnOoPpQqRrSsTtUuVvXx",
c.punc
},
is_official_kwf_name = "https://kwf.gov.ph/wp-content/uploads/MMP_Full.pdf#page=114", --TLCHANGE
english_name = "Latin", --TLCHANGE
spanish_name = "Latín", --TLCHANGE
}
m["lb"] = {
"Luksemburges", --TLCHANGE from Spanish "luxemburgués"
9051,
"gmw-hgm",
"Latn, Brai",
ancestors = "gmw-cfr",
sort_key = {
Latn = {
from = {"ä", "ë", "é"},
to = {"z" .. p[1], "z" .. p[2], "z" .. p[3]}
},
},
english_name = "Luxembourgish", --TLCHANGE
spanish_name = "Luxemburgués", --TLCHANGE
}
m["lg"] = {
"Luganda",
33368,
"bnt-nyg",
"Latn",
strip_diacritics = {remove_diacritics = c.acute .. c.circ},
sort_key = {
from = {"ŋ"},
to = {"n" .. p[1]}
},
english_name = "Luganda", --TLCHANGE
}
m["li"] = {
"Limburges", --from Spanish "limburgués"
102172,
"gmw-frk",
"Latn",
ancestors = "dum",
english_name = "Limburgish", --TLCHANGE
spanish_name = "Limburgués", --TLCHANGE
}
m["ln"] = {
"Linggala", --TLCHANGE
36217,
"bnt-bmo",
"Latn",
sort_key = {
remove_diacritics = c.acute .. c.circ .. c.caron,
from = {"ɛ", "gb", "mb", "mp", "nd", "ng", "nk", "ns", "nt", "ny", "nz", "ɔ"},
to = {"e" .. p[1], "g" .. p[1], "m" .. p[1], "m" .. p[2], "n" .. p[1], "n" .. p[2], "n" .. p[3], "n" .. p[4], "n" .. p[5], "n" .. p[6], "n" .. p[7], "o" .. p[1]}
},
english_name = "Lingala", --TLCHANGE
}
m["lo"] = {
"Lao", --TLCHANGE
9211,
"tai-swe",
"Laoo",
translit = "lo-translit",
sort_key = "Laoo-sortkey",
standard_chars = "0-9ກຂຄງຈຊຍດຕຖທນບປຜຝພຟມຢຣລວສຫອຮຯ-ໝ" .. c.punc,
english_name = "Lao", --TLCHANGE
}
m["lt"] = {
"Litwano", --from Spanish "lituano"
9083,
"bat-eas",
"Latn",
ancestors = "olt",
display_text = "lt-common",
strip_diacritics = "lt-common",
sort_key = "lt-common",
standard_chars = "AaĄąBbCcČčDdEeĘęĖėFfGgHhIiĮįYyJjKkLlMmNnOoPpRrSsŠšTtUuŲųŪūVvZzŽž" .. c.punc,
english_name = "Lithuanian", --TLCHANGE
spanish_name = "Lituano", --TLCHANGE
}
m["lu"] = {
"Luba-Katanga",
36157,
"bnt-lub",
"Latn",
english_name = "Luba-Katanga", --TLCHANGE
}
m["lv"] = {
"Leton", --from Spanish "letón"
9078,
"bat-eas",
"Latn",
strip_diacritics = {
-- This attempts to convert vowels with tone marks to vowels either with or without macrons. Specifically, there should be no macrons if the vowel is part of a diphthong (including resonant diphthongs such pìrksts -> pirksts not #pīrksts). What we do is first convert the vowel + tone mark to a vowel + tilde in a decomposed fashion, then remove the tilde in diphthongs, then convert the remaining vowel + tilde sequences to macroned vowels, then delete any other tilde. We leave already-macroned vowels alone: Both e.g. ar and ār occur before consonants. FIXME: This still might not be sufficient.
from = {"([Ee])" .. c.cedilla, "[" .. c.grave .. c.circ .. c.tilde .."]", "([aAeEiIoOuU])" .. c.tilde .."?([lrnmuiLRNMUI])" .. c.tilde .. "?([^aAeEiIoOuU])", "([aAeEiIoOuU])" .. c.tilde .."?([lrnmuiLRNMUI])" .. c.tilde .."?$", "([iI])" .. c.tilde .. "?([eE])" .. c.tilde .. "?", "([aAeEiIuU])" .. c.tilde, c.tilde},
to = {"%1", c.tilde, "%1%2%3", "%1%2", "%1%2", "%1" .. c.macron}
},
sort_key = {
from = {"ā", "č", "ē", "ģ", "ī", "ķ", "ļ", "ņ", "š", "ū", "ž"},
to = {"a" .. p[1], "c" .. p[1], "e" .. p[1], "g" .. p[1], "i" .. p[1], "k" .. p[1], "l" .. p[1], "n" .. p[1], "s" .. p[1], "u" .. p[1], "z" .. p[1]}
},
standard_chars = "AaĀāBbCcČčDdEeĒēFfGgĢģHhIiĪīJjKkĶķLlĻļMmNnŅņOoPpRrSsŠšTtUuŪūVvZzŽž" .. c.punc,
english_name = "Latvian", --TLCHANGE
spanish_name = "Letón", --TLCHANGE
}
m["mg"] = {
"Malgatse", --TLCHANGE from Spanish "malgache"
7930,
"poz-bre",
"Latn, Arab",
english_name = "Malagasy", --TLCHANGE
spanish_name = "Malgache", --TLCHANGE
}
m["mh"] = {
"Marshales", --from Spanish "marshalés"
36280,
"poz-mic",
"Latn",
sort_key = {
from = {"ā", "ļ", "m̧", "ņ", "n̄", "o̧", "ō", "ū"},
to = {"a" .. p[1], "l" .. p[1], "m" .. p[1], "n" .. p[1], "n" .. p[2], "o" .. p[1], "o" .. p[2], "u" .. p[1]}
},
english_name = "Marshallese", --TLCHANGE
spanish_name = "Marshalés", --TLCHANGE
}
m["mi"] = {
"Māori", --TLCHANGE
36451,
"poz-pep",
"Latn",
sort_key = {
remove_diacritics = c.macron,
from = {"ng", "wh"},
to = {"n" .. p[1], "w" .. p[1]}
},
english_name = "Māori", --TLCHANGE
}
m["mk"] = {
"Masedonyo", --from Spanish "macedonio"
9296,
"zls",
"Cyrl, Polyt",
ancestors = "cu",
translit = {
Cyrl = "mk-translit",
-- FIXME: formerly no translit specified for Polyt; unclear if the default [[Module:grc-translit]] is
-- acceptable, so we disable it for now
Polyt = false,
},
strip_diacritics = {
Cyrl = {
remove_diacritics = c.acute,
remove_exceptions = {"Ѓ", "ѓ", "Ќ", "ќ"}
},
},
sort_key = {
Cyrl = {
remove_diacritics = c.grave,
remove_exceptions = {"ѓ", "ќ"},
from = {"ѓ", "ѕ", "ј", "љ", "њ", "ќ", "џ"},
to = {"д" .. p[1], "з" .. p[1], "и" .. p[1], "л" .. p[1], "н" .. p[1], "т" .. p[1], "ч" .. p[1]}
},
},
-- Polyt display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
standard_chars = {
Cyrl = "АаБбВвГгДдЃѓЕеЖжЗзЅѕИиЈјКкЛлЉљМмНнЊњОоПпРрСсТтЌќУуФфХхЦцЧчЏџШш",
c.punc
},
english_name = "Macedonian", --TLCHANGE
spanish_name = "Macedonio" --TLCHANGE
}
m["ml"] = {
"Malayalam",
36236,
"dra-mal",
"Mlym",
override_translit = true,
-- Mlym translit in [[Module:scripts/data]]
english_name = "Malayalam", --TLCHANGE
}
m["mn"] = {
"Monggol", --from Spanish "mongol"
9246,
"xgn-cen",
"Cyrl, Mong, Latn, Brai",
ancestors = "cmg",
translit = {
Cyrl = "mn-translit",
-- Mong translit in [[Module:scripts/data]]
},
override_translit = true,
-- Mong display_text and strip_diacritics in [[Module:scripts/data]]
strip_diacritics = {
Cyrl = {remove_diacritics = c.grave .. c.acute},
},
sort_key = {
Cyrl = {
remove_diacritics = c.grave,
from = {"ё", "ө", "ү"},
to = {"е" .. p[1], "о" .. p[1], "у" .. p[1]}
},
},
standard_chars = {
Cyrl = "АаБбВвГгДдЕеЁёЖжЗзИиЙйЛлМмНнОоӨөРрСсТтУуҮүХхЦцЧчШшЫыЬьЭэЮюЯя—",
Brai = c.braille,
c.punc
},
english_name = "Mongolian", --TLCHANGE
spanish_name = "Mongol" --TLCHANGE
}
-- "mo" is treated as "ro", see [[WT:LT]]
m["mr"] = {
"Marati", --TLCHANGE
1571,
"inc-sou",
"Deva, Modi",
ancestors = "omr",
translit = {
Deva = "mr-translit",
Modi = "mr-Modi-translit",
},
strip_diacritics = {
Deva = {
from = {"च़", "ज़", "झ़"},
to = {"च", "ज", "झ"}
},
},
english_name = "Marathi", --TLCHANGE
spanish_name = "Maratí", --TLCHANGE
}
m["ms"] = {
"Malayo", --TLCHANGE
9237,
"poz-mly",
"Latn, ms-Arab",
ancestors = "ms-cla",
standard_chars = {
Latn = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz",
c.punc
},
english_name = "Malay", --TLCHANGE
spanish_name = "Malayo", --TLCHANGE
}
m["mt"] = {
"Maltes", --from Spanish "maltés"
9166,
"sem-arb",
"Latn",
display_text = {
from = {"'"},
to = {"’"}
},
strip_diacritics = {
from = {"’"},
to = {"'"},
},
ancestors = "sqr",
sort_key = {
from = {
"ċ", "ġ", "ż", -- Convert into PUA so that decomposed form does not get caught by the next step.
"([cgz])", -- Ensure "c" comes after "ċ", "g" comes after "ġ" and "z" comes after "ż".
"g" .. p[1] .. "ħ", -- "għ" after initial conversion of "g".
p[3], p[4], "ħ", "ie", p[5] -- Convert "ċ", "ġ", "ħ", "ie", "ż" into final output.
},
to = {
p[3], p[4], p[5],
"%1" .. p[1],
"g" .. p[2],
"c", "g", "h" .. p[1], "i" .. p[1], "z"
}
},
english_name = "Maltese", --TLCHANGE
spanish_name = "Maltes", --TLCHANGE
}
m["my"] = {
"Birmano", --from Spanish "birmano"
9228,
"tbq-brm",
"Mymr",
ancestors = "obr",
translit = "my-translit",
override_translit = true,
sort_key = {
from = {"ျ", "ြ", "ွ", "ှ", "ဿ"},
to = {"္ယ", "္ရ", "္ဝ", "္ဟ", "သ္သ"}
},
english_name = "Burmese", --TLCHANGE
spanish_name = "Birmano" --TLCHANGE
}
m["na"] = {
"Naurwano", --TLCHANGE from Spanish "nauruano"
13307,
"poz-mic",
"Latn",
english_name = "Nauruan", --TLCHANGE
spanish_name = "Nauruano" --TLCHANGE
}
m["nb"] = {
"Norwego Bokmål", --TLCHANGE from Spanish "noruego"
25167,
"gmq",
"Latn",
wikimedia_codes = "no",
ancestors = "gmq-mno, da", -- da as an (but not the) ancestor of nb was agreed on - do not change without discussion
sort_key = s["no-sortkey"],
standard_chars = s["no-standardchars"],
english_name = "Norwegian Bokmål", --TLCHANGE
}
m["nd"] = {
"Hilagang Ndebele",
35613,
"bnt-ngu",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Northern Ndebele", --TLCHANGE
}
m["ne"] = {
"Nepali",
33823,
"inc-pah",
"Deva, Newa",
translit = {
Deva = "ne-translit"
},
english_name = "Nepali", --TLCHANGE
}
m["ng"] = {
"Endonga", --TLCHANGE
33900,
"bnt-ova",
"Latn",
english_name = "Ndonga", --TLCHANGE
}
m["nl"] = {
"Nerlandes", --TLCHANGE from Spanish "neerlandés"
7411,
"gmw-frk",
"Latn, Brai",
ancestors = "dum",
sort_key = {
Latn = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.diaer .. c.ringabove .. c.cedilla .. "'"},
},
standard_chars = {
Latn = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÄäËëÏïÖöÜü",
Brai = c.braille,
c.punc
},
english_name = "Dutch", --TLCHANGE
spanish_name = "Neerlandés" --TLCHANGE
}
m["nn"] = {
"Norwego Nynorsk", --TLCHANGE from Spanish "noruego"
25164,
"gmq-wes",
"Latn",
ancestors = "gmq-mno",
strip_diacritics = {
remove_diacritics = c.grave .. c.acute,
},
sort_key = s["no-sortkey"],
standard_chars = s["no-standardchars"],
english_name = "Norwegian Nynorsk", --TLCHANGE
}
m["no"] = {
"Norwego", --from Spanish "noruego"
9043,
"gmq-wes",
"Latn",
ancestors = "gmq-mno",
sort_key = s["no-sortkey"],
standard_chars = s["no-standardchars"],
english_name = "Norwegian", --TLCHANGE
spanish_name = "Noruego" --TLCHANGE
}
m["nr"] = {
"Katimugang Ndebele", --TLCHANGE
36785,
"bnt-ngu",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Southern Ndebele", --TLCHANGE
}
m["nv"] = {
"Navaho", --TLCHANGE
13310,
"apa",
"Latn, Brai",
sort_key = {
remove_diacritics = c.acute .. c.ogonek,
from = {
"chʼ", "tłʼ", "tsʼ", -- 3 chars
"ch", "dl", "dz", "gh", "hw", "kʼ", "kw", "sh", "tł", "ts", "zh", -- 2 chars
"ł", "ʼ" -- 1 char
},
to = {
"c" .. p[2], "t" .. p[2], "t" .. p[4],
"c" .. p[1], "d" .. p[1], "d" .. p[2], "g" .. p[1], "h" .. p[1], "k" .. p[1], "k" .. p[2], "s" .. p[1], "t" .. p[1], "t" .. p[3], "z" .. p[1],
"l" .. p[1], "z" .. p[2]
}
},
english_name = "Navajo", --TLCHANGE
spanish_name = "Navajo", --TLCHANGE
}
m["ny"] = {
"Tsitsewa", --TLCHANGE
33273,
"bnt-nys",
"Latn",
strip_diacritics = {remove_diacritics = c.acute .. c.circ},
sort_key = {
from = {"ng'"},
to = {"ng"}
},
english_name = "Chichewa", --TLCHANGE
}
m["oc"] = {
"Oksitano", --from Spanish "occitano"
14185,
"roa-ocr",
"Latn, Hebr",
ancestors = "pro",
sort_key = {
Latn = {
remove_diacritics = c.grave .. c.acute .. c.diaer .. c.cedilla,
from = {"([lns])·h"},
to = {"%1h"}
},
},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Occitan", --TLCHANGE
spanish_name = "Occitano" --TLCHANGE
}
m["oj"] = {
"Ojibwë", --TLCHANGE this is a schwa sound, that's why "a" and "e" are interchangable in English
33875,
"alg",
"Cans, Latn",
sort_key = {
Latn = {
from = {"aa", "ʼ", "ii", "oo", "sh", "zh"},
to = {"a" .. p[1], "h" .. p[1], "i" .. p[1], "o" .. p[1], "s" .. p[1], "z" .. p[1]}
},
},
english_name = "Ojibwe", --TLCHANGE
spanish_name = "Ojibwa", --TLCHANGE
}
m["om"] = {
"Oromo",
33864,
"cus-eas",
"Latn, Ethi",
english_name = "Oromo", --TLCHANGE
}
m["or"] = {
"Oriya", --TLCHANGE
33810,
"inc-eas",
"Orya",
ancestors = "inc-mor",
translit = "or-translit",
english_name = "Odia", --TLCHANGE
spanish_name = "Oriya", --TLCHANGE
}
m["os"] = {
"Osetyo", --TLCHANGE from Spanish "osetio"
33968,
"xsc-sar",
"Cyrl, Geor, Latn",
ancestors = "oos",
translit = {
Cyrl = "os-translit",
-- Geor translit in [[Module:scripts/data]]
},
override_translit = true,
display_text = {
Cyrl = {
from = {"æ"},
to = {"ӕ"}
},
Latn = {
from = {"ӕ"},
to = {"æ"}
},
},
strip_diacritics = {
Cyrl = {
remove_diacritics = c.grave .. c.acute,
from = {"æ"},
to = {"ӕ"}
},
Latn = {
from = {"ӕ"},
to = {"æ"}
},
},
sort_key = {
Cyrl = {
from = {"ӕ", "гъ", "дж", "дз", "ё", "къ", "пъ", "тъ", "хъ", "цъ", "чъ"},
to = {"а" .. p[1], "г" .. p[1], "д" .. p[1], "д" .. p[2], "е" .. p[1], "к" .. p[1], "п" .. p[1], "т" .. p[1], "х" .. p[1], "ц" .. p[1], "ч" .. p[1]}
},
},
english_name = "Ossetian", --TLCHANGE
spanish_name = "Osetio" --TLCHANGE
}
m["pa"] = {
"Punjabi", --TLCHANGE the J is actully pronounced /dʒ/ in its origin language, so no need to convert from Spanish J to Y
58635,
"inc-pan",
"Guru, pa-Arab",
ancestors = "inc-opa",
translit = {
Guru = "Guru-translit",
["pa-Arab"] = "pa-Arab-translit",
},
strip_diacritics = {
["pa-Arab"] = {
remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.nunghunna,
from = {"ݨ", "ࣇ"},
to = {"ن", "ل"}
},
},
english_name = "Punjabi", --TLCHANGE
spanish_name = "Punyabí", --TLCHANGE
}
m["pi"] = {
"Pali",
36727,
"inc-mid",
"Latn, Brah, Deva, Beng, Sinh, Mymr, Thai, Lana, Laoo, Khmr, Cakm", --and also Khom
ancestors = "sa",
translit = {
-- Brah translit in [[Module:scripts/data]]
Deva = "sa-translit",
Beng = "pi-translit",
Sinh = "si-translit",
Mymr = "pi-translit",
Thai = "pi-translit",
Lana = "pi-translit",
Laoo = "pi-translit",
Khmr = "pi-translit",
Cakm = "Cakm-translit",
},
strip_diacritics = {
Thai = {
from = {"ึ", u(0xF700), u(0xF70F)}, -- FIXME: Not clear what's going on with the PUA characters here.
to = {"ิํ", "ฐ", "ญ"}
},
Mymr = {
remove_diacritics = c.VS01,
},
},
sort_key = { -- FIXME: This needs to be converted into the current standardized format.
from = {"ā", "ī", "ū", "ḍ", "ḷ", "m[" .. c.dotabove .. c.dotbelow .. "]", "ṅ", "ñ", "ṇ", "ṭ", "([เโ])([ก-ฮ])", "([ເໂ])([ກ-ຮ])", "ᩔ", "ᩕ", "ᩖ", "ᩘ", "([ᨭ-ᨱ])ᩛ", "([ᨷ-ᨾ])ᩛ", "ᩤ", u(0xFE00), u(0x200D)},
to = {"a~", "i~", "u~", "d~", "l~", "m~", "n~", "n~~", "n~~~", "t~", "%2%1", "%2%1", "ᩈ᩠ᩈ", "᩠ᩁ", "᩠ᩃ", "ᨦ᩠", "%1᩠ᨮ", "%1᩠ᨻ", "ᩣ"}
},
english_name = "Pali", --TLCHANGE
}
m["pl"] = {
"Polako", --from Spanish "polaco"
809,
"zlw-lch",
"Latn",
ancestors = "zlw-mpl",
sort_key = {
from = {"ą", "ć", "ę", "ł", "ń", "ó", "ś", "ź", "ż"},
to = {"a" .. p[1], "c" .. p[1], "e" .. p[1], "l" .. p[1], "n" .. p[1], "o" .. p[1], "s" .. p[1], "z" .. p[1], "z" .. p[2]}
},
standard_chars = "AaĄąBbCcĆćDdEeĘęFfGgHhIiJjKkLlŁłMmNnŃńOoÓóPpRrSsŚśTtUuWwYyZzŹźŻż" .. c.punc,
english_name = "Polish", --TLCHANGE
spanish_name = "Polaco" --TLCHANGE
}
m["ps"] = {
"Pastun", --TLCHANGE from Spanish "pastún"
58680,
"ira-pat",
"ps-Arab",
strip_diacritics = {remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.zwarakay .. c.superalef},
english_name = "Pashto", --TLCHANGE
spanish_name = "Pastún" --TLCHANGE
}
m["pt"] = {
"Portuges", --from Spanish "portugués"
5146,
"roa-gap",
"Latn, Brai",
sort_key = {
Latn = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron .. c.diaer .. c.cedilla,
from = {"ª", "æ", "º", "œ"},
to = {"a", "ae", "o", "oe"}
},
},
standard_chars = {
Latn = "AaÁáÂâÃãBbCcÇçDdEeÉéÊêFfGgHhIiÍíJjLlMmNnOoÓóÔôÕõPpQqRrSsTtUuÚúVvXxZz",
Brai = c.braille,
c.punc
},
english_name = "Portuguese", --TLCHANGE
spanish_name = "Portugués" --TLCHANGE
}
m["qu"] = {
"Ketsuwa", --TLCHANGE from Spanish "quechua"
5218,
"qwe",
"Latn",
english_name = "Quechua", --TLCHANGE
spanish_name = "Quechua" --TLCHANGE
}
m["rm"] = {
"Romantse", --TLCHANGE from Spanish "Romanche"
13199,
"roa-rhe",
ancestors = "rm-old",
"Latn",
sort_key = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.diaer .. c.small_e},
english_name = "Romansch", --TLCHANGE
spanish_name = "Romanche" --TLCHANGE
}
m["ro"] = {
"Rumano", --from Spanish "rumano"
7913,
"roa-eas",
"Latn, Cyrl, Cyrs",
translit = {
Cyrl = "ro-translit"
},
sort_key = {
Latn = {
remove_diacritics = c.grave .. c.acute,
from = {"ă", "â", "î", "ș", "ț"},
to = {"a" .. p[1], "a" .. p[2], "i" .. p[1], "s" .. p[1], "t" .. p[1]}
},
Cyrl = {
from = {"ӂ"},
to = {"ж" .. p[1]}
},
},
-- Cyrs strip_diacritics, sort_key in [[Module:scripts/data]]; presumably not present
standard_chars = {
Latn = "AaĂăÂâBbCcDdEeFfGgHhIiÎîJjLlMmNnOoPpRrSsȘșTtȚțUuVvXxZz",
Cyrl = "АаБбВвГгДдЕеЖжӁӂЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЫыЬьЭэЮюЯя",
c.punc
},
english_name = "Romanian", --TLCHANGE
spanish_name = "Rumano" --TLCHANGE
}
m["ru"] = {
"Ruso", --from Spanish "ruso"
7737,
"zle",
"Cyrl, Brai",
ancestors = "zle-mru",
translit = {
Cyrl = "ru-translit"
},
display_text = {
Cyrl = {
from = {"'"},
to = {"’"}
},
},
strip_diacritics = {
Cyrl = {
remove_diacritics = c.grave .. c.acute .. c.diaer,
remove_exceptions = {"Ё", "ё", "Ѣ̈", "ѣ̈", "Я̈", "я̈"},
from = {"’"},
to = {"'"},
},
},
sort_key = {
Cyrl = {
remove_diacritics = c.grave .. c.acute .. c.diaer,
from = {
"і", "ѣ", "ѳ", "ѵ"
},
to = {
"и" .. p[1], "ь" .. p[1], "я" .. p[2], "я" .. p[3]
}
},
},
standard_chars = {
Cyrl = "АаБбВвГгДдЕеЁёЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя—",
Brai = c.braille,
(c.punc:gsub("'", "")) -- Exclude apostrophe.
},
english_name = "Russian", --TLCHANGE
spanish_name = "Ruso" --TLCHANGE
}
m["rw"] = {
"Kiñarwanda-Kirundi", --TLCHANGE
3217514,
"bnt-glb",
"Latn",
strip_diacritics = {remove_diacritics = c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Rwanda-Rundi", --TLCHANGE
spanish_name = "Kiñaruanda-Kirundi" --TLCHANGE
}
m["sa"] = {
"Sanskrit", --TLCHANGE it's "Sanskrit" according to KWF
11059,
"inc",
"as-Beng, Bali, Beng, Bhks, Brah, Mymr, xwo-Mong, Deva, Gujr, Guru, Gran, Hani, Java, Kthi, Knda, Kawi, Khar, Khmr, Laoo, Mlym, mnc-Mong, Marc, Modi, Mong, Nand, Newa, Orya, Phag, Ranj, Saur, Shrd, Sidd, Sinh, Soyo, Lana, Takr, Taml, Tang, Telu, Thai, Tibt, Tutg, Tirh, Zanb", --and also Khom; script codes sorted by canonical name rather than code for [[MOD:sa-convert]]
translit = {
Beng = "sa-Beng-translit",
["as-Beng"] = "sa-Beng-translit",
-- Brah translit in [[Module:scripts/data]]
Deva = "sa-translit",
Gujr = "sa-Gujr-translit",
Guru = "sa-Guru-translit",
Java = "sa-Java-translit",
Kthi = "sa-Kthi-translit",
Khmr = "pi-translit",
Knda = "sa-Knda-translit",
Lana = "pi-translit",
Laoo = "pi-translit",
Mlym = "sa-Mlym-translit",
Modi = "sa-Modi-translit",
-- Mong, mnc-Mong, xwo-Mong translit in [[Module:scripts/data]]
-- NOTE: Formerly used xal-translit for transliterating xwo-Mong but that only handles Cyrillic; it has
-- code to transliterate xwo-Mong but it's broken so I've replaced it with the default xwo-translit.
Mymr = "pi-translit",
Orya = "sa-Orya-translit",
-- Shrd translit in [[Module:scripts/data]]
-- Sidd translit in [[Module:scripts/data]]
Sinh = "si-translit",
Taml = "sa-Taml-translit",
Telu = "sa-Telu-translit",
Thai = "pi-translit",
-- Tibt translit in [[Module:scripts/data]]
},
-- Mong display_text and strip_diacritics in [[Module:scripts/data]]
-- Tibt display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
strip_diacritics = {
Thai = {
from = {"ึ", u(0xF700), u(0xF70F)}, -- FIXME: Not clear what's going on with the PUA characters here.
to = {"ิํ", "ฐ", "ญ"}
},
Mymr = {
remove_diacritics = c.VS01,
},
Deva = { -- Don't use remove_diacritics for accent marks, as १ and ३ should also be removed if (and only if) they carry any.
from = {"[१३]?[" .. c.anudatta .. c.udatta .. c.dsvarita .. c.tsvarita .. "]+"},
to = {""},
},
},
sort_key = {
Latn = {
from = {"ā", "ī", "ū", "ḍ", "ḷ", "ḹ", "m[" .. c.dotabove .. c.dotbelow .. "]", "ṅ", "ñ", "ṇ", "ṛ", "ṝ", "ś", "ṣ", "ṭ"},
to = {"a~", "i~", "u~", "d~", "l~", "l~~", "m~", "n~", "n~~", "n~~~", "r~", "r~~", "s~", "s~~", "t~"},
},
Thai = "Thai-sortkey",
Laoo = "Laoo-sortkey",
Lana = { -- Tai Tham
from = {"ᩔ", "ᩕ", "ᩖ", "ᩘ", "([ᨭ-ᨱ])ᩛ", "([ᨷ-ᨾ])ᩛ", "ᩤ"},
to = {"ᩈ᩠ᩈ", "᩠ᩁ", "᩠ᩃ", "ᨦ᩠", "%1᩠ᨮ", "%1᩠ᨻ", "ᩣ"},
},
Mymr = {
remove_diacritics = c.VS01,
},
-- FIXME: The previous sort key which mixed all scripts removed ZWJ; I don't know which script(s) this was
-- intended for and there are no other languages which remove it in the sort key AFAIK. If it needs to be
-- removed, specify the script(s) it needs to be removed under or add handling for the "all" script that applies
-- regardless of script.
--all = {
-- remove_diacritics = c.ZWJ,
--},
},
is_official_kwf_name = "https://kwfdiksiyonaryo.ph/?query=S%C3%A1nskrit", --TLCHANGE
english_name = "Sanskrit", --TLCHANGE
}
m["sc"] = {
"Sardo", --TLCHANGE from Spanish "sardo"
33976,
"roa-sou",
"Latn",
english_name = "Sardinian", --TLCHANGE
spanish_name = "Sardo" --TLCHANGE
}
m["sd"] = {
"Sindi", --TLCHANGE from Spanish "sindi"
33997,
"inc-snd",
"sd-Arab, Deva, Sind, Khoj",
translit = {
Sind = "Sind-translit",
["sd-Arab"] = "sd-Arab-translit"
},
strip_diacritics = {
["sd-Arab"] = {
remove_diacritics = c.kashida .. c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.superalef,
from = {"ٱ"},
to = {"ا"}
},
},
english_name = "Sindhi", --TLCHANGE
spanish_name = "Sindi" --TLCHANGE
}
m["se"] = {
"Hilagang Sami", --TLCHANGE
33947,
"smi",
"Latn",
display_text = {
from = {"'"},
to = {"ˈ"}
},
strip_diacritics = {remove_diacritics = c.macron .. c.dotbelow .. "'ˈ"},
sort_key = {
from = {"á", "č", "đ", "ŋ", "š", "ŧ", "ž"},
to = {"a" .. p[1], "c" .. p[1], "d" .. p[1], "n" .. p[1], "s" .. p[1], "t" .. p[1], "z" .. p[1]}
},
standard_chars = "AaÁáBbCcČčDdĐđEeFfGgHhIiJjKkLlMmNnŊŋOoPpRrSsŠšTtŦŧUuVvZzŽž" .. c.punc,
english_name = "Northern Sami", --TLCHANGE
}
m["sg"] = {
"Sanggo", --TLCHANGE
33954,
"crp",
"Latn",
ancestors = "ngb",
english_name = "Sango", --TLCHANGE
spanish_name = "sango", --TLCHANGE
}
m["sh"] = {
"Serbokroata", --TLCHANGE from Spanish "Serbocroata"
9301,
"zls",
"Latn, Cyrl, Glag, Arab",
ietf_subtag = "hbs", -- ISO 639-3 code, since "sh" is deprecated from ISO 639-1
wikimedia_codes = "sh, bs, hr, sr",
strip_diacritics = {
Latn = {
remove_diacritics = c.grave .. c.acute .. c.tilde .. c.macron .. c.dgrave .. c.invbreve,
remove_exceptions = {"Ć", "ć", "Ś", "ś", "Ź", "ź"}
},
Cyrl = {
remove_diacritics = c.grave .. c.acute .. c.tilde .. c.macron .. c.dgrave .. c.invbreve,
remove_exceptions = {"З́", "з́", "С́", "с́"}
},
},
sort_key = {
Latn = {
remove_diacritics = c.grave .. c.acute .. c.tilde .. c.macron .. c.dgrave .. c.invbreve,
remove_exceptions = {"ć", "ś", "ź"},
from = {"č", "ć", "dž", "đ", "lj", "nj", "š", "ś", "ž", "ź"},
to = {"c" .. p[1], "c" .. p[2], "d" .. p[1], "d" .. p[2], "l" .. p[1], "n" .. p[1], "s" .. p[1], "s" .. p[2], "z" .. p[1], "z" .. p[2]}
},
Cyrl = {
remove_diacritics = c.grave .. c.acute .. c.tilde .. c.macron .. c.dgrave .. c.invbreve,
remove_exceptions = {"з́", "с́"},
from = {"ђ", "з́", "ј", "љ", "њ", "с́", "ћ", "џ"},
to = {"д" .. p[1], "з" .. p[1], "и" .. p[1], "л" .. p[1], "н" .. p[1], "с" .. p[1], "т" .. p[1], "ч" .. p[1]}
},
},
standard_chars = {
Latn = "AaBbCcČčĆćDdĐđEeFfGgHhIiJjKkLlMmNnOoPpRrSsŠšTtUuVvZzŽž",
Cyrl = "АаБбВвГгДдЂђЕеЖжЗзИиЈјКкЛлЉљМмНнЊњОоПпРрСсТтЋћУуФфХхЦцЧчЏџШш",
c.punc
},
english_name = "Serbo-Croatian", --TLCHANGE
spanish_name = "Serbocroata" --TLCHANGE
}
m["si"] = {
"Singgales", --from Spanish "cingalés"
13267,
"inc-ins",
"Sinh",
translit = "si-translit",
override_translit = true,
english_name = "Sinhalese", --TLCHANGE
spanish_name = "Singalés" --TLCHANGE
}
m["sk"] = {
"Eslovako", --TLCHANGE from Spanish "eslovaco"
9058,
"zlw",
"Latn",
ancestors = "zlw-osk",
sort_key = {remove_diacritics = c.acute .. c.circ .. c.diaer .. c.caron},
standard_chars = "AaÁáÄäBbCcČčDdĎďEeÉéFfGgHhIiÍíJjKkLlĹ弾MmNnŇňOoÓóÔôPpRrŔŕSsŠšTtŤťUuÚúVvYyÝýZzŽž" .. c.punc,
english_name = "Slovak", --TLCHANGE
spanish_name = "Eslovaco" --TLCHANGE
}
m["sl"] = {
"Esloveno", --TLCHANGE from Spanish "esloveno"
9063,
"zls",
"Latn",
strip_diacritics = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.dgrave .. c.invbreve .. c.dotbelow,
remove_exceptions = {"Ć", "ć", "Ǵ", "ǵ", "Ś", "ś", "Ź", "ź"},
from = {"Ə", "ə", "Ł", "ł"},
to = {"E", "e", "L", "l"},
},
sort_key = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron .. c.dotabove .. c.ringabove .. c.dgrave .. c.invbreve .. c.dotbelow .. c.ringbelow .. c.ogonek,
remove_exceptions = {"ć", "ǵ", "ś", "ź"},
from = {"ä", "č", "ć", "đ", "ə", "ë", "ǧ", "ǵ", "ï", "ł", "ö", "š", "ś", "ü", "ž", "ź"},
to = {"a" .. p[1], "c" .. p[1], "c" .. p[2], "d" .. p[1], "e", "e" .. p[1], "g" .. p[1], "g" .. p[2], "i" .. p[1], "l", "o" .. p[1], "s" .. p[1], "s" .. p[2], "u" .. p[1], "z" .. p[1], "z" .. p[2]},
},
standard_chars = "AaBbCcČčDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsŠšTtUuVvZzŽž" .. c.punc,
english_name = "Slovene", --TLCHANGE
spanish_name = "Esloveno" --TLCHANGE
}
m["sm"] = {
"Samoano", --from Spanish "samoano"
34011,
"poz-pnp",
"Latn",
english_name = "Samoan", --TLCHANGE
spanish_name = "Samoano" --TLCHANGE
}
m["sn"] = {
"Shona",
34004,
"bnt-sho",
"Latn",
strip_diacritics = {remove_diacritics = c.acute},
english_name = "Shona", --TLCHANGE
}
m["so"] = {
"Somali",
13275,
"cus-som",
"Latn, Arab, Osma",
strip_diacritics = {
Latn = {remove_diacritics = c.grave .. c.acute .. c.circ}
},
english_name = "Somali", --TLCHANGE
}
m["sq"] = {
"Albanes", --from Spanish "albanés"
8748,
"sqj",
"Latn, Grek, ota-Arab, Elba, Todr, Vith",
translit = {
Elba = "Elba-translit",
Vith = "Vith-translit",
},
-- Grek display_text, sort_key in [[Module:scripts/data]]
strip_diacritics = {
Latn = {
remove_diacritics = c.acute .. c.circ,
from = {'^[ie] (%w)', '^të (%w)'}, to = {'%1', '%1'},
},
Grek = { -- Diacritic removal from Grek-stripdiacritics excluded.
from = m_langdata.chars_substitutions["Grek-stripdiacritics"].from,
to = m_langdata.chars_substitutions["Grek-stripdiacritics"].to,
},
},
sort_key = {
Latn = {
remove_diacritics = c.acute .. c.circ .. c.tilde .. c.breve .. c.caron,
from = {'^[ie] (%w)', '^të (%w)', 'ç', 'dh', 'ë', 'gj', 'll', 'nj', 'rr', 'sh', 'th', 'xh', 'zh'},
to = {'%1', '%1', 'c'..p[1], 'd'..p[1], 'e'..p[1], 'g'..p[1], 'l'..p[1], 'n'..p[1], 'r'..p[1], 's'..p[1], 't'..p[1], 'x'..p[1], 'z'..p[1]},
}
-- TODO: Grek if the default sort key is unsuitable
},
standard_chars = {
Latn = "AaBbCcÇçDdEeËëFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvXxYyZz",
c.punc
},
english_name = "Albanian", --TLCHANGE
spanish_name = "Albanés" --TLCHANGE
}
m["ss"] = {
"Suwazi", --from Spanish "suazi"
34014,
"bnt-ngu",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Swazi", --TLCHANGE
spanish_name = "Suazi" --TLCHANGE
}
m["st"] = {
"Sesoto", --TLCHANGE from Spanish "Sesoto"
34340,
"bnt-sts",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Sotho", --TLCHANGE
spanish_name = "Sesoto" --TLCHANGE
}
m["su"] = {
"Sondanes", --TLCHANGE from Spanish "sondanés"
34002,
"poz-msa",
"Latn, Sund, Arab",
ancestors = "osn",
translit = {
Sund = "Sund-translit"
},
english_name = "Sundanese", --TLCHANGE
spanish_name = "Sondanés" --TLCHANGE
}
m["sv"] = {
"Suweko", --from Spanish "sueco"
9027,
"gmq-eas",
"Latn",
ancestors = "gmq-osw-lat",
sort_key = {
remove_diacritics = c.grave .. c.acute .. c.circ .. c.tilde .. c.macron .. c.dacute .. c.caron .. c.cedilla .. "':",
remove_exceptions = {"å"},
from = {"ø", "æ", "œ", "ß", "å", "aͤ", "oͤ"},
to = {"o", "ae", "oe", "ss", "z" .. p[1], "ä", "ö"}
},
standard_chars = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpRrSsTtUuVvXxYyÅåÄäÖö" .. c.punc,
english_name = "Swedish", --TLCHANGE
spanish_name = "Sueco" --TLCHANGE
}
m["sw"] = {
"Suwahili", --TLCHANGE from Spanish "suajili"
7838,
"bnt-swh",
"Latn, Arab",
sort_key = {
Latn = {
from = {"ng'"},
to = {"ng" .. p[1]}
},
},
english_name = "Swahili", --TLCHANGE
spanish_name = "Suajili" --TLCHANGE
}
m["ta"] = {
"Tamil",
5885,
"dra-tam",
"Taml",
ancestors = "ta-mid",
translit = "ta-translit",
override_translit = true,
english_name = "Tamil", --TLCHANGE
}
m["te"] = {
"Telugu",
8097,
"dra-tel",
"Telu",
translit = "te-translit",
override_translit = true,
english_name = "Telugu", --TLCHANGE
}
m["tg"] = {
"Tayiko", --from Spanish "tayiko"
9260,
"ira-swi",
"Cyrl, fa-Arab, Latn",
ancestors = "fa-cls",
translit = {
Cyrl = "tg-translit"
},
override_translit = true,
strip_diacritics = {
Cyrl = s["tg-stripdiacritics"],
Latn = s["tg-stripdiacritics"],
},
sort_key = {
Cyrl = {
from = {"ғ", "ё", "ӣ", "қ", "ӯ", "ҳ", "ҷ"},
to = {"г" .. p[1], "е" .. p[1], "и" .. p[1], "к" .. p[1], "у" .. p[1], "х" .. p[1], "ч" .. p[1]}
},
},
english_name = "Tajik", --TLCHANGE
spanish_name = "Tayiko", --TLCHANGE
}
m["th"] = {
"Tailandes", --from Spanish "tailandés"
9217,
"tai-swe",
"Thai, Khomt, Brai",
translit = {
Thai = "th-translit"
},
sort_key = {
Thai = "Thai-sortkey"
},
english_name = "Thai", --TLCHANGE
spanish_name = "Tailandés", --TLCHANGE
}
m["ti"] = {
"Tigriña", --TLCHANGE from Spanish tigriña
34124,
"sem-eth",
"Ethi",
translit = "Ethi-translit",
english_name = "Tigrinya", --TLCHANGE
spanish_name = "Tigriña", --TLCHANGE
}
m["tk"] = {
"Turkomano", --TLCHANGE from Spanish "turcomano"
9267,
"trk-ogz",
"Latn, Cyrl, Arab",
strip_diacritics = {
Latn = s["tk-stripdiacritics"],
Cyrl = s["tk-stripdiacritics"],
},
sort_key = {
Latn = {
from = {"ç", "ä", "ž", "ň", "ö", "ş", "ü", "ý"},
to = {"c" .. p[1], "e" .. p[1], "j" .. p[1], "n" .. p[1], "o" .. p[1], "s" .. p[1], "u" .. p[1], "y" .. p[1]}
},
Cyrl = {
from = {"ё", "җ", "ң", "ө", "ү", "ә"},
to = {"е" .. p[1], "ж" .. p[1], "н" .. p[1], "о" .. p[1], "у" .. p[1], "э" .. p[1]}
},
},
english_name = "Turkmen", --TLCHANGE
spanish_name = "Turcomano", --TLCHANGE
}
m["tl"] = {
"Tagalog",
34057,
"phi",
"Latn, Tglg",
translit = {
Tglg = "tl-translit"
},
override_translit = true,
strip_diacritics = {
Latn = {remove_diacritics = c.grave .. c.acute .. c.circ}
},
standard_chars = {
Latn = "AaBbKkDdEeGgHhIiLlMmNnOoPpRrSsTtUuWwYy",
c.punc
},
sort_key = {
Latn = "tl-sortkey",
},
is_official_kwf_name = "https://kwfwikaatkultura.ph/tagalog-2/", --TLCHANGE
english_name = "Tagalog", --TLCHANGE
}
m["tn"] = {
"Setswana", --TLCHANGE from Spanish "Setsuana"
34137,
"bnt-sts",
"Latn",
english_name = "Tswana", --TLCHANGE
spanish_name = "Setsuana", --TLCHANGE
}
m["to"] = {
"Tonggano", --from Spanish "tongano"
34094,
"poz-ton",
"Latn",
strip_diacritics = {remove_diacritics = c.acute},
sort_key = {remove_diacritics = c.macron},
english_name = "Tongan", --TLCHANGE
spanish_name = "Tongano", --TLCHANGE
}
m["tr"] = {
"Turko", --from Spanish "turco"
256,
"trk-ogz",
"Latn",
ancestors = "ota",
dotted_dotless_i = true,
sort_key = {
from = {
-- Ignore circumflex, but account for capital Î wrongly becoming ı + circ due to dotted dotless I logic.
"ı" .. c.circ, c.circ,
"i", -- Ensure "i" comes after "ı".
"ç", "ğ", "ı", "ö", "ş", "ü"
},
to = {
"i", "",
"i" .. p[1],
"c" .. p[1], "g" .. p[1], "i", "o" .. p[1], "s" .. p[1], "u" .. p[1]
}
},
standard_chars = "AaÂâBbCcÇçDdEeFfGgĞğHhIıİiÎîJjKkLlMmNnOoÖöPpRrSsŞşTtUuÛûÜüVvYyZz" .. c.punc,
english_name = "Turkish", --TLCHANGE
spanish_name = "Turco", --TLCHANGE
}
m["ts"] = {
"Tsongga", --from Spanish "tsonga"
34327,
"bnt-tsr",
"Latn",
english_name = "Tsonga", --TLCHANGE
spanish_name = "Tsonga", --TLCHANGE
}
m["tt"] = {
"Tartaro", --from Spanish "tártaro"
25285,
"trk-kbu",
"Cyrl, Latn, tt-Arab",
translit = {
Cyrl = "tt-translit",
["tt-Arab"] = "tt-translit"
},
--override_translit = true, -- enable override until Module code can detect Russian loans such as [[аэропорт]]
dotted_dotless_i = true,
sort_key = {
Cyrl = {
from = {"ә", "ў", "ғ", "ё", "җ", "қ", "ң", "ө", "ү", "һ"},
to = {"а" .. p[1], "в" .. p[1], "г" .. p[1], "е" .. p[1], "ж" .. p[1], "к" .. p[1], "н" .. p[1], "о" .. p[1], "у" .. p[1], "х" .. p[1]}
},
Latn = {
from = {
"i", -- Ensure "i" comes after "ı".
"ä", "ə", "ç", "ğ", "ı", "ñ", "ŋ", "ö", "ɵ", "ş", "ü"
},
to = {
"i" .. p[1],
"a" .. p[1], "a" .. p[2], "c" .. p[1], "g" .. p[1], "i", "n" .. p[1], "n" .. p[2], "o" .. p[1], "o" .. p[2], "s" .. p[1], "u" .. p[1]
}
},
},
english_name = "Tatar", --TLCHANGE
spanish_name = "Tártaro", --TLCHANGE
}
-- "tw" is treated as "ak", see [[WT:LT]]
m["ty"] = {
"Tahityano", --TLCHANGE from Spanish "tahitiano"
34128,
"poz-pep",
"Latn",
english_name = "Tahitian", --TLCHANGE
spanish_name = "Tahitiano", --TLCHANGE
}
m["ug"] = {
"Wigur", --TLCHANGE from Spanish "uigur"
13263,
"trk-kar",
"ug-Arab, Latn, Cyrl",
ancestors = "chg",
translit = {
["ug-Arab"] = "ug-translit",
Cyrl = "ug-translit",
},
override_translit = true,
english_name = "Uyghur", --TLCHANGE
spanish_name = "Uigur", --TLCHANGE
}
m["uk"] = {
"Ukranyano", --from Spanish "ucraniano"
8798,
"zle",
"Cyrl",
ancestors = "zle-muk",
translit = "uk-translit",
strip_diacritics = {remove_diacritics = c.grave .. c.acute},
sort_key = {
remove_diacritics = c.grave .. c.acute,
from = {
"ї", -- 2 chars
"ґ", "є", "і" -- 1 char
},
to = {
"и" .. p[2],
"г" .. p[1], "е" .. p[1], "и" .. p[1]
}
},
standard_chars = "АаБбВвГгДдЕеЄєЖжЗзИиІіЇїЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЬьЮюЯя" .. c.punc:gsub("'", ""), -- Exclude apostrophe.
english_name = "Ukrainian", --TLCHANGE
spanish_name = "Ucraniano", --TLCHANGE
}
m["ur"] = {
"Urdu",
1617,
"inc-hnd",
"ur-Arab, Hebr",
translit = {
["ur-Arab"] = "ur-translit"
},
strip_diacritics = {
["ur-Arab"] = {
-- character "ۂ" code U+06C2 to "ه" and "هٔ" (U+0647 + U+0654) to "ه"; hamzatu l-waṣli to a regular alif
from = {"هٔ", "ۂ", "ٱ"},
to = {"ہ", "ہ", "ا"},
remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.nunghunna .. c.superalef
},
},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
standard_chars = {
["ur-Arab"] = "ایببپتثجچحخدذرزژسشصضطظعغفقکگلࣇڷمنݨوؤہھئٹڈڑآے",
c.punc,
},
english_name = "Urdu", --TLCHANGE
}
m["uz"] = {
"Uzbeko", --TLCHANGE from Spanish "uzbeko"
9264,
"trk-kar",
"Latn, Cyrl, fa-Arab",
ancestors = "chg",
translit = {
Cyrl = "uz-translit"
},
sort_key = {
Latn = {
from = {"oʻ", "gʻ", "sh", "ch", "ng"},
to = {"z" .. p[1], "z" .. p[2], "z" .. p[3], "z" .. p[4], "z" .. p[5]}
},
Cyrl = {
from = {"ё", "ў", "қ", "ғ", "ҳ"},
to = {"е" .. p[1], "я" .. p[1], "я" .. p[2], "я" .. p[3], "я" .. p[4]}
},
},
strip_diacritics = {
["fa-Arab"] = "ar-stripdiacritics",
},
english_name = "Uzbek", --TLCHANGE
spanish_name = "Uzbeko", --TLCHANGE
}
m["ve"] = {
"Venda", --TLCHANGE from Spanish "venda"
32704,
"bnt-bso",
"Latn",
english_name = "Venda", --TLCHANGE
spanish_name = "Venda", --TLCHANGE
}
m["vi"] = {
"Viyetnamita", --TLCHANGE
9199,
"mkh-vie",
"Latn, Hani",
ancestors = "mkh-mvi",
sort_key = {
Latn = "vi-sortkey",
Hani = "Hani-sortkey",
},
english_name = "Vietnamese", --TLCHANGE
spanish_name = "Vietnamita", --TLCHANGE
}
m["vo"] = {
"Volapük",
36986,
"art",
"Latn",
english_name = "Volapük", --TLCHANGE
}
m["wa"] = {
"Valon", --TLCHANGE from Spanish "valón"
34219,
"roa-oil",
"Latn",
sort_key = s["roa-oil-sortkey"],
english_name = "Walloon", --TLCHANGE
spanish_name = "Valón", --TLCHANGE
}
m["wo"] = {
"Wolof", --from Spanish "wólof"
34257,
"alv-fwo",
"Latn, Arab, Gara",
english_name = "Wolof", --TLCHANGE
spanish_name = "Wólof", --TLCHANGE
}
m["xh"] = {
"Khosa", --TLCHANGE we have "kh", it is the closest to [ᵏǁʰôːsa]
13218,
"bnt-ngu",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Xhosa", --TLCHANGE
spanish_name = "Xhosa", --TLCHANGE
}
m["yi"] = {
"Yidis", --from Spanish "Yidis"
8641,
"gmw-hgm",
"Hebr, Latn",
ancestors = "gmh",
translit = {
Hebr = "yi-translit",
},
-- Hebr display_text, strip_diacritics, sort_key in [[Module:scripts/data]]
english_name = "Yiddish", --TLCHANGE
spanish_name = "Yidis", --TLCHANGE
}
m["yo"] = {
"Yoruba",
34311,
"alv-yor",
"Latn, Arab",
strip_diacritics = {
Latn = {remove_diacritics = c.grave .. c.acute .. c.macron}
},
sort_key = {
Latn = {
from = {"ẹ", "ɛ", "gb", "ị", "kp", "ọ", "ɔ", "ṣ", "sh", "ụ"},
to = {"e" .. p[1], "e" .. p[1], "g" .. p[1], "i" .. p[1], "k" .. p[1], "o" .. p[1], "o" .. p[1], "s" .. p[1], "s" .. p[1], "u" .. p[1]}
},
},
english_name = "Yoruba", --TLCHANGE
}
m["za"] = {
"Zhuang",
13216,
"tai",
"Latn, Hani",
sort_key = {
Latn = "za-sortkey",
Hani = "Hani-sortkey",
},
english_name = "Zhuang", --TLCHANGE
}
m["zh"] = {
"Tsino", --from Spanish "chino"
7850,
"zhx",
"Hants, Latn, Bopo, Nshu, Brai",
ancestors = "ltc",
generate_forms = "zh-generateforms",
translit = {
Hani = "zh-translit",
Bopo = "zh-translit",
},
sort_key = {
Hani = "Hani-sortkey"
},
is_official_kwf_name = "https://kwfdiksiyonaryo.ph/?query=Ts%C3%ADno", --TLCHANGE
english_name = "Chinese", --TLCHANGE
spanish_name = "Chino", --TLCHANGE
}
m["zu"] = {
"Zulu", --from Spanish "zulú"
10179,
"bnt-ngu",
"Latn",
strip_diacritics = {remove_diacritics = c.grave .. c.acute .. c.circ .. c.macron .. c.caron},
english_name = "Zulu", --TLCHANGE
spanish_name = "Zulú", --TLCHANGE
}
return require("Module:languages").finalizeData(m, "language")