local u = require("Module:string/char")
local m_langdata = require("Module:languages/data")
local c = m_langdata.chars
local p = m_langdata.puaChars
local s = m_langdata.shared
local m = {}
m["oaa"] = {
"tiếng Orok",
33928,
"tuw",
"Cyrl, Latn",
"Tiếng Orok",
"Orok",
}
m["oac"] = {
"tiếng Oroch",
33650,
"tuw",
"Latn, Cyrl",
"Tiếng Oroch",
"Oroch",
}
m["oav"] = {
"Old Avar",
nil,
"cau-ava",
scripts = {"Geor"},
}
m["obi"] = {
"Obispeño",
"Q1288385",
"nai-chu",
scripts = Latn,
}
m["obk"] = {
"Southern Bontoc",
nil,
"phi",
otherNames = {"Southern Bontok"},
scripts = Latn,
}
m["obl"] = {
"Oblo",
"Q36309",
}
m["obm"] = {
"Moabite",
"Q36385",
"sem-can",
scripts = {"Phnx"},
translit_module = "Phnx-translit",
}
m["obo"] = {
"Obo Manobo",
"Q12953699",
"mno",
otherNames = {"Obo"},
scripts = Latn,
}
m["obr"] = {
"tiếng Miến Điện cổ",
17006600,
"tbq-brm",
"Mymr, Latn", --and also Pallava
"Tiếng Miến Điện cổ",
"Miến Điện cổ",
}
m["obt"] = {
"tiếng Breton cổ",
3558112,
"cel-bry",
"Latn",
"Tiếng Breton cổ",
"Breton cổ",
}
m["obu"] = {
"Obulom",
"Q3813403",
"nic-cde",
scripts = Latn,
}
m["oca"] = {
"tiếng Ocaina",
"Q3182577",
"sai-wit",
scripts = Latn,
}
m["och"] = {
"tiếng Hán thượng cổ",
35137,
"zhx",
"Hant",
"Tiếng Hán thượng cổ",
"Hán thượng cổ",
translit = "zh-translit",
sort_key = "Hani-sortkey",
}
m["oco"] = {
"Old Cornish",
"Q48304520",
"cel-bry",
scripts = Latn,
}
m["ocu"] = {
"Tlahuica",
"Q10751739",
"omq",
otherNames = {"Ocuiltec", "Atzingo Matlatzinca"},
scripts = Latn,
}
m["oda"] = {
"Odut",
"Q3915388",
"nic-uce",
ancestors = {"mfn"},
scripts = Latn,
}
m["odk"] = {
"Od",
"Q7077191",
"inc-wes",
scripts = {"Arab"},
}
m["odt"] = {
"tiếng Hà Lan cổ",
443089,
"gmw-frk",
"Latn, Runr",
"Tiếng Hà Lan cổ",
"Hà Lan cổ",
ancestors = "frk",
entry_name = {remove_diacritics = c.circ .. c.macron},
}
m["odu"] = {
"Odual",
"Q3813392",
"nic-cde",
scripts = Latn,
}
m["ofo"] = {
"Ofo",
"Q3349758",
"sio-ohv",
}
m["ofs"] = {
"tiếng Frisia cổ",
35133,
"gmw-fri",
"Latn",
"Tiếng Frisia cổ",
"Frisia cổ",
entry_name = {remove_diacritics = c.circ .. c.macron},
}
m["ofu"] = {
"Efutop",
"Q35297",
"nic-eko",
scripts = Latn,
}
m["ogb"] = {
"Ogbia",
"Q3813400",
"nic-cde",
scripts = Latn,
}
m["ogc"] = {
"Ogbah",
"Q36291",
"alv-igb",
scripts = Latn,
}
m["oge"] = {
"tiếng Gruzia cổ",
34834,
"ccs-gzn",
"Geor, Geok",
"Tiếng Gruzia cổ",
"Gruzia cổ",
translit = {
Geor = "Geor-translit",
Geok = "Geok-translit",
},
override_translit = true,
entry_name = {remove_diacritics = c.circ},
}
m["ogg"] = {
"Ogbogolo",
"Q3813405",
"nic-cde",
scripts = Latn,
}
m["ogo"] = {
"Khana",
"Q3914409",
"nic-ogo",
scripts = Latn,
}
m["ogu"] = {
"Ogbronuagum",
"Q3914485",
"nic-cde",
scripts = Latn,
}
m["ohu"] = {
"Old Hungarian",
nil,
"urj-ugr",
scripts = Latn,
}
m["oia"] = {
"Oirata",
"Q56738",
"ngf",
scripts = Latn,
}
m["oin"] = {
"Inebu One",
"Q12953782",
"qfa-tor",
}
m["ojb"] = {
"Northwestern Ojibwa",
"Q7060356",
"alg",
ancestors = {"oj"},
scripts = Latn,
}
m["ojc"] = {
"Central Ojibwa",
"Q5061548",
"alg",
ancestors = {"oj"},
scripts = Latn,
}
m["ojg"] = {
"Eastern Ojibwa",
"Q5330342",
"alg",
ancestors = {"oj"},
scripts = Latn,
}
m["ojp"] = {
"tiếng Nhật cổ",
5736700,
"jpx",
"Jpan",
"Tiếng Nhật cổ",
"Nhật cổ",
sort_key = "Jpan-sortkey",
}
m["ojs"] = {
"Severn Ojibwa",
"Q56494",
"alg",
ancestors = {"oj"},
scripts = Latn,
}
m["ojv"] = {
"Ontong Java",
"Q7095071",
"poz-pnp",
scripts = Latn,
}
m["ojw"] = {
"Western Ojibwa",
"Q3474222",
"alg",
ancestors = {"oj"},
scripts = Latn,
}
m["oka"] = {
"Okanagan",
"Q2984602",
"sal",
otherNames = {"Okanagan Salish", "Okanagan-Colville", "Colville-Okanagan"},
scripts = Latn,
}
m["okb"] = {
"Okobo",
"Q3813398",
"nic-lcr",
scripts = Latn,
}
m["okd"] = {
"Okodia",
"Q36300",
"ijo",
otherNames = {"Okordia", "Akita"},
}
m["oke"] = {
"Okpe (Southwestern Edo)",
"Q268924",
"alv-swd",
otherNames = {"Okpe", "Okpe (Nigeria)", "Southwestern Edo"},
scripts = Latn,
}
m["okg"] = {
"Kok-Paponk",
nil,
"aus-pmn",
scripts = Latn,
}
m["okh"] = {
"Koresh-e Rostam",
"Q6432160",
"xme-ttc",
ancestors = {"xme-ttc-cen"},
}
m["oki"] = {
"Okiek",
"Q56367",
"sdv-kln",
otherNames = {"Ogiek", "Akiek", "Akie", "Aki", "Mosiro", "Mediak", "Kisankasa"},
scripts = Latn,
}
m["okj"] = {
"Oko-Juwoi",
"Q3436832",
"qfa-adc",
otherNames = {"Juwoi", "Juwai", "Junoi"},
}
m["okk"] = {
"Kwamtim One",
"Q19830649",
"qfa-tor",
scripts = Latn,
}
m["okl"] = {
"Old Kentish Sign Language",
"Q7084319",
"sgn",
}
m["okm"] = {
"tiếng Triều Tiên trung đại",
715339,
"qfa-kor",
"Kore",
"Tiếng Triều Tiên trung đại",
"Triều Tiên trung đại",
ancestors = "oko",
translit = "okm-translit",
entry_name = s["Kore-entryname"],
}
m["okn"] = {
"tiếng Okinoerabu",
3350036,
"jpx-ryu",
"Jpan",
"Tiếng Okinoerabu",
"Okinoerabu",
translit = s["Jpan-translit"],
sort_key = s["Jpan-sortkey"],
}
m["oko"] = {
"tiếng Triều Tiên cổ",
715364,
"qfa-kor",
"Kore",
"Tiếng Triều Tiên cổ",
"Triều Tiên cổ",
entry_name = s["Kore-entryname"],
}
m["okr"] = {
"Kirike",
"Q11006763",
"ijo",
}
m["oks"] = {
"Oko-Eni-Osayen",
"Q36302",
"alv-von",
scripts = Latn,
}
m["oku"] = {
"Oku",
"Q36289",
"nic-rnc",
scripts = Latn,
}
m["okv"] = {
"Orokaiva",
"Q7103752",
"ngf",
scripts = Latn,
}
m["okx"] = {
"Okpe (Northwestern Edo)",
"Q7082547",
"alv-nwd",
otherNames = {"Okpe", "Okpe (Nigeria)"},
scripts = Latn,
}
m["okz"] = {
"tiếng Khmer cổ",
9205,
"mkh-kmr",
"Latnx, Khmr", --and also Pallava
"Tiếng Khmer cổ",
"Khmer cổ",
}
m["old"] = {
"Mochi",
"Q12952852",
"bnt-chg",
scripts = Latn,
}
m["ole"] = {
"Olekha",
"Q3695204",
"sit-bdi",
}
m["olm"] = {
"Oloma",
"Q3441166",
"alv-nwd",
scripts = Latn,
}
m["olo"] = {
"Livvi",
"Q36584",
"fiu-fin",
otherNames = {"Livvi-Karelian", "Livvikovian", "Olonets", "Southern Olonetsian"},
scripts = Latn,
}
m["olr"] = {
"Olrat",
"Q3351562",
"poz-vnc",
}
m["olt"] = {
"Old Lithuanian",
"Q17417801",
"bat",
scripts = Latn,
entry_name = {
from = {"[áãà]", "[éẽè]", "[íĩì]", "[ýỹ]", "ñ", "[óõò]", "[úù]", ACUTE, GRAVE, TILDE},
to = {"a" , "e" , "i", "y" , "n", "o" , "u" }} ,
}
m["olu"] = {
"Kuvale",
"Q6448765",
"bnt-swb",
scripts = Latn,
}
m["oma"] = {
"Omaha-Ponca",
"Q2917968",
"sio-dhe",
otherNames = {"Omaha", "Ponca"},
scripts = Latn,
}
m["omb"] = {
"Omba",
"Q2841471",
"poz-vnc",
otherNames = {"East Ambae"},
scripts = Latn,
}
m["omc"] = {
"Mochica",
"Q1951641",
}
m["omg"] = {
"Omagua",
"Q33663",
"tup-gua",
otherNames = {"Agua", "Cambeba", "Cambeeba", "Kambeba", "Cambela", "Campeba", "Compeva", "Umaua", "Omáua", "Omaua", "Omayali"}, -- last three might actually be names of a different language
scripts = Latn,
}
m["omi"] = {
"Omi",
"Q56795",
"csu-mma",
}
m["omk"] = {
"tiếng Omok",
4334657,
"qfa-yuk",
"Cyrl",
"Tiếng Omok",
"Omok",
translit = "omk-translit",
}
m["oml"] = {
"Ombo",
"Q7089928",
"bnt-tet",
scripts = Latn,
}
m["omn"] = {
"Minoan",
"Q1669994",
scripts = {"Lina"},
}
m["omo"] = {
"Utarmbung",
"Q7902577",
"ngf",
scripts = Latn,
}
m["omp"] = {
"Old Manipuri",
nil,
"sit",
}
m["omr"] = {
"Old Marathi",
nil,
"inc-sou",
scripts = {"Deva", "Modi"},
ancestors = {"pmh"},
translit_module = "translit-redirect",
}
m["omt"] = {
"Omotik",
"Q36313",
"sdv-nis",
}
m["omu"] = {
"Omurano",
"Q1957612",
}
m["omw"] = {
"South Tairora",
"Q20210553",
"paa-kag",
scripts = Latn,
}
m["omx"] = {
"Old Mon",
nil,
"mkh-mnc",
scripts = {"Mymr", "Latn"}, --and also Pallava
}
m["ona"] = {
"Selk'nam",
"Q2721227",
"sai-cho",
otherNames = {"Ona", "Aona", "Selknam", "Shelknam"},
scripts = Latn,
}
m["onb"] = {
"Lingao",
"Q7093790",
"qfa-onb",
aliases = {"Ong-Be", "Be", "Bê"},
}
m["one"] = {
"Oneida",
"Q857858",
"iro",
scripts = Latn,
}
m["ong"] = {
"Olo",
"Q592162",
"qfa-tor",
scripts = Latn,
}
m["oni"] = {
"Onin",
"Q7093910",
"poz-cet",
scripts = Latn,
}
m["onj"] = {
"Onjob",
"Q7093968",
"ngf",
scripts = Latn,
}
m["onk"] = {
"Kabore One",
"Q12953783",
"qfa-tor",
scripts = Latn,
}
m["onn"] = {
"Onobasulu",
"Q7094437",
"ngf",
scripts = Latn,
}
m["ono"] = {
"Onondaga",
"Q1077450",
"iro",
scripts = Latn,
}
m["onp"] = {
"Sartang",
"Q7424639",
"sit-khb",
}
m["onr"] = {
"Northern One",
"Q19830648",
"qfa-tor",
scripts = Latn,
}
m["ons"] = {
"Ono",
"Q11732548",
"ngf",
scripts = Latn,
}
m["ont"] = {
"Ontenu",
"Q3352827",
}
m["onu"] = {
"Unua",
"Q3552042",
"poz-vnc",
otherNames = {"Onua"},
scripts = Latn,
}
m["onw"] = {
"Old Nubian",
"Q2268",
"nub",
scripts = {"Copt"},
}
m["onx"] = {
"Pidgin Onin",
"Q12953788",
"crp",
scripts = Latn,
ancestors = {"oni"},
}
m["ood"] = {
"O'odham",
"Q2393095",
"azc",
otherNames = {"Papago"},
scripts = Latn,
}
m["oog"] = {
"Ong",
"Q12953787",
"mkh-kat",
}
m["oon"] = {
"Önge",
"Q2475551",
"qfa-ong",
}
m["oor"] = {
"Oorlams",
"Q2484337",
}
m["oos"] = {
"tiếng Ossetia cổ",
nil,
"xsc",
"Grek, Latn",
"Tiếng Ossetia cổ",
"Ossetia cổ",
translit = "grc-translit",
ancestors = "os-pro",
}
m["opa"] = {
"Okpamheri",
"Q3913331",
"alv-nwd",
otherNames = {"Opameri", "Ibilo"},
scripts = Latn,
}
m["opk"] = {
"Kopkaka",
"Q6431129",
"ngf-okk",
scripts = Latn,
}
m["opm"] = {
"Oksapmin",
"Q1068097",
"ngf",
scripts = Latn,
}
m["opo"] = {
"Opao",
"Q7095585",
"ngf",
scripts = Latn,
}
m["opt"] = {
"Opata",
"Q2304583",
"azc-trc",
otherNames = {"Heve", "Hegue", "Eudeve", "Teguima"},
scripts = Latn,
}
m["opy"] = {
"Ofayé",
"Q3446691",
"sai-mje",
scripts = Latn,
}
m["ora"] = {
"Oroha",
"Q36298",
"poz-sls",
}
m["ore"] = {
"Orejón",
"Q3355834",
"sai-tuc",
scripts = Latn,
}
m["org"] = {
"Oring",
"Q3915308",
"nic-ucn",
scripts = Latn,
}
m["orh"] = {
"tiếng Oroqen",
1367309,
"tuw",
"Latn",
"Tiếng Oroqen",
"Oroqen",
}
m["oro"] = {
"Orokolo",
"Q7103758",
"ngf",
scripts = Latn,
}
m["orr"] = {
"Oruma",
"Q36299",
"ijo",
scripts = Latn,
}
m["ort"] = {
"Adivasi Oriya",
"Q12953791",
"inc-eas",
scripts = {"Orya"},
ancestors = {"or"},
}
m["oru"] = {
"Ormuri",
"Q33740",
"ira-orp",
scripts = {"fa-Arab"},
}
m["orv"] = {
"tiếng Slav Đông cổ",
35228,
"zle",
"Cyrs",
"Tiếng Slav Đông cổ",
"Slav Đông cổ",
translit = "Cyrs-Glag-translit",
entry_name = s["Cyrs-entryname"],
sort_key = s["Cyrs-sortkey"],
}
m["orw"] = {
"Oro Win",
"Q3450423",
"sai-cpc",
scripts = Latn,
}
m["orx"] = {
"Oro",
"Q3813396",
"nic-lcr",
scripts = Latn,
}
m["orz"] = {
"Ormu",
"Q7103494",
"poz-ocw",
scripts = Latn,
}
m["osa"] = {
"Osage",
"Q2600085",
"sio-dhe",
scripts = {"Latn", "Osge"},
}
m["osc"] = {
"Oscan",
"Q36653",
"itc",
scripts = {"Ital", "Latn"},
translit_module = "Ital-translit",
}
m["osi"] = {
"Osing",
"Q2701322",
"poz-sus",
scripts = Latn,
}
m["oso"] = {
"Ososo",
"Q3913398",
"alv-yek",
scripts = Latn,
}
m["osp"] = {
"Old Spanish",
"Q1088025",
"roa-ibe",
scripts = Latn,
}
m["ost"] = {
"Osatu",
"Q36243",
"nic-grs",
scripts = Latn,
}
m["osu"] = {
"Southern One",
"Q12953785",
"qfa-tor",
scripts = Latn,
}
m["osx"] = {
"tiếng Saxon cổ",
35219,
"gmw",
"Latn",
"Tiếng Saxon cổ",
"Saxon cổ",
entry_name = {remove_diacritics = c.circ .. c.macron},
}
m["ota"] = {
"tiếng Thổ Nhĩ Kỳ Ottoman",
36730,
"trk-ogz",
"ota-Arab, Armn",
"Tiếng Thổ Nhĩ Kỳ Ottoman",
"Thổ Nhĩ Kỳ Ottoman",
ancestors = "trk-oat",
entry_name = {remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.hamzaabove .. c.superalef},
}
m["otd"] = {
"Ot Danum",
"Q3033781",
"poz-brw",
otherNames = {"Dohoi"},
scripts = Latn,
}
m["ote"] = {
"Mezquital Otomi",
"Q23755711",
"oto-otm",
scripts = Latn,
}
m["oti"] = {
"Oti",
"Q3357881",
}
m["otk"] = {
"tiếng Turk cổ",
34988,
"trk",
"Orkh",
"Tiếng Turk cổ",
"Turk cổ",
translit = "Orkh-translit",
}
m["otl"] = {
"Tilapa Otomi",
"Q7802050",
"oto-otm",
scripts = Latn,
}
m["otm"] = {
"Eastern Highland Otomi",
"Q13581718",
"oto-otm",
scripts = Latn,
}
m["otn"] = {
"Tenango Otomi",
"Q25559589",
"oto-otm",
scripts = Latn,
}
m["otq"] = {
"Querétaro Otomi",
"Q23755688",
"oto-otm",
scripts = Latn,
}
m["otr"] = {
"Otoro",
"Q36328",
"alv-hei",
}
m["ots"] = {
"Estado de México Otomi",
"Q7413841",
"oto-otm",
scripts = Latn,
}
m["ott"] = {
"Temoaya Otomi",
"Q7698191",
"oto-otm",
scripts = Latn,
}
m["otu"] = {
"Otuke",
"Q7110049",
"sai-mje",
scripts = Latn,
}
m["otw"] = {
"Ottawa",
"Q133678",
"alg",
ancestors = {"oj"},
scripts = Latn,
}
m["otx"] = {
"Texcatepec Otomi",
"Q25559590",
"oto-otm",
scripts = Latn,
}
m["oty"] = {
"tiếng Tamil cổ",
20987452,
"dra",
"Brah",
translit = "Brah-translit",
"Tiếng Tamil cổ",
"Tamil cổ",
}
m["otz"] = {
"Ixtenco Otomi",
"Q6101171",
"oto-otm",
scripts = Latn,
}
m["oua"] = {
"Tagargrent",
"Q56586",
"ber",
otherNames = {"Ouargli", "Wargli", "Teggargrent"},
}
m["oub"] = {
"Glio-Oubi",
"Q3914977",
"kro-grb",
}
m["oue"] = {
"Oune",
"Q7110521",
"paa-sbo",
}
m["oui"] = {
"tiếng Duy Ngô Nhĩ cổ",
nil,
"trk-sib",
"Ougr, Latn, Brah, Mani, Syrc, Phag",
"Tiếng Duy Ngô Nhĩ cổ",
"Duy Ngô Nhĩ cổ",
}
m["oum"] = {
"Ouma",
"Q7110494",
"poz-ocw",
scripts = Latn,
}
m["ovd"] = {
"Elfdalian",
"Q254950",
"gmq",
otherNames = {"Övdalian"},
scripts = Latn,
ancestors = {"non"},
}
m["owi"] = {
"Owiniga",
"Q56454",
"qfa-mal",
scripts = Latn,
}
m["owl"] = {
"Old Welsh",
"Q2266723",
"cel-bry",
scripts = Latn,
}
m["oyb"] = {
"Oy",
"Q13593748",
"mkh-ban",
otherNames = {"Oi", "The"}, -- The is a dialect of Oi. No, seriously.
}
m["oyd"] = {
"Oyda",
"Q7116251",
"omv-nom",
}
m["oym"] = {
"tiếng Wayampi",
"Q7975842",
"tup-gua",
otherNames = {"Guayapi", "Oiampi", "Oiampí"},
scripts = Latn,
}
m["oyy"] = {
"Oya'oya",
"Q7116243",
"poz-ocw",
scripts = Latn,
}
m["ozm"] = {
"tiếng Koonzime",
"Q35566",
"bnt-ndb",
scripts = Latn,
}
return require("Module:languages").addDefaultTypes(m, true)