Module:languages/data/3/o
Appearance
< Module:languages | data
- පහත දැක්වෙන උපදෙස්, Template:language data documentation මගින් ජනනය කොට ඇත. [සංස්කරණය කරන්න]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • testcases • sandbox
This module contains definitions and metadata for three-letter language codes starting with "o
". 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/3/o/extra.
Errors
[සංස්කරණය]The following errors were detected by Module:data consistency check:
- Norwegian Bokmål (
nb
) has Middle Norwegian (gmq-mno
) set as an ancestor, but is not in the West Scandinavian භාෂා (gmq-wes
). - Norwegian Bokmål (
nb
) has ඩෙන්මාර්ක (da
) set as an ancestor, but is not in the East Scandinavian භාෂා (gmq-eas
).
- Caribbean Hindustani (
hns
) has Bhojpuri (bho
) set as an ancestor, but is not in the Bihari භාෂා (inc-bih
). - Caribbean Hindustani (
hns
) has Awadhi (awa
) set as an ancestor, but is not in the Eastern Hindi භාෂා (inc-hie
).
- Proto-Central Togo (
alv-gtm-pro
) does not have the expected name "Proto-Ghana-Togo Mountain", even though it is the proto-language of the Ghana-Togo Mountain භාෂා (alv-gtm
). - Proto-Arawa (
auf-pro
) does not have the expected name "Proto-Arauan", even though it is the proto-language of the Arauan භාෂා (auf
). - Proto-Amuesha-Chamicuro (
awd-amc-pro
) has a proto-language code associated with the invalid code"awd-amc"
. - Proto-Kampa (
awd-kmp-pro
) has a proto-language code associated with the invalid code"awd-kmp"
. - Proto-Arawak (
awd-pro
) does not have the expected name "Proto-Arawakan", even though it is the proto-language of the Arawakan භාෂා (awd
). - Proto-Paresi-Waura (
awd-prw-pro
) has a proto-language code associated with the invalid code"awd-prw"
. - Proto-Ta-Arawak (
awd-taa-pro
) does not have the expected name "Proto-Ta-Arawakan", even though it is the proto-language of the Ta-Arawakan භාෂා (awd-taa
). - Proto-Rukai (
dru-pro
) has a proto-language code associated with Rukai (dru
), which is not a family. - Proto-Basque (
euq-pro
) does not have the expected name "Proto-Vasconic", even though it is the proto-language of the Vasconic භාෂා (euq
). - ප්රොටෝ-ජර්මානු (
gem-pro
) does not have the expected name "Proto-ජර්මානු", even though it is the proto-language of the ජර්මානු භාෂා (gem
). - Proto-Norse (
gmq-pro
) does not have the expected name "Proto-North Germanic", even though it is the proto-language of the North Germanic භාෂා (gmq
). - ප්රොටෝ-බටහිර ජර්මානු (
gmw-pro
) does not have the expected name "Proto-බටහිර ජර්මානු", even though it is the proto-language of the බටහිර ජර්මානු භාෂා (gmw
). - Proto-Kamta (
inc-krn-pro
) does not have the expected name "Proto-KRNB lects", even though it is the proto-language of the KRNB lects (inc-krn
). - Proto-Indo-Aryan (
inc-pro
) does not have the expected name "Proto-ඉන්දු-ආර්ය", even though it is the proto-language of the ඉන්දු-ආර්ය භාෂා (inc
). - ප්රොටෝ-ඉන්දු-යුරෝපීය (
ine-pro
) does not have the expected name "Proto-ඉන්දු-යුරෝපීය", even though it is the proto-language of the ඉන්දු-යුරෝපීය භාෂා (ine
). - Kelantan Peranakan Hokkien (
mis-hkl
) has its canonical name ("Kelantan Peranakan Hokkien"
) repeated in the table ofaliases
. - Proto-Chumash (
nai-chu-pro
) does not have the expected name "Proto-Chumashan", even though it is the proto-language of the Chumashan භාෂා (nai-chu
). - Proto-Maidun (
nai-mdu-pro
) does not have the expected name "Proto-Maiduan", even though it is the proto-language of the Maiduan භාෂා (nai-mdu
). - Proto-Mixe-Zoque (
nai-miz-pro
) does not have the expected name "Proto-Mixe-Zoquean", even though it is the proto-language of the Mixe-Zoquean භාෂා (nai-miz
). - Proto-Pomo (
nai-pom-pro
) does not have the expected name "Proto-Pomoan", even though it is the proto-language of the Pomoan භාෂා (nai-pom
). - Proto-Mazatec (
omq-maz-pro
) does not have the expected name "Proto-Mazatecan", even though it is the proto-language of the Mazatecan භාෂා (omq-maz
). - Proto-Ossetic (
os-pro
) has a proto-language code associated with Ossetian (os
), which is not a family. - Proto-North Sarawak (
poz-swa-pro
) does not have the expected name "Proto-North Sarawakan", even though it is the proto-language of the North Sarawakan භාෂා (poz-swa
). - Proto-Salish (
sal-pro
) does not have the expected name "Proto-Salishan", even though it is the proto-language of the Salishan භාෂා (sal
). - Proto-Puroik (
sit-khp-pro
) has a proto-language code associated with the invalid code"sit-khp"
. - Proto-Samic (
smi-pro
) does not have the expected name "Proto-Sami", even though it is the proto-language of the Sami භාෂා (smi
). - Proto-Kuki-Chin (
tbq-kuk-pro
) does not have the expected name "Proto-Kukish", even though it is the proto-language of the Kukish භාෂා (tbq-kuk
). - Proto-Saka (
xsc-sak-pro
) does not have the expected name "Proto-Sakan", even though it is the proto-language of the Sakan භාෂා (xsc-sak
). - Proto-Sarmatian (
xsc-sar-pro
) has a proto-language code associated with the invalid code"xsc-sar"
.
- Literary Chinese (
lzh-lit
) has a canonical name that is not unique; it is also used by the codelzh
. - The data key
preprocess_links
for Hacked Thai (th-new
) is invalid.
- Northeast Bantu භාෂා (
bnt-bne
) has no child families or languages. - Kavango-Southwest Bantu භාෂා (
bnt-ksb
) has no child families or languages. - Central Mande භාෂා (
dmn-mdc
) has no child families or languages. - Eastern Mande භාෂා (
dmn-mde
) has no child families or languages. - Manding-Mokole භාෂා (
dmn-mmo
) has no child families or languages. - Northern Indo-Aryan භාෂා (
inc-nor
) has no child families or languages. - Old Indo-Aryan භාෂා (
inc-old
) has no child families or languages. - Southeastern Iranian භාෂා (
ira-sei
) has no child families or languages. - Ngbaka භාෂා (
nic-ngk
) has no child families or languages. - Celebic භාෂා (
poz-clb
) has no child families or languages. - Mataco-Guaicuru භාෂා (
sai-mgc
) has no child families or languages. - Pano-Tacanan භාෂා (
sai-pat
) has no child families or languages. - Eastern Nilotic භාෂා (
sdv-nie
) has no child families or languages. - Kachin-Luic භාෂා (
sit-jpl
) has no child families or languages. - Konyak භාෂා (
sit-kon
) has no child families or languages. - Macro-Bai භාෂා (
sit-mba
) has no child families or languages. - Siberian Turkic භාෂා (
trk-sib
) has no child families or languages.
- Code:
abs
. Saw name: Ambonese මැලේ. Expected name: Ambonese Malay. - Code:
acw
. Saw name: Hijazi අරාබි. Expected name: Hijazi Arabic. - Code:
acy
. Saw name: Cypriot අරාබි. Expected name: Cypriot Arabic. - Code:
aeb
. Saw name: Tunisian අරාබි. Expected name: Tunisian Arabic. - Code:
afb
. Saw name: Gulf අරාබි. Expected name: Gulf Arabic. - Code:
ajp
. Saw name: South Levantine අරාබි. Expected name: South Levantine Arabic. - Code:
ang
. Saw name: Old ඉංග්රීසි. Expected name: පුරාතන ඉංග්රීසි. - Code:
apc
. Saw name: North Levantine අරාබි. Expected name: North Levantine Arabic. - Code:
ary
. Saw name: Moroccan අරාබි. Expected name: Moroccan Arabic. - Code:
arz
. Saw name: Egyptian අරාබි. Expected name: Egyptian Arabic. - Code:
ayl
. Saw name: Libyan අරාබි. Expected name: Libyan Arabic. - Code:
br
. Saw name: Breton. Expected name: බ්රෙටන්. - Code:
cmn-ear
. Saw name: Mandarin. Expected name: මැන්ඩරීන්. - Code:
cy
. Saw name: Welsh. Expected name: වේල්ස. - Code:
dra-okn
. Saw name: Old කන්නඩ. Expected name: Old Kannada. - Code:
dum
. Saw name: Middle ඕලන්ද. Expected name: Middle Dutch. - Code:
enm
. Saw name: Middle ඉංග්රීසි. Expected name: මධ්යකාලීන ඉංග්රීසි. - Code:
fr-CA
. Saw name: French. Expected name: ප්රංශ. - Code:
frk
. Saw name: Proto-West Germanic. Expected name: ප්රොටෝ-බටහිර ජර්මානු. - Code:
frm
. Saw name: Middle ප්රංශ. Expected name: මධ්යකාලීන ප්රංශ. - Code:
fro
. Saw name: Old ප්රංශ. Expected name: පුරාතන ප්රංශ. - Code:
fro-nor
. Saw name: Old French. Expected name: පුරාතන ප්රංශ. - Code:
gd
. Saw name: Scottish Gaelic. Expected name: ස්කොට්ස් ගේලික්. - Code:
gem
. Saw name: Germanic. Expected name: ජර්මානු. - Code:
gem-pro
. Saw name: Proto-Germanic. Expected name: ප්රොටෝ-ජර්මානු. - Code:
gkm
. Saw name: Ancient Greek. Expected name: පුරාතන ග්රීක. - Code:
gmh
. Saw name: Middle High ජර්මානු. Expected name: Middle High German. - Code:
gml
. Saw name: Middle Low ජර්මානු. Expected name: Middle Low German. - Code:
gmq-mno
. Saw name: Middle නෝර්වීජියානු. Expected name: Middle Norwegian. - Code:
gmq-oda
. Saw name: Old ඩෙන්මාර්ක. Expected name: Old Danish. - Code:
gmq-osw
. Saw name: Old ස්වීඩන්. Expected name: Old Swedish. - Code:
gmw-ecg
. Saw name: East Central ජර්මානු. Expected name: East Central German. - Code:
gmw-jdt
. Saw name: Jersey ඕලන්ද. Expected name: Jersey Dutch. - Code:
gmy
. Saw name: Mycenaean ග්රීක. Expected name: Mycenaean Greek. - Code:
goh
. Saw name: Old High ජර්මානු. Expected name: Old High German. - Code:
grk-mar
. Saw name: Mariupol ග්රීක. Expected name: Mariupol Greek. - Code:
gsw
. Saw name: Alemannic ජර්මානු. Expected name: Alemannic German. - Code:
gv
. Saw name: Manx. Expected name: මැන්ක්ස්. - Code:
idb
. Saw name: Indo-පෘතුගීසි. Expected name: Indo-Portuguese. - Code:
inc-ash
. Saw name: Ashokan ප්රාකෘත. Expected name: Ashokan Prakrit. - Code:
kaw
. Saw name: Old ජාවා. Expected name: Old Javanese. - Code:
kw
. Saw name: Cornish. Expected name: කෝනිෂ්. - Code:
kxd
. Saw name: Brunei මැලේ. Expected name: Brunei Malay. - Code:
ltc
. Saw name: Middle චීන. Expected name: Middle Chinese. - Code:
meo
. Saw name: Kedah මැලේ. Expected name: Kedah Malay. - Code:
mga
. Saw name: Middle අයිරිෂ්. Expected name: Middle Irish. - Code:
ms-cla
. Saw name: Malay. Expected name: මැලේ. - Code:
ms-old
. Saw name: Malay. Expected name: මැලේ. - Code:
nds
. Saw name: Low ජර්මානු. Expected name: Low German. - Code:
nds-de
. Saw name: German Low ජර්මානු. Expected name: German Low German. - Code:
nod
. Saw name: Northern තායි. Expected name: Northern Thai. - Code:
obr
. Saw name: Old බුරුම. Expected name: Old Burmese. - Code:
och
. Saw name: Old චීන. Expected name: Old Chinese. - Code:
odt
. Saw name: Old ඕලන්ද. Expected name: Old Dutch. - Code:
oge
. Saw name: Old ජෝර්ජියානු. Expected name: Old Georgian. - Code:
ohu
. Saw name: Old හංගේරියානු. Expected name: Old Hungarian. - Code:
ojp
. Saw name: Old ජපන්. Expected name: Old Japanese. - Code:
okm
. Saw name: Middle කොරියානු. Expected name: Middle Korean. - Code:
oko
. Saw name: Old කොරියානු. Expected name: Old Korean. - Code:
osp
. Saw name: Old ස්පාඤ්ඤ. Expected name: Old Spanish. - Code:
ota
. Saw name: Ottoman තුර්කි. Expected name: Ottoman Turkish. - Code:
pal
. Saw name: Middle පර්සියානු. Expected name: Middle Persian. - Code:
pdc
. Saw name: Pennsylvania ජර්මානු. Expected name: Pennsylvania German. - Code:
peo
. Saw name: Old පර්සියානු. Expected name: Old Persian. - Code:
rmg
. Saw name: Traveller නෝර්වීජියානු. Expected name: Traveller Norwegian. - Code:
roa-opt
. Saw name: Old Galician-පෘතුගීසි. Expected name: Old Galician-Portuguese. - Code:
ruo
. Saw name: Istro-රුමේනියානු. Expected name: Istro-Romanian. - Code:
ruq
. Saw name: Megleno-රුමේනියානු. Expected name: Megleno-Romanian. - Code:
sa-ved
. Saw name: Sanskrit. Expected name: සංස්කෘත. - Code:
sga
. Saw name: Old අයිරිෂ්. Expected name: Old Irish. - Code:
sit-pro
. Saw name: Proto-Sino-ටිබෙට්. Expected name: Proto-Sino-Tibetan. - Code:
sou
. Saw name: Southern තායි. Expected name: Southern Thai. - Code:
tbq-lob-pro
. Saw name: Proto-Lolo-බුරුම. Expected name: Proto-Lolo-Burmese. - Code:
trk-oat
. Saw name: Old Anatolian තුර්කි. Expected name: Old Anatolian Turkish. - Code:
xaa
. Saw name: Andalusian අරාබි. Expected name: Andalusian Arabic. - Code:
xcl
. Saw name: Old ආමේනියානු. Expected name: Old Armenian. - Code:
xno
. Saw name: Old French. Expected name: පුරාතන ප්රංශ. - Code:
zlw-ocs
. Saw name: Old චෙක්. Expected name: Old Czech. - Code:
zlw-opl
. Saw name: Old පෝලන්ත. Expected name: Old Polish.
Required 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. Can be specified as a number (a positive integer) or a string that starts with
Q
and ends with decimal digits. Set tonil
if not known/present. This replaces the olderwikipedia_article
property, which can still be used to link to specific sections or language editions.
Optional 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
findBestScript
function in Module:scripts. 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 theNone
script 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 anancestors
table; Proto-Indo-European will be automatically returned as its ancestor by thegetAncestors
function. - 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"
. 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
isTransliterated
value set tofalse
in Module:scripts/data. This is used bytransliterate
in Module:languages. link_tr
- Set this to
true
to link the language's transliteration. For instance, Gothic has entries in Gothic script and entries for transliterations: 𐌷𐌻𐌰𐌹𐌱𐍃 (hlaibs). 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 Latinl
orI
. 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 bymakeDisplayText
in 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 bymakeEntryName
in 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
makeSortKey
in Module:languages. dotted_dotless_i
- Set this to
true
for languages that distinguish between the dotted and dotless I (such as some Turkic languages).
Substitutions
[සංස්කරණය]translit
,display_text
,entry_name
andsort_key
all 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_diacritics
andremove_exceptions
relate 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
1
can 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
1
if 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
, wheretext
is the input text (usually the page name or input by the user),lang
is the language code (not the language object), andsc
is 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
from
andto
keys. remove_diacritics
(and optionallyremove_exceptions
).- Both of the above (in that order).
- Using the
from
is paired withto
, and both of them must be tables that are organised pairwise: each element infrom
is a pattern to identify which characters in the term to replace, while the corresponding element into
defines what to replace them with (as arguments tomw.ustring.gsub
).- If the replacement is not present (or if it is
false
ornil
), then any matching characters are removed altogether. This means that thefrom
list can be longer than theto
list, and an empty replacement will be assumed for any elements infrom
that 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.gsub
function. 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_diacritics
is a string which contains characters that will be removed after the text is decomposed. For instance, ifremove_diacritics
is 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_diacritics
is given, then it is possible to specify aremove_exceptions
table, which prevents specific characters from having their diacritics stripped. For instance, ifremove_diacritics
is a combining diaeresis, butremove_exceptions
contains"ё"
, then any instances ofё
will remain unchanged. On the other hand, an instance ofӱ
would still becomeу
(unless"ӱ"
is also added toremove_exceptions
).
Formerly 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
local m = {}
m["oaa"] = {
"Orok",
33928,
"tuw-nan",
"Cyrl, Latn",
translit = "oaa-translit",
}
m["oac"] = {
"Oroch",
33650,
"tuw-udg",
"Latn, Cyrl",
}
m["oav"] = {
"Old Avar",
65455879,
"cau-ava",
"Geor",
}
m["obi"] = {
"Obispeño",
1288385,
"nai-chu",
"Latn",
}
m["obk"] = {
"Southern Bontoc",
63308144,
"phi",
"Latn",
}
m["obl"] = {
"Oblo",
36309,
}
m["obm"] = {
"Moabite",
36385,
"sem-can",
"Phnx",
translit = "Phnx-translit",
}
m["obo"] = {
"Obo Manobo",
12953699,
"mno",
"Latn",
}
m["obr"] = {
"Old Burmese",
17006600,
"tbq-brm",
"Mymr, Latn", --and also Pallava
}
m["obt"] = {
"Old Breton",
3558112,
"cel-brs",
"Latn",
}
m["obu"] = {
"Obulom",
3813403,
"nic-cde",
"Latn",
}
m["oca"] = {
"Ocaina",
3182577,
"sai-wit",
"Latn",
}
m["och"] = {
"Old Chinese",
35137,
"zhx",
"Hant",
translit = "zh-translit",
sort_key = "Hani-sortkey",
}
m["oco"] = {
"Old Cornish",
48304520,
"cel-brs",
"Latn",
}
m["ocu"] = {
"Tlahuica",
10751739,
"omq",
"Latn",
}
m["oda"] = {
"Odut",
3915388,
"nic-uce",
"Latn",
ancestors = "mfn",
}
m["odk"] = {
"Od",
7077191,
"inc-wes",
"Arab",
}
m["odt"] = {
"Old Dutch",
443089,
"gmw-frk",
"Latn, Runr",
ancestors = "frk",
entry_name = {remove_diacritics = c.circ .. c.macron},
}
m["odu"] = {
"Odual",
3813392,
"nic-cde",
"Latn",
}
m["ofo"] = {
"Ofo",
3349758,
"sio-ohv",
}
m["ofs"] = {
"Old Frisian",
35133,
"gmw-fri",
"Latn",
entry_name = {remove_diacritics = c.circ .. c.macron},
sort_key = {
from = {"æ", "ð", "þ"},
to = {"ae", "t" .. p[1], "t" .. p[2]}
},
}
m["ofu"] = {
"Efutop",
35297,
"nic-eko",
"Latn",
}
m["ogb"] = {
"Ogbia",
3813400,
"nic-cde",
"Latn",
}
m["ogc"] = {
"Ogbah",
36291,
"alv-igb",
"Latn",
}
m["oge"] = {
"Old Georgian",
34834,
"ccs-gzn",
"Geor, Geok",
translit = {
Geor = "Geor-translit",
Geok = "Geok-translit",
},
override_translit = true,
entry_name = {remove_diacritics = c.circ},
}
m["ogg"] = {
"Ogbogolo",
3813405,
"nic-cde",
"Latn",
}
m["ogo"] = {
"Khana",
3914409,
"nic-ogo",
"Latn",
}
m["ogu"] = {
"Ogbronuagum",
3914485,
"nic-cde",
"Latn",
}
m["ohu"] = {
"Old Hungarian",
65455880,
"urj-ugr",
"Latn",
}
m["oia"] = {
"Oirata",
56738,
"ngf",
"Latn",
}
m["oin"] = {
"Inebu One",
12953782,
"qfa-tor",
}
m["ojb"] = {
"Northwestern Ojibwa",
7060356,
"alg",
"Latn",
ancestors = "oj",
}
m["ojc"] = {
"Central Ojibwa",
5061548,
"alg",
"Latn",
ancestors = "oj",
}
m["ojg"] = {
"Eastern Ojibwa",
5330342,
"alg",
"Latn",
ancestors = "oj",
}
m["ojp"] = {
"Old Japanese",
5736700,
"jpx",
"Jpan",
display_text = s["jpx-displaytext"],
entry_name = s["jpx-entryname"],
sort_key = s["jpx-sortkey"],
}
m["ojs"] = {
"Severn Ojibwa",
56494,
"alg",
"Latn",
ancestors = "oj",
}
m["ojv"] = {
"Ontong Java",
7095071,
"poz-pnp",
"Latn",
}
m["ojw"] = {
"Western Ojibwa",
3474222,
"alg",
"Latn",
ancestors = "oj",
}
m["oka"] = {
"Okanagan",
2984602,
"sal",
"Latn",
}
m["okb"] = {
"Okobo",
3813398,
"nic-lcr",
"Latn",
}
m["okd"] = {
"Okodia",
36300,
"ijo",
}
m["oke"] = {
"Okpe (Southwestern Edo)",
268924,
"alv-swd",
"Latn",
}
m["okg"] = {
"Kok-Paponk",
55254102,
"aus-pmn",
"Latn",
}
m["okh"] = {
"Koresh-e Rostam",
6432160,
"xme-ttc",
ancestors = "xme-ttc-cen",
}
m["oki"] = {
"Okiek",
56367,
"sdv-kln",
"Latn",
}
m["okj"] = {
"Oko-Juwoi",
3436832,
"qfa-adc",
}
m["okk"] = {
"Kwamtim One",
19830649,
"qfa-tor",
"Latn",
}
m["okl"] = {
"Old Kentish Sign Language",
7084319,
"sgn",
}
m["okm"] = {
"Middle Korean",
715339,
"qfa-kor",
"Kore",
ancestors = "oko",
translit = "okm-translit",
entry_name = s["Kore-entryname"],
}
m["okn"] = {
"Okinoerabu",
3350036,
"jpx-nry",
"Jpan",
translit = s["jpx-translit"],
display_text = s["jpx-displaytext"],
entry_name = s["jpx-entryname"],
sort_key = s["jpx-sortkey"],
}
m["oko"] = {
"Old Korean",
715364,
"qfa-kor",
"Kore",
entry_name = s["Kore-entryname"],
}
m["okr"] = {
"Kirike",
11006763,
"ijo",
}
m["oks"] = {
"Oko-Eni-Osayen",
36302,
"alv-von",
"Latn",
}
m["oku"] = {
"Oku",
36289,
"nic-rnc",
"Latn",
}
m["okv"] = {
"Orokaiva",
7103752,
"ngf",
"Latn",
}
m["okx"] = {
"Okpe (Northwestern Edo)",
7082547,
"alv-nwd",
"Latn",
}
m["okz"] = {
"Old Khmer",
9205,
"mkh-kmr",
"Latn, Khmr", --and also Khom, Pallava
}
m["old"] = {
"Mochi",
12952852,
"bnt-chg",
"Latn",
}
m["ole"] = {
"Olekha",
3695204,
"sit-bdi",
"Tibt, Latn",
translit = {Tibt = "Tibt-translit"},
override_translit = true,
display_text = {Tibt = s["Tibt-displaytext"]},
entry_name = {Tibt = s["Tibt-entryname"]},
sort_key = {Tibt = "Tibt-sortkey"},
}
m["olm"] = {
"Oloma",
3441166,
"alv-nwd",
"Latn",
}
m["olo"] = {
"Livvi",
36584,
"urj-fin",
"Latn",
}
m["olr"] = {
"Olrat",
3351562,
"poz-vnn",
"Latn",
}
m["olt"] = {
"Old Lithuanian",
17417801,
"bat-eas",
"Latn",
entry_name = {remove_diacritics = c.grave .. c.acute .. c.tilde},
}
m["olu"] = {
"Kuvale",
6448765,
"bnt-swb",
"Latn",
}
m["oma"] = {
"Omaha-Ponca",
2917968,
"sio-dhe",
"Latn",
}
m["omb"] = {
"Omba",
2841471,
"poz-vnn",
"Latn",
}
m["omc"] = {
"Mochica",
1951641,
}
m["omg"] = {
"Omagua",
33663,
"tup-gua",
"Latn",
}
m["omi"] = {
"Omi",
56795,
"csu-mma",
}
m["omk"] = {
"Omok",
4334657,
"qfa-yuk",
"Cyrl",
translit = "omk-translit",
}
m["oml"] = {
"Ombo",
7089928,
"bnt-tet",
"Latn",
}
m["omn"] = {
"Minoan",
1669994,
nil,
"Lina",
}
m["omo"] = {
"Utarmbung",
7902577,
"ngf",
"Latn",
}
m["omp"] = {
"Old Manipuri",
105953310,
"sit",
"Mtei",
translit = "Mtei-translit",
}
m["omr"] = {
"Old Marathi",
65455881,
"inc-sou",
"Deva, Modi",
translit = {
Deva = "sa-translit",
Modi = "Modi-translit",
},
}
m["omt"] = {
"Omotik",
36313,
"sdv-nis",
}
m["omu"] = {
"Omurano",
1957612,
}
m["omw"] = {
"South Tairora",
20210553,
"paa-kag",
"Latn",
}
m["omx"] = {
"Old Mon",
111364697,
"mkh-mnc",
"Mymr, Latn", --and also Pallava
}
m["ona"] = {
"Selk'nam",
2721227,
"sai-cho",
"Latn",
}
m["onb"] = {
"Lingao",
7093790,
"qfa-onb",
"Latn",
}
m["one"] = {
"Oneida",
857858,
"iro-nor",
"Latn",
}
m["ong"] = {
"Olo",
592162,
"qfa-tor",
"Latn",
}
m["oni"] = {
"Onin",
7093910,
"poz-cet",
"Latn",
}
m["onj"] = {
"Onjob",
7093968,
"ngf",
"Latn",
}
m["onk"] = {
"Kabore One",
12953783,
"qfa-tor",
"Latn",
}
m["onn"] = {
"Onobasulu",
7094437,
"ngf",
"Latn",
}
m["ono"] = {
"Onondaga",
1077450,
"iro-nor",
"Latn",
ancestors = "iro-oon",
}
m["onp"] = {
"Sartang",
7424639,
"sit-khm",
}
m["onr"] = {
"Northern One",
19830648,
"qfa-tor",
"Latn",
}
m["ons"] = {
"Ono",
11732548,
"ngf",
"Latn",
}
m["ont"] = {
"Ontenu",
3352827,
}
m["onu"] = {
"Unua",
3552042,
"poz-vnc",
"Latn",
}
m["onw"] = {
"Old Nubian",
2268,
"nub",
"Copt",
translit = "Copt-translit",
sort_key = "cop-sortkey",
}
m["onx"] = {
"Pidgin Onin",
12953788,
"crp",
"Latn",
ancestors = "oni",
}
m["ood"] = {
"O'odham",
2393095,
"azc",
"Latn",
}
m["oog"] = {
"Ong",
12953787,
"mkh-kat",
}
m["oon"] = {
"Önge",
2475551,
"qfa-ong",
"Latn",
}
m["oor"] = {
"Oorlams",
2484337,
}
m["oos"] = {
"Old Ossetic",
65455882,
"xsc",
"Polyt, Latn",
ancestors = "os-pro",
-- ancestors = "xln",
translit = {Polyt = "grc-translit"},
entry_name = {
Polyt = s["Polyt-entryname"],
},
sort_key = {
Polyt = s["Grek-sortkey"],
},
}
m["opa"] = {
"Okpamheri",
3913331,
"alv-nwd",
"Latn",
}
m["opk"] = {
"Kopkaka",
6431129,
"ngf-okk",
"Latn",
}
m["opm"] = {
"Oksapmin",
1068097,
"ngf",
"Latn",
}
m["opo"] = {
"Opao",
7095585,
"ngf",
"Latn",
}
m["opt"] = {
"Opata",
2304583,
"azc-trc",
"Latn",
}
m["opy"] = {
"Ofayé",
3446691,
"sai-mje",
"Latn",
}
m["ora"] = {
"Oroha",
36298,
"poz-sls",
}
m["ore"] = {
"Orejón",
3355834,
"sai-tuc",
"Latn",
}
m["org"] = {
"Oring",
3915308,
"nic-ucn",
"Latn",
}
m["orh"] = {
"Oroqen",
1367309,
"tuw-ewe",
"Latn",
}
m["oro"] = {
"Orokolo",
7103758,
"ngf",
"Latn",
}
m["orr"] = {
"Oruma",
36299,
"ijo",
"Latn",
}
m["ort"] = {
"Adivasi Odia",
12953791,
"inc-eas",
"Orya",
ancestors = "or",
}
m["oru"] = {
"Ormuri",
33740,
"ira-orp",
"fa-Arab",
}
m["orv"] = {
"Old East Slavic",
35228,
"zle",
"Cyrs",
translit = {Cyrs = "Cyrs-translit"},
entry_name = s["Cyrs-entryname"],
sort_key = { from = {"Ꙑ", "ꙑ"} , to = { "ы" .. p[1], "ы" .. p[1],} },
}
m["orw"] = {
"Oro Win",
3450423,
"sai-cpc",
"Latn",
}
m["orx"] = {
"Oro",
3813396,
"nic-lcr",
"Latn",
}
m["orz"] = {
"Ormu",
7103494,
"poz-ocw",
"Latn",
}
m["osa"] = {
"Osage",
2600085,
"sio-dhe",
"Latn, Osge",
}
m["osc"] = {
"Oscan",
36653,
"itc-sbl",
"Ital, Latn, Polyt",
translit = {
Ital = "Ital-translit",
Polyt = "grc-translit",
},
entry_name = {
Polyt = s["Polyt-entryname"],
},
sort_key = {
Polyt = s["Grek-sortkey"],
},
}
m["osi"] = {
"Osing",
2701322,
"poz",
"Latn",
}
m["osn"] = {
"Old Sundanese",
56197074,
"poz-msa",
"Latn, Sund, Kawi",
}
m["oso"] = {
"Ososo",
3913398,
"alv-yek",
"Latn",
}
m["osp"] = {
"Old Spanish",
1088025,
"roa-ibe",
"Latn",
}
m["ost"] = {
"Osatu",
36243,
"nic-grs",
"Latn",
}
m["osu"] = {
"Southern One",
12953785,
"qfa-tor",
"Latn",
}
m["osx"] = {
"Old Saxon",
35219,
"gmw-lgm",
"Latn",
entry_name = {remove_diacritics = c.circ .. c.macron},
}
m["ota"] = {
"Ottoman Turkish",
36730,
"trk-ogz",
"ota-Arab, Armn",
ancestors = "trk-oat",
entry_name = {
["ota-Arab"] = {
remove_diacritics = c.fathatan .. c.dammatan .. c.kasratan .. c.fatha .. c.damma .. c.kasra .. c.shadda .. c.sukun .. c.superalef,
from = {"گ", "ڭ", "ۀ"},
to = {"ك", "ك", "ه"}
},
Armn = {
from = {"՚"},
to = {"’"}
},
},
translit = {Armn = "ota-Armn-translit"},
standardChars = {
["ota-Arab"] = "آاأبپتثجچحخدذرزژسشصضطظعغفقكلمنوؤهیئةءـ",
c.punc
},
}
m["otb"] = {
"Old Tibetan",
7085214,
"sit-tib",
"Tibt",
translit = "Tibt-translit",
override_translit = true,
display_text = s["Tibt-displaytext"],
entry_name = s["Tibt-entryname"],
sort_key = "Tibt-sortkey",
}
m["otd"] = {
"Ot Danum",
3033781,
"poz-brw",
"Latn",
}
m["ote"] = {
"Mezquital Otomi",
23755711,
"oto-otm",
"Latn",
}
m["oti"] = {
"Oti",
3357881,
}
m["otk"] = {
"Old Turkic",
34988,
"trk",
"Orkh",
translit = "Orkh-translit",
}
m["otl"] = {
"Tilapa Otomi",
7802050,
"oto-otm",
"Latn",
}
m["otm"] = {
"Eastern Highland Otomi",
13581718,
"oto-otm",
"Latn",
}
m["otn"] = {
"Tenango Otomi",
25559589,
"oto-otm",
"Latn",
}
m["otq"] = {
"Querétaro Otomi",
23755688,
"oto-otm",
"Latn",
}
m["otr"] = {
"Otoro",
36328,
"alv-hei",
}
m["ots"] = {
"Estado de México Otomi",
7413841,
"oto-otm",
"Latn",
}
m["ott"] = {
"Temoaya Otomi",
7698191,
"oto-otm",
"Latn",
}
m["otu"] = {
"Otuke",
7110049,
"sai-mje",
"Latn",
}
m["otw"] = {
"Ottawa",
133678,
"alg",
"Latn",
ancestors = "oj",
}
m["otx"] = {
"Texcatepec Otomi",
25559590,
"oto-otm",
"Latn",
}
m["oty"] = {
"Old Tamil",
20987452,
"dra-tam",
"Brah",
translit = "Brah-translit",
}
m["otz"] = {
"Ixtenco Otomi",
6101171,
"oto-otm",
"Latn",
}
m["oub"] = {
"Glio-Oubi",
3914977,
"kro-grb",
}
m["oue"] = {
"Oune",
7110521,
"paa-sbo",
}
m["oui"] = {
"Old Uyghur",
428299,
"trk-ssb",
"Ougr, Latn, Hani, Phag, Brah, Mani, Syrc",
translit = {
Ougr = "Ougr-translit",
},
sort_key = {Hani = "Hani-sortkey"},
}
m["oum"] = {
"Ouma",
7110494,
"poz-ocw",
"Latn",
}
m["ovd"] = {
"Elfdalian",
254950,
"gmq-eas",
"Latn",
}
m["owi"] = {
"Owiniga",
56454,
"qfa-mal",
"Latn",
}
m["owl"] = {
"Old Welsh",
2266723,
"cel-brw",
"Latn",
}
m["oyb"] = {
"Oy",
13593748,
"mkh-ban",
}
m["oyd"] = {
"Oyda",
7116251,
"omv-nom",
}
m["oym"] = {
"Wayampi",
7975842,
"tup-gua",
"Latn",
}
m["oyy"] = {
"Oya'oya",
7116243,
"poz-ocw",
"Latn",
}
m["ozm"] = {
"Koonzime",
35566,
"bnt-ndb",
"Latn",
}
return require("Module:languages").finalizeData(m, "language")