模組:Wikimedia languages/data
- 下列說明文檔位於Module:Wikimedia languages/data/doc。[編輯]
- 相關連結:根頁面 • 根頁面的子頁面 • 本頁面的子頁面 • 链入 • 嵌入包含 • 測試用例 • 沙盒
抄自英文版
local m = {}
--[=[
This table maps *FROM* Wikimedia language codes (used in lang-specific Wikipedias and Wiktionaries) into English Wiktionary language codes.
See also the following:
* `interwiki_langs` in [[Module:translations/data]], which maps in the other direction (from English Wiktionary codes to foreign Wiktionaries),
specifically for {{t+}};
* the `wiktprefix` field of the `metadata` variable in [[MediaWiki:Gadget-TranslationAdder-Data.js]], which also maps from English Wiktionary
codes to foreign Wiktionaries for use with the TranslationAdder gadget;
* the `wikimedia_codes` field of the language data in e.g. [[Module:languages/data/2]], which also maps from English Wiktionary codes to
Wikimedia language codes.
]=]
m["als"] = {
wiktionary_code = "gsw",
}
m["bat-smg"] = {
wiktionary_code = "sgs",
}
m["be-tarask"] = {
canonicalName = "白俄羅斯語傳統正寫法",
wiktionary_code = "be",
}
m["bs"] = {
canonicalName = "波士尼亞語",
wiktionary_code = "sh",
}
m["bxr"] = {
wiktionary_code = "bua",
}
m["diq"] = {
wiktionary_code = "zza",
}
m["eml"] = {
canonicalName = "艾米利亞-羅馬涅語",
wiktionary_code = "egl",
}
m["fiu-vro"] = {
wiktionary_code = "vro",
}
m["hr"] = {
canonicalName = "克羅埃西亞語",
wiktionary_code = "sh",
}
m["ksh"] = {
wiktionary_code = "gmw-cfr",
}
m["ku"] = {
canonicalName = "庫爾德語",
wiktionary_code = "kmr",
}
m["kv"] = {
canonicalName = "科米語",
wiktionary_code = "kpv",
}
m["nrm"] = {
wiktionary_code = "nrf",
}
m["prs"] = {
wiktionary_code = "fa",
}
m["roa-rup"] = {
wiktionary_code = "rup",
}
m["roa-tara"] = {
wiktionary_code = "roa-tar",
}
m["simple"] = {
canonicalName = "簡易英語",
wiktionary_code = "en",
}
m["sr"] = {
canonicalName = "塞爾維亞語",
wiktionary_code = "sh",
}
m["zh"] = {
canonicalName = "中文",
wiktionary_code = "zh",
}
m["zh-classical"] = {
wiktionary_code = "ltc",
}
m["zh-min-nan"] = {
canonicalName = "閩南語",
wiktionary_code = "nan-hbl",
}
m["zh-yue"] = {
wiktionary_code = "yue",
}
return m