Ин модул ҷадвалеро содир мекунад, ки номи каноникии забони танҳо этимологияро ба рамзи мувофиқ табдил медиҳад:

local lang_name = mw.loadData("Module:etymology languages/canonical names")["Late Latin"] --> "la-lat"

Он забонҳоро дар бар мегирад Module:etymology languages/data.

Хатогиҳои зерин аз ҷониби ошкор карда шуданд Module:data consistency check:

Module:etymology languages/canonical names

  • Literary Chinese, the canonical name for the code lzh-lit, is wrong; it should be Literary Chinese.
  • The code oos and the canonical name Old Ossetic should be removed; they are not found in Module:etymology languages/data.

Module:etymology languages/code to canonical name

  • Literary Chinese, the canonical name for the code lzh-lit, is wrong; it should be Literary Chinese.
  • The code oos and the canonical name Old Ossetic should be removed; they are not found in Module:etymology languages/data.

Ҳамчунин нигаред Module:etymology languages/code to canonical name.


return {
	["Abhiri"] = "abh-prk",
	["Abuzeydabadi"] = "xme-abz",
	["Abyanehi"] = "xme-aby",
	["Acadian French"] = "fr-aca",
	["Achaemenid Elamite"] = "elx-ach",
	["Addu Dhivehi"] = "add-dv",
	["Aeolic Greek"] = "grc-aeo",
	["Afridi"] = "ps-afr",
	["Akhmimic Coptic"] = "cop-akh",
	["Alanic"] = "xln",
	["Alsatian"] = "gsw-FR",
	["Amdo Tibetan"] = "adx",
	["American English"] = "en-US",
	["Amorehi"] = "xme-amo",
	["Amoy"] = "nan-xm",
	["Anaraki"] = "xme-ana",
	["Anbarani"] = "tly-anb",
	["Angkorian Old Khmer"] = "okz-A",
	["Anglian Old English"] = "ang-ang",
	["Anglo-Norman"] = "xno",
	["Aranese"] = "oc-ara",
	["Arbëresh Albanian"] = "aae",
	["Arcadian Greek"] = "grc-arc",
	["Arcadocypriot Greek"] = "grc-arp",
	["Ardestani"] = "xme-ard",
	["Ardhamagadhi Prakrit"] = "inc-pka",
	["Arghu"] = "klj-arg",
	["Armeno-Kipchak"] = "qwm-arm",
	["Arvanitika Albanian"] = "aat",
	["Asalemi"] = "tly-asa",
	["Ashtiani"] = "atn",
	["Attic Greek"] = "grc-att",
	["Austrian German"] = "de-AT",
	["Auvergnat"] = "oc-auv",
	["Avanti"] = "prk-avt",
	["Azerbaijani Talysh"] = "tly-aze",
	["Badrudi"] = "xme-bdr",
	["Bahliki"] = "bhl-prk",
	["Bajui"] = "sgh-baj",
	["Bandari"] = "bsg-ban",
	["Bangash"] = "ps-bng",
	["Bannu"] = "ps-ban",
	["Bartangi"] = "sgh-bar",
	["Bartangi-Oroshori"] = "sgh-bro",
	["Bashkardi"] = "bsg-bas",
	["Belgian Dutch"] = "nl-BE",
	["Besemah"] = "pse-bsm",
	["Betawi Kota"] = "bew-kot",
	["Betawi Ora"] = "bew-ora",
	["Betawi Udik"] = "bew-udi",
	["Biblical Aramaic"] = "arc-bib",
	["Biblical Hebrew"] = "hbo",
	["Bidhandi"] = "xme-bid",
	["Bijagani"] = "xme-bij",
	["Boeotian Greek"] = "grc-boi",
	["Bohairic Coptic"] = "cop-boh",
	["Bombay Hindi"] = "hi-mum",
	["Borana"] = "gax",
	["Borujerdi"] = "xme-bor",
	["Brahmanic Sanskrit"] = "sa-bra",
	["Brazilian Portuguese"] = "pt-BR",
	["British English"] = "en-GB",
	["Buddhist Hybrid Sanskrit"] = "sa-bhs",
	["Burenjani"] = "fay-bur",
	["Bushehri"] = "fay-bsh",
	["Byzantine Greek"] = "gkm",
	["Cajun French"] = "frc",
	["Camorta"] = "ncb-cam",
	["Campidanese"] = "sc-sro",
	["Canadian English"] = "en-CA",
	["Canadian French"] = "fr-CA",
	["Candali"] = "cnd-prk",
	["Central Ghilzay"] = "ps-cgi",
	["Central Korean"] = "ko-c",
	["Central Talysh"] = "tly-cen",
	["Central Tati"] = "xme-ttc-cen",
	["Chakavian Serbo-Croatian"] = "ckm",
	["Chakhar Mongolian"] = "mn-cha",
	["Chali"] = "tks-cal",
	["Chimehi"] = "xme-cim",
	["Christian Palestinian Aramaic"] = "arc-cpa",
	["Cisalpine Gaulish"] = "xcg",
	["Classical Azerbaijani"] = "az-cls",
	["Classical Latin"] = "la-cla",
	["Classical Malay"] = "ms-cla",
	["Classical Persian"] = "fa-cls",
	["Classical Sanskrit"] = "sa-cls",
	["Classical Tagalog"] = "tl-cls",
	["Colombian Spanish"] = "es-CO",
	["Common Bantu"] = "bnt-cmn",
	["Common Turkic"] = "trk-cmn",
	["Coptic Dialect G"] = "cop-ggg",
	["Coptic Dialect J"] = "cop-jjj",
	["Coptic Dialect K"] = "cop-kkk",
	["Coptic Dialect P"] = "cop-ppp",
	["Cretan Ancient Greek"] = "grc-kre",
	["Cretan Greek"] = "el-crt",
	["Cuban Spanish"] = "es-CU",
	["Cypriot Greek"] = "el-cyp",
	["Daksinatya"] = "dks-prk",
	["Danesfani"] = "tks-dan",
	["Dari"] = "prs",
	["Dashtaki"] = "fay-dsh",
	["Davani"] = "fay-dav",
	["Delijani"] = "xme-del",
	["Digor"] = "os-dig",
	["Doric Greek"] = "grc-dor",
	["Dramili"] = "drm-prk",
	["Early Brythonic"] = "bry-ear",
	["Early Mandarin"] = "cmn-ear",
	["Early Middle Chinese"] = "ltc-ear",
	["Early Middle Japanese"] = "ja-mid-ear",
	["Early Middle Korean"] = "okm-ear",
	["Early Middle Mongol"] = "xng-ear",
	["Early Middle Persian"] = "pal-ear",
	["Early Modern Czech"] = "cs-ear",
	["Early Modern Japanese"] = "ja-ear",
	["Early Old Chinese"] = "och-ear",
	["Early Old Ossetic"] = "oos-ear",
	["Early Old Persian"] = "peo-ear",
	["Early Scots"] = "sco-osc",
	["Early Sogdian"] = "sog-ear",
	["Eastern Balochi"] = "bgp",
	["Eastern Tati"] = "xme-ttc-eas",
	["Ebrahimabadi"] = "tks-ebr",
	["Ecclesiastical Latin"] = "la-ecc",
	["Elean Greek"] = "grc-ela",
	["Emamzada Esma’ili"] = "fay-eze",
	["Epic Greek"] = "grc-epc",
	["Esfarvarini"] = "tks-esf",
	["Farizandi"] = "xme-far",
	["Fayyumic Coptic"] = "cop-fay",
	["Frankish"] = "frk",
	["Fumani"] = "tly-fum",
	["Gascon"] = "oc-gas",
	["Gavkoshaki"] = "fay-gav",
	["Gazi"] = "gzi",
	["Geordie English"] = "en-geo",
	["Ghat"] = "tmh-ght",
	["Gheg Albanian"] = "aln",
	["Guernsey Norman"] = "nrf-grn",
	["Hainanese"] = "nan-hai",
	["Hamadani"] = "xme-ham",
	["Hanjani"] = "xme-han",
	["Hanyu Pinyin"] = "cmn-pinyin",
	["Harar Oromo"] = "hae",
	["Hatran Aramaic"] = "arc-hat",
	["Havyaka Kannada"] = "kn-hav",
	["Helu Prakrit"] = "inc-elu",
	["Hermopolitan Coptic"] = "cop-her",
	["Hernician"] = "xum-her",
	["Hokkien"] = "nan-hok",
	["Hong Kong English"] = "en-HK",
	["Hormozi"] = "bsg-hor",
	["Huvadhu Dhivehi"] = "hvd-dv",
	["Idiom Neutral"] = "und-idn",
	["Imperial Aramaic"] = "arc-imp",
	["Insular Scots"] = "sco-ins",
	["Ionic Greek"] = "grc-ion",
	["Iranian Persian"] = "fa-ira",
	["Iron"] = "os-iro",
	["Isfahani"] = "xme-isf",
	["Israeli Hebrew"] = "he-IL",
	["Jadrani"] = "ps-jad",
	["Jersey Norman"] = "nrf-jer",
	["Jewish Babylonian Aramaic"] = "tmr",
	["Jewish Literary Aramaic"] = "arc-jla",
	["Jewish Palestinian Aramaic"] = "jpa",
	["Jinjiang Hokkien"] = "nan-jj",
	["Jirofti"] = "rdb-jir",
	["Jowshaqani"] = "xme-jow",
	["Judeo-Arabic"] = "jrb",
	["Kafroni"] = "xme-kaf",
	["Kahaki"] = "xme-kah",
	["Kahnuji"] = "rdb-kah",
	["Kajkavian Serbo-Croatian"] = "kjv",
	["Kakari"] = "ps-kak",
	["Kamviri"] = "xvi",
	["Kandahari"] = "ps-kan",
	["Kaniguram"] = "oru-kan",
	["Karganrudi"] = "tly-kar",
	["Kashani"] = "xme-kas",
	["Katchal"] = "ncb-kat",
	["Katharevousa"] = "el-kth",
	["Kathiyawadi"] = "gu-kat",
	["Kativiri"] = "bsh-kat",
	["Kermani"] = "xme-krm",
	["Kesehi"] = "xme-kes",
	["Khalkha Mongolian"] = "mn-kha",
	["Khamba"] = "kbg",
	["Khams Tibetan"] = "khg",
	["Khargi"] = "fay-kar",
	["Khasa Prakrit"] = "inc-khs",
	["Khatak"] = "ps-xat",
	["Khiaraji"] = "tks-xia",
	["Khollari"] = "fay-kho",
	["Khorchin Mongolian"] = "mn-khr",
	["Khoznini"] = "tks-xoz",
	["Khufi"] = "sgh-xuf",
	["Khughni"] = "sgh-xug",
	["Khughni-Bajui"] = "sgh-xgb",
	["Khunsari"] = "kfm",
	["Khuri"] = "xme-xur",
	["Kinyarwanda"] = "rw-kin",
	["Kirundi"] = "rw-run",
	["Koine Greek"] = "grc-koi",
	["Komjani"] = "xme-kom",
	["Kondazi"] = "fay-kon",
	["Kromanti"] = "alv-kro",
	["Kölsch"] = "ksh",
	["Languedocien"] = "oc-lan",
	["Late Babylonian"] = "akk-lbb",
	["Late Brythonic"] = "bry-lat",
	["Late Egyptian"] = "egy-lat",
	["Late Khotanese"] = "kho-lat",
	["Late Latin"] = "la-lat",
	["Late Middle Chinese"] = "ltc-lat",
	["Late Middle Japanese"] = "ja-mid-lat",
	["Late Middle Mongol"] = "xng-lat",
	["Late Middle Persian"] = "pal-lat",
	["Late Old Chinese"] = "och-lat",
	["Late Old Korean"] = "oko-lat",
	["Late Old Ossetic"] = "oos-lat",
	["Late Old Persian"] = "peo-lat",
	["Late Sogdian"] = "sog-lat",
	["Limousin"] = "oc-lim",
	["Lisan ud-Dawat Gujarati"] = "gu-lda",
	["Logar"] = "oru-log",
	["Logudorese"] = "sc-src",
	["Lombardic"] = "lng",
	["Lucanian"] = "osc-luc",
	["Lunfardo"] = "es-lun",
	["Lycopolitan Coptic"] = "cop-lyc",
	["Magadhi Prakrit"] = "inc-pmg",
	["Mahallati"] = "xme-mah",
	["Maharastri Prakrit"] = "inc-pmh",
	["Mahsudi"] = "ps-mah",
	["Mamluk-Kipchak"] = "qwm-mam",
	["Manichaean Middle Persian"] = "xmn",
	["Masali"] = "tly-msa",
	["Masarami"] = "fay-mas",
	["Masulei"] = "tly-msu",
	["Medieval Hebrew"] = "he-med",
	["Medieval Latin"] = "la-med",
	["Medieval Sinhalese"] = "si-med",
	["Mercian Old English"] = "ang-mer",
	["Mexican Spanish"] = "es-MX",
	["Meymehi"] = "xme-mey",
	["Middle Assyrian"] = "akk-mas",
	["Middle Babylonian"] = "akk-mbb",
	["Middle Bulgarian"] = "cu-bgm",
	["Middle Egyptian"] = "egy-mid",
	["Middle Elamite"] = "elx-mid",
	["Middle Georgian"] = "ka-mid",
	["Middle Hindi"] = "hi-mid",
	["Middle Japanese"] = "ja-mid",
	["Middle Konkani"] = "kok-mid",
	["Middle Polish"] = "zlw-mpl",
	["Middle Russian"] = "zle-mru",
	["Middle Scots"] = "sco-smi",
	["Middle Tamil"] = "ta-mid",
	["Minabi"] = "bsg-min",
	["Mishnaic Hebrew"] = "he-mis",
	["Mitanni"] = "inc-mit",
	["Mulaku Dhivehi"] = "mlk-dv",
	["Mumviri"] = "bsh-mum",
	["Nabataean Aramaic"] = "arc-nab",
	["Nancowry"] = "ncb-nan",
	["Naraqi"] = "xme-nar",
	["Nashalji"] = "xme-nas",
	["Natanzi"] = "ntz",
	["Nayini"] = "nyq",
	["Neo-Assyrian"] = "akk-nas",
	["Neo-Babylonian"] = "akk-nbb",
	["Neo-Elamite"] = "elx-neo",
	["Neo-Middle Egyptian"] = "egy-nmi",
	["New Latin"] = "la-new",
	["New Sanskrit"] = "sa-neo",
	["Northeastern Korean"] = "ko-ne",
	["Northeastern Pashto"] = "ps-nea",
	["Northern Middle English"] = "enm-nor",
	["Northern Scots"] = "sco-nor",
	["Northern Talysh"] = "tly-nor",
	["Northern Tati"] = "xme-ttc-nor",
	["Northumbrian Old English"] = "ang-nor",
	["Northwestern Korean"] = "ko-nw",
	["Northwestern Pashto"] = "ps-nwe",
	["Nuorese"] = "sc-nuo",
	["Nushabadi"] = "xme-nus",
	["Odri"] = "odr-prk",
	["Old Akkadian"] = "akk-old",
	["Old Aramaic"] = "arc-old",
	["Old Assyrian"] = "akk-oas",
	["Old Avestan"] = "ae-old",
	["Old Awadhi"] = "awa-old",
	["Old Azari"] = "xme-azr",
	["Old Babylonian"] = "akk-obb",
	["Old Belarusian"] = "zle-obe",
	["Old Braj"] = "bra-old",
	["Old Coptic"] = "cop-old",
	["Old East Norse"] = "non-oen",
	["Old Egyptian"] = "egy-old",
	["Old Elamite"] = "elx-old",
	["Old Gutnish"] = "non-ogt",
	["Old Italian"] = "it-oit",
	["Old Kazeruni"] = "fay-kzo",
	["Old Khotanese"] = "kho-old",
	["Old Kirghiz"] = "otk-kir",
	["Old Konkani"] = "kok-old",
	["Old Latin"] = "itc-ola",
	["Old Malay"] = "ms-old",
	["Old Mohawk"] = "iro-omo",
	["Old Northern French"] = "fro-nor",
	["Old Onondaga"] = "iro-oon",
	["Old Provençal"] = "oc-pro-old",
	["Old Shirazi"] = "fay-sho",
	["Old Tagalog"] = "tl-old",
	["Old Ukrainian"] = "zle-ouk",
	["Old Wendat"] = "iro-ohu",
	["Old West Norse"] = "non-own",
	["Old Xiang"] = "hsn-old",
	["Opuntian Locrian"] = "loc-opu",
	["Ordos Mongolian"] = "mn-ord",
	["Orma"] = "orc",
	["Oroshori"] = "sgh-oro",
	["Oxyrhynchite Coptic"] = "cop-oxy",
	["Ozolian Locrian"] = "loc-ozo",
	["Paisaci Prakrit"] = "inc-psi",
	["Palatine German"] = "pfl",
	["Palladius"] = "cmn-palladius",
	["Palmyrene Aramaic"] = "arc-pal",
	["Pamphylian Greek"] = "grc-pam",
	["Paphian Greek"] = "el-pap",
	["Papuni"] = "fay-pap",
	["Peshawari"] = "ps-pes",
	["Philippine Hokkien"] = "nan-ph",
	["Picard Old French"] = "fro-pic",
	["Pinghua"] = "zhx-pin",
	["Pracya"] = "prc-prk",
	["Pre-Angkorian Old Khmer"] = "okz-P",
	["Pre-Greek"] = "qfa-sub-grc",
	["Proto-Baltic"] = "bat-pro",
	["Proto-Finno-Permic"] = "urj-fpr-pro",
	["Proto-Finno-Ugric"] = "fiu-pro",
	["Proto-Lycopolitan Coptic"] = "cop-ply",
	["Proto-Oghuz"] = "trk-ogz-pro",
	["Proto-Tibeto-Burman"] = "tbq-pro",
	["Provençal"] = "oc-pro",
	["Puerto Rican Spanish"] = "es-PR",
	["Qalhari"] = "xme-qal",
	["Qashqai"] = "qxq",
	["Qohrudi"] = "xme-qoh",
	["Quanzhou Hokkien"] = "nan-qz",
	["Renaissance Latin"] = "la-ren",
	["Rioplatense Spanish"] = "es-AR",
	["Roshani"] = "sgh-ros",
	["Roshani-Khufi"] = "sgh-rsx",
	["Rudbari"] = "rdb-rud",
	["Sabari"] = "sbr-prk",
	["Sagzabadi"] = "tks-sag",
	["Sahidic Coptic"] = "cop-sah",
	["Saint Dominican Creole French"] = "ht-sdm",
	["Sakari"] = "skr-prk",
	["Samghani"] = "fay-sam",
	["Samnite"] = "osc-sam",
	["Sauraseni Prakrit"] = "inc-pse",
	["Sedehi"] = "xme-sed",
	["Shandarmani"] = "tly-san",
	["Shanghainese"] = "wuu-sha",
	["Shangsi Zhuang"] = "tai-shz",
	["Sher"] = "ps-ser",
	["Shirazi"] = "fay-shr",
	["Shuadit"] = "oc-jud",
	["Sichuanese"] = "cmn-sic",
	["Silesian German"] = "sli",
	["Soi"] = "soj",
	["Sorkhi"] = "fay-sor",
	["South Scots"] = "sco-sou",
	["Southeastern Korean"] = "ko-se",
	["Southeastern Pashto"] = "ps-sea",
	["Southern Balochi"] = "bcc",
	["Southern Talysh"] = "tly-sou",
	["Southern Tati"] = "xme-ttc-sou",
	["Southwestern Korean"] = "ko-sw",
	["Southwestern Pashto"] = "ps-swe",
	["Standard Babylonian"] = "akk-stb",
	["Suevic"] = "gem-sue",
	["Swiss High German"] = "de-CH",
	["Switzerland French"] = "fr-CH",
	["Switzerland Italian"] = "it-CH",
	["Takestani"] = "tks-tak",
	["Taleshdulabi"] = "tly-tal",
	["Tamahaq"] = "thv",
	["Tamasheq"] = "taq",
	["Tarehi"] = "xme-trh",
	["Tari"] = "xme-tar",
	["Tawellemmet"] = "ttq",
	["Tayert"] = "thz",
	["Thessalian Greek"] = "grc-ths",
	["Tongyong Pinyin"] = "cmn-tongyong",
	["Torlakian Serbo-Croatian"] = "sh-tor",
	["Tosk Albanian"] = "als",
	["Transalpine Gaulish"] = "xtg",
	["Tseku"] = "tsk",
	["Tularudi"] = "tly-tul",
	["Turdetani"] = "und-tdt",
	["Turduli"] = "und-tdl",
	["Ulster Scots"] = "sco-uls",
	["United States Spanish"] = "es-US",
	["Upper Saxon"] = "sxu",
	["Vafsi"] = "vaf",
	["Valencian"] = "ca-val",
	["Valujerdi"] = "xme-val",
	["Varani"] = "xme-var",
	["Varzenehi"] = "xme-vrz",
	["Vedic Sanskrit"] = "sa-ved",
	["Viennese German"] = "de-AT-vie",
	["Vivaro-Alpine"] = "oc-viv",
	["Vonishuni"] = "xme-von",
	["Vulgar Latin"] = "la-vul",
	["Waata"] = "ssn",
	["Wade–Giles"] = "cmn-wadegile",
	["Waziri"] = "ps-waz",
	["Western Balochi"] = "bgn",
	["Western Tati"] = "xme-ttc-wes",
	["Weyto"] = "woy",
	["Xiongnu"] = "und-xnu",
	["Yarandi"] = "xme-yar",
	["Yazdi"] = "xme-yaz",
	["Younger Avestan"] = "ae-yng",
	["Yukjin Korean"] = "ko-yuk",
	["Zefrehi"] = "xme-zef",
	["Zhangzhou Hokkien"] = "nan-zz",
	["Zori"] = "xme-zor",
	["Zoroastrian Dari"] = "gbz",
	["a pre-Roman substrate of Iberia"] = "qfa-sub-ibe",
	["a pre-Roman substrate of the Balkans"] = "qfa-sub-bal",
	["a substrate language originally spoken by the Pygmies"] = "qfa-pyg",
	["taxonomic name"] = "mul-tax",
	["the BMAC substrate"] = "qfa-sub-bma",
}