Module:Languages/data/djp: Difference between revisions
< Module:Languages | data
Djpwikiadmin (talk | contribs) (Adding Chakobsa) |
No edit summary |
||
Line 36: | Line 36: | ||
-- DJP Languages | -- DJP Languages | ||
m["aazh"] = { | |||
"Aazh Naamori", | |||
nil, | |||
nil, | |||
"Latn", | |||
case_insensitive = true, | |||
standardChars = s["default-chars"] .. c.punc | |||
} | |||
m["afat"] = { | m["afat"] = { | ||
"Afata", | "Afata", | ||
Line 79: | Line 89: | ||
"assh", | "assh", | ||
"Latn", | "Latn", | ||
case_insensitive = true, | case_insensitive = true, | ||
sort_key = { | sort_key = { | ||
Line 85: | Line 94: | ||
to = {"a", "d" , "g" , "s" }} , | to = {"a", "d" , "g" , "s" }} , | ||
standardChars = s["default-chars"].."ɡʔʃðʼ'" .. c.punc, | standardChars = s["default-chars"].."ɡʔʃðʼ'" .. c.punc, | ||
} | } | ||
Line 155: | Line 156: | ||
to = {"a" , "i" , "o" , "u" }} , | to = {"a" , "i" , "o" , "u" }} , | ||
standardChars = s["default-chars"].."ÁáÍíÓóÚú" .. c.punc, | standardChars = s["default-chars"].."ÁáÍíÓóÚú" .. c.punc, | ||
} | |||
m["enga"] = { | |||
"Engála", | |||
nil, | |||
nil, | |||
"Latn", | |||
case_insensitive = true, | |||
standardChars = s["default-chars"] .. c.punc | |||
} | } | ||
Line 206: | Line 216: | ||
to = {"a" , "E", "e" , "i" , "o" , "u" }} , | to = {"a" , "E", "e" , "i" , "o" , "u" }} , | ||
standardChars = s["default-chars"].."ÖöÜüƎǝ" .. c.punc, | standardChars = s["default-chars"].."ÖöÜüƎǝ" .. c.punc, | ||
} | |||
m["haug"] = { | |||
"Haughòf ", | |||
nil, | |||
nil, | |||
"Latn", | |||
case_insensitive = true, | |||
standardChars = s["default-chars"] .. c.punc | |||
} | } | ||
Line 271: | Line 290: | ||
"Latn", | "Latn", | ||
case_insensitive = true | case_insensitive = true | ||
} | |||
m["kezh"] = { | |||
"Kezhwa", | |||
nil, | |||
nil, | |||
"Latn", | |||
case_insensitive = true, | |||
standardChars = s["default-chars"] .. c.punc | |||
} | } | ||
Revision as of 08:00, 14 September 2023
Documentation for this module may be created at Module:Languages/data/djp/documentation
local u = mw.ustring.char
local m_langdata = require("Module:languages/data")
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["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"] = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÆæØøÅå" .. c.punc
s["default-chars"] = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789"
s["ru-Cyrl-entryname"] = {
remove_diacritics = c.grave .. c.acute .. c.diaer,
remove_exceptions = {"Ё", "ё", "Ѣ̈", "ѣ̈", "Я̈", "я̈"}
}
s["ru-Cyrl-sortkey"] = {
from = {
"ё", "ѣ̈", "я̈", -- 2 chars
"і", "ѣ", "ѳ", "ѵ" -- 1 char
},
to = {
"е" .. p[1], "ь" .. p[2], "я" .. p[1],
"и" .. p[1], "ь" .. p[1], "я" .. p[2], "я" .. p[3]
}
}
local m = {}
-- DJP Languages
m["aazh"] = {
"Aazh Naamori",
nil,
nil,
"Latn",
case_insensitive = true,
standardChars = s["default-chars"] .. c.punc
}
m["afat"] = {
"Afata",
"Q999999017",
"atha",
"Latn",
ancestors = {"veda"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e", "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÖöÜüÚú" .. c.punc,
}
m["asgr"] = {
"Asgardian",
"Q99999900A",
"x",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e", "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÖöÜüÚú" .. c.punc,
}
m["asta"] = {
"Astapori Valyrian",
"Q999999005",
"valy-high",
"Latn",
ancestors = {"hval"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e", "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÚú" .. c.punc,
}
m["assh"] = {
"Asshai'i",
"Q999999038",
"assh",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ']", "[dð]", "[gɡ]", "[sʃ]" },
to = {"a", "d" , "g" , "s" }} ,
standardChars = s["default-chars"].."ɡʔʃðʼ'" .. c.punc,
}
m["azra"] = {
"Azrán",
"Q999999030",
"roa-ibe",
"Latn",
ancestors = {"es"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÂâÉéÊêÍíÎîÓóÔôÚúÛû" .. c.punc,
}
m["bodz"] = {
"Bodzvokhan",
"Q999999002",
"orci",
"Vkht,Cyrl,Latn",
ancestors = {"sung"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéêǝ]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÖöÜüƎǝ" .. c.punc,
}
m["cast"] = {
"Castithan",
"Q999999010",
"kast",
"Latn",
ancestors = {"ocst"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéêǝ]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÚú" .. c.punc,
}
m["chak"] = {
"Chakobsa",
nil,
nil,
"Latn,Dinl",
case_insensitive = true,
standardChars = s["default-chars"] .. c.punc
}
m["doth"] = {
"Dothraki",
"Q999999007",
"plai",
"Latn",
ancestors = {"ppla"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÍíÓóÚú" .. c.punc,
}
m["enga"] = {
"Engála",
nil,
nil,
"Latn",
case_insensitive = true,
standardChars = s["default-chars"] .. c.punc
}
m["fjer"] = {
"Fjerdan",
"x",
"x",
"Latn",
case_insensitive = true
}
m["gand"] = {
"Gandal",
"Q999999016",
"atha",
"Latn",
ancestors = {"veda"},
case_insensitive = true
}
m["gern"] = {
"Gerna Mohr",
"x",
"x",
"Latn",
case_insensitive = true
}
m["ghis"] = {
"Ghiscari",
"Q999999024",
"ghis",
"Latn",
ancestors = {"oghi"},
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[gɡɣ]" },
to = {"a" , "g" }} ,
standardChars = s["default-chars"].."ɡʔɢɣʼʀ" .. c.punc,
}
m["gvun"] = {
"G'Vunna",
"Q999999018",
"atha",
"Gvoz,Latn",
ancestors = {"veda"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "Ǝ", "[ëèéêǝ]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "E", "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÖöÜüƎǝ" .. c.punc,
}
m["haug"] = {
"Haughòf ",
nil,
nil,
"Latn",
case_insensitive = true,
standardChars = s["default-chars"] .. c.punc
}
m["henl"] = {
"Hen Linge",
"Q999999021",
"elve",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÍíÓóÖöÚú" .. c.punc,
}
m["hval"] = {
"High Valyrian",
"Q999999004",
"valy-high",
"Latn,Hvlr",
ancestors = {"oval"},
case_insensitive = true,
sort_key = {
from = {"Ā", "[äàáâåā]", "Ē", "[ëèéêē]", "Ī", "[ïìíîī]", "Ñ", "ñ", "Ō", "[öòóôō]", "Ū", "[üùúûū]", "Ȳ", "[ÿȳ]" },
to = {"A", "a" , "E", "e" , "I", "i" , "N", "n", "O", "o" , "U", "u" , "Y", "y" }} ,
standardChars = s["default-chars"].."ĀāĒēĪīÑñŌōŪūȲȳ" .. c.punc,
}
m["indo"] = {
"Indojisnen",
"Q999999026",
"x",
"Latn",
case_insensitive = true
}
m["inha"] = {
"Inha",
"Q999999027",
"x",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ïìíî]", "[ëèéêǝ]", "[öòóô]", "[üùúû]" },
to = {"a" , "i", "e" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÚú" .. c.punc,
}
m["irat"] = {
"Irathient",
"x",
"x",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "Ǝ", "[ëèéêǝ]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "E", "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."Ǝǝ" .. c.punc,
}
m["kama"] = {
"Kamakawi",
"x",
"x",
"Latn",
case_insensitive = true
}
m["kezh"] = {
"Kezhwa",
nil,
nil,
"Latn",
case_insensitive = true,
standardChars = s["default-chars"] .. c.punc
}
m["kinu"] = {
"Kinuk'aaz",
"Q999999023",
"omec",
"Zadu,Latn",
ancestors = {"pkin"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÖöÜü" .. c.punc,
}
m["lhaz"] = {
"Lhazareen",
"Q999999040",
"plai",
"Latn",
ancestors = {"ppla"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÍíÓóÚú" .. c.punc,
}
m["lish"] = {
"Lishepus",
"Q999999022",
"x",
"Latn",
ancestors = {"ine-pro", "afa-pro"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÂâÉéÊêÍíÎîÓóÔôÚúÛû" .. c.punc,
}
m["magn"] = {
"Mag Nuk",
"Q999999039",
"magn",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ']", "[gɡ]" },
to = {"a", "g" }} ,
standardChars = s["default-chars"].."ɡ" .. c.punc,
}
m["meer"] = {
"Meereenese Valyrian",
"Q999999006",
"valy-high",
"Latn",
ancestors = {"hval"},
case_insensitive = true
}
m["meni"] = {
"Méníshè",
"Q999999033",
"witc",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ïìíî]", "[ëèéêǝ]", "[öòóô]", "[üùúû]" },
to = {"a" , "i", "e" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÀàÁáÂâÈèÉéÊêÌìÍíÎîÒòÓóÔôÙùÚúÛû" .. c.punc,
}
m["munj"] = {
"Munja'kin",
"Q999999013",
"munc",
"Latn",
ancestors = {"pmun"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÍíÓóÚú" .. c.punc,
}
m["nelv"] = {
"Nelvayu",
"Q999999034",
"xX",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóôő]", "[üùúûű]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÔôÖöŐőÚúÛûÜüŰű" .. c.punc,
}
m["noal"] = {
"Noalath",
"Q999999031",
"x",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóôő]", "[üùúûű]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÁáÉéÍíÓóÔôÖöŐőÚúÛûÜüŰű" .. c.punc,
}
m["ocst"] = {
"Old Castithan",
"Q999999009",
"kast",
"Latn",
ancestors = {"pcst"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ɓ]", "[ɗ]", "[ëèéêǝ]", "[ɠ]", "[ïìíî]", "[ŋ]", "[öòóô]", "[θ]", "[üùúû]" },
to = {"a", "b" , "d" , "e", "g" , "i" , "o", "t" , "u" }} ,
standardChars = s["default-chars"].."ÁáƁɓƊɗƓɠÉéÍíŊŋÓóθÚú" .. c.punc,
}
m["oval"] = {
"Old Valyrian",
"Q999999003",
"valy",
"Latn",
case_insensitive = true
}
m["ovus"] = {
"Övüsi",
"Q999999036",
"elvi",
"Latn",
ancestors = {"povu"},
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ËëÏïÖöÜü" .. c.punc,
}
m["pcst"] = {
"Proto-Castithan",
"Q999999011",
"kast",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[ɓ]", "[ðɗɖ]", "[gɡɠɣɢ]", "[ŋɴ]", "[ʂ]", "[θƭ]", "[ʐʒ]" },
to = {"a", "b", "d" , "g", "n", "s", "t", "z" }} ,
standardChars = s["default-chars"].."ɡʔɓðɖɗɡɣɢɠŋɴʂθƭʐʒʃɲᵐⁿᵑʼ" .. c.punc,
}
m["pkin"] = {
"Proto-Kinuk'aaz",
"Q999999024",
"omec",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[gɡɣ]" },
to = {"a" , "g" }} ,
standardChars = s["default-chars"].."ɡʔɢɣʼʀ" .. c.punc,
}
m["pmen"] = {
"Proto-Méníshè",
"Q999999035",
"witc",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåā]", "[gɡɣ]", "[šʃ]", "[žʒ]" },
to = {"a" , "g", "s", "z" }} ,
standardChars = s["default-chars"].."ɡɣʃʒʔ" .. c.punc,
}
m["pmun"] = {
"Proto-Munja'kin",
"Q999999012",
"munc",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåā]", "[gɡɣ]", "[šʃ]", "[žʒ]" },
to = {"a" , "g", "s", "z" }} ,
standardChars = s["default-chars"].."ɡɣʃʒʔ" .. c.punc,
}
m["povu"] = {
"Proto-Övüsi",
"Q999999037",
"elvi",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâåā]", "[gɡɣ]", "[šʃ]", "[žʒ]" },
to = {"a" , "g", "s", "z" }} ,
standardChars = s["default-chars"].."ɡɣʃʒʔ" .. c.punc,
}
m["ppla"] = {
"Proto-Plains",
"Q999999008",
"plai",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[gɡɣ]" },
to = {"a" , "g" }} ,
standardChars = s["default-chars"].."ɡʔɣθɬɛɔɑɨǝəʃʒ" .. c.punc,
}
m["psnd"] = {
"Proto-Sondiv",
"Q999999020",
"atri",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[gɡɣ]" },
to = {"a" , "g" }} ,
standardChars = s["default-chars"].."ɡʔʃʒ" .. c.punc,
}
m["pved"] = {
"Proto-Veda",
"Q999999014",
"atha",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[gɡɣ]" },
to = {"a" , "g" }} ,
standardChars = s["default-chars"].."ɡʔŋɲʃʒɣ" .. c.punc,
}
m["ravk"] = {
"Ravkan",
"x",
"x",
"Latn",
case_insensitive = true
}
m["shiv"] = {
"Shiväisith",
"Q999999029",
"x",
"Todj,Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÄäÖö" .. c.punc,
}
m["sond"] = {
"Sondiv",
"Q999999019",
"atri",
"Kwan,Latn",
ancestors = {"psnd"},
case_insensitive = true
}
m["sung"] = {
"Sungdin",
"Q999999001",
"orci",
"Latn",
type = "reconstructed",
case_insensitive = true,
sort_key = {
from = {"[äàáâåāʔ]", "[gɡɣɢ]" },
to = {"a" , "g" }} ,
standardChars = s["default-chars"].."ɡʔɢʀʁɣχħ" .. c.punc,
}
m["trig"] = {
"Trigedasleng",
"Q999999028",
"gmw",
"Latn",
ancestors = {"en"},
case_insensitive = true,
sort_key = {
from = {"[äàáâåæ]", "[ëèéêǝəɛ]", "[ïìíî]", "[gɡɣɢ]", "[öòóôɔ]", "[ɹɾ]", "[ʃ]", "[θþ]", "[üùúû]" },
to = {"a" , "e" , "i", "g" , "o", "r", "s", "t" , "u" }} ,
standardChars = s["default-chars"] .. c.punc,
}
m["veda"] = {
"Veda",
"Q999999015",
"atha",
"Wlqr,Latn",
ancestors = {"pved"},
case_insensitive = true,
sort_key = {
from = {"Ǝ", "[əǝ]" },
to = {"E", "e" }} ,
standardChars = s["default-chars"].."Ǝǝ" .. c.punc,
}
m["vzaa"] = {
"Væyne Zaanics",
"Q999999025",
"x",
"Latn,Yesu",
case_insensitive = true,
sort_key = {
from = {"[äàáâåæ]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[þ]", "[üùúû]" },
to = {"a" , "e" , "i" , "o", "t" , "u" }} ,
standardChars = s["default-chars"].."ÆæÞþ" .. c.punc,
}
m["yuli"] = {
"Yulish",
"Q999999032",
"x",
"Latn",
case_insensitive = true,
sort_key = {
from = {"[äàáâå]", "[ëèéê]", "[ïìíî]", "[öòóô]", "[üùúû]" },
to = {"a" , "e" , "i" , "o" , "u" }} ,
standardChars = s["default-chars"].."ÖöÜü" .. c.punc,
}
return require("Module:languages").addDefaultTypes(m, true)