વિભાગ:ભાષાઓ/આંકડા૩/j
This module contains definitions and metadata for language codes. See વિક્શનરી:ભાષાઓ for more information.
This module must not be used directly in other modules or templates. The data should be accessed through Module:ભાષાઓ.
Required values
[ફેરફાર કરો]Every entry in the table must contain the following properties:
names
- A list of all the names that this language is known by. The first name listed is always the "canonical" name, which is used in Wiktionary entries and category names. The list should include not only synonyms for the language, but also names that refer to language varieties that are subsumed under the same grouping. For example, while "Flemish" is not synonymous with "Dutch", Flemish is considered a part of Dutch, so the name is listed there.
type
- The type of language (which affects how it is handled on Wiktionary). Possible values are:
regular
- This language 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 Appendix namespace and must be prefixed with * to indicate a reconstruction. Most languages should use this.reconstructed
- This language is not attested according to CFI, and therefore is allowed only in the Appendix 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.
scripts
- A list of script codes, see વિક્શનરી:લિપિઓ. These represent all the scripts (writing systems) that this language employs, which are used on the main category of the language. If you do not know the script, use "None".
- Most templates and modules will use a default script when no script is specified for them, but the script codes are interpreted in two different ways:
- Templates and modules that use
detect_script
in Module:વેવસ્થા will try to detect the script (based on the characters in the text), using the list of scripts as a list of possible scripts to try to detect. If the script cannot be detected, the first listed script is used by default. - All other templates and modules will generally use the first script listed as the default script.
- Templates and modules that use
family
- The code for the family that the language belongs to. See વિક્શનરી:પરિવારો. If you do not know the family, use "qfa-und".
Optional values
[ફેરફાર કરો]The following properties are used for text substitution; they replace or remove certain (sets of) characters or sets of characters. They all work similar, and are all optional. The search and replacement patterns are those used by the standard mw.ustring.gsub
function. They resemble regular expressions; see search/replace patterns for more information.
If present, each of these properties must be a table that contains two tables, one named from
and one named to
. These two tables are organised pairwise: each element in from
is a pattern to identify which characters in the term to replace, while the corresponding element in to
defines what to replace them with. If the replacement is not present or if it is false
or nil
, it defaults to an empty replacement, meaning that the matching characters are removed altogether. This means that the from
list can be longer than the to
list, and an empty replacement will be assumed for any elements in from
that have no counterpart in to
.
At the top of the module, there is a list of combining characters with names. These are provided for convenience and readability, as combining characters generally do not display property inside the module code (although they do not affect the actual operation of the module).
entry_name
- 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, as these are not used in the normal written form of these languages. This is used by
remove_diacritics
in Module:કડીઓ. sort_key
- Defines replacements to create a category sort key from the page name. The purpose is to remove any characters that are ignored in sorting, and to replace similar characters with identical ones 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". The page name is converted to lowercase before applying the replacements, so you should not add uppercase letters to the "from" lists. This is used by
format_categories
in Module:વેવસ્થા.
These are other optional values:
genders
- A list of gender specifications that are valid for the language. These are given in the format of Module:લિંગ અને વચન. This value acts as a restriction, so that if it is left out, all genders are considered valid. If the language has no genders, meaning that no gender is valid for that language, specify an empty list,
genders = {}
. Keep in mind that the word "gender" is used loosely in the sense of Wiktionary's implementation: it includes not just actual grammatical gender, but also grammatical number, noun classes and even verbal aspects. Thus, a language such as Russian will need to list not only the noun genders, but also the "impf" and "pf" codes for verbs, otherwise these will be rejected. translit_module
- The name of a module that is used to generate transliterations of terms, without the Module: prefix. This module must export a function named
tr
that is defined as follows:tr(text, lang, sc)
- The three parameters are the text to be transliterated, the language code, and the script code. The function can ignore the language and script codes, but they are provided for cases when a language has more than one script, or when a single function is used to transliterate multiple languages sharing the same script.
-- UTF-8 encoded strings for some commonly-used diacritics
local GRAVE = "\204\128" -- U+0300
local ACUTE = "\204\129" -- U+0301
local CIRC = "\204\130" -- U+0302
local TILDE = "\204\131" -- U+0303
local MACRON = "\204\132" -- U+0304
local BREVE = "\204\134" -- U+0306
local DOTABOVE = "\204\135" -- U+0307
local DIAER = "\204\136" -- U+0308
local CARON = "\204\140" -- U+030C
local DGRAVE = "\204\143" -- U+030F
local INVBREVE = "\204\145" -- U+0311
local DOTBELOW = "\204\163" -- U+0323
local RINGBELOW = "\204\165" -- U+0325
local CEDILLA = "\204\167" -- U+0327
local m = {}
m["jaa"] = {
names = {"Jamamadí", "Jamamadi", "Madi", "Jarawara", "Jarauára", "Jaruára", "Jarauara", "Jaruara"},
type = "regular",
scripts = {"None"},
family = "auf"}
m["jab"] = {
names = {"Hyam"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jac"] = {
names = {"Jakaltek", "Jacalteco", "Jakalteko", "Popti'", "Popti", "Eastern Jacalteco", "Western Jacalteco"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jad"] = {
names = {"Jahanka"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jae"] = {
names = {"Jabem"},
type = "regular",
scripts = {"None"},
family = "poz-ocw"}
m["jaf"] = {
names = {"Jara"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jah"] = {
names = {"Jah Hut"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jaj"] = {
names = {"Zazao"},
type = "regular",
scripts = {"None"},
family = "poz-ocw"}
m["jak"] = {
names = {"Jakun"},
type = "regular",
scripts = {"Latn"},
family = "poz-mly"}
m["jal"] = {
names = {"Yalahatan", "Horuru", "Atamanu"},
type = "regular",
scripts = {"Latn"},
family = "plf"}
m["jam"] = {
names = {"Jamaican Creole", "Jamaican", "Jamaican Patois", "Patois", "Patwa"},
type = "regular",
scripts = {"Latn"},
family = "crp"}
m["jao"] = {
names = {"Yanyuwa"},
type = "regular",
scripts = {"Latn"},
family = "aus-pam"}
m["jaq"] = {
names = {"Yaqay"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jas"] = {
names = {"New Caledonian Javanese"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jat"] = {
names = {"Jakati"},
type = "regular",
scripts = {"None"},
family = "inc"}
m["jau"] = {
names = {"Yaur"},
type = "regular",
scripts = {"None"},
family = "poz-hce"}
m["jax"] = {
names = {"Jambi Malay"},
type = "regular",
scripts = {"None"},
family = "poz-mly"}
m["jay"] = {
names = {"Yan-nhangu"},
type = "regular",
scripts = {"None"},
family = "aus-yol"}
m["jaz"] = {
names = {"Jawe"},
type = "regular",
scripts = {"Latn"},
family = "poz-cln"}
m["jbe"] = {
names = {"Judeo-Berber"},
type = "regular",
scripts = {"Hebr"},
family = "ber"}
m["jbj"] = {
names = {"Arandai"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jbn"] = {
names = {"Nefusa", "Nefusi", "Nafusa", "Nafusi"},
type = "regular",
scripts = {"None"},
family = "ber"}
m["jbo"] = {
names = {"Lojban"},
type = "regular",
scripts = {"Latn"},
family = "art"}
m["jbr"] = {
names = {"Jofotek-Bromnya"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jbt"] = {
names = {"Jabutí"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jbu"] = {
names = {"Jukun Takum"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jcs"] = {
names = {"Jamaican Country Sign Language"},
type = "regular",
scripts = {"None"},
family = "sgn"}
m["jct"] = {
names = {"Krymchak"},
type = "regular",
scripts = {"Latn", "Cyrl"},
family = "trk"}
m["jda"] = {
names = {"Jad"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jdg"] = {
names = {"Jadgali"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jdt"] = {
names = {"Judeo-Tat"},
type = "regular",
scripts = {"Latn", "Cyrl", "Hebr"},
family = "ira"}
m["jeb"] = {
names = {"Jebero"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jee"] = {
names = {"Jerung"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jeg"] = {
names = {"Jeng"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jeh"] = {
names = {"Jeh"},
type = "regular",
scripts = {"None"},
family = "mkh"}
m["jei"] = {
names = {"Yei"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jek"] = {
names = {"Jeri Kuo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jel"] = {
names = {"Yelmek"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jen"] = {
names = {"Dza"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jer"] = {
names = {"Jere"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jet"] = {
names = {"Manem"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jeu"] = {
names = {"Jonkor Bourmataguil"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jgb"] = {
names = {"Ngbee"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jge"] = {
names = {"Judeo-Georgian"},
type = "regular",
scripts = {"None"},
family = "ccs"}
m["jgo"] = {
names = {"Ngomba"},
type = "regular",
scripts = {"None"},
family = "bai"}
m["jhi"] = {
names = {"Jehai"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jhs"] = {
names = {"Jhankot Sign Language"},
type = "regular",
scripts = {"None"},
family = "sgn"}
m["jia"] = {
names = {"Jina"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jib"] = {
names = {"Jibu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jic"] = {
names = {"Tol"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jid"] = {
names = {"Bu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jie"] = {
names = {"Jilbe"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jig"] = {
names = {"Jingulu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jih"] = {
names = {"Shangzhai"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jii"] = {
names = {"Jiiddu"},
type = "regular",
scripts = {"None"},
family = "cus"}
m["jil"] = {
names = {"Jilim"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jim"] = {
names = {"Jimjimen", "Jimi", "Jimi (Cameroon)"},
type = "regular",
scripts = {"Latn"},
family = "cdc-cbm"}
m["jio"] = {
names = {"Jiamao"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jiq"] = {
names = {"Guanyinqiao"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jit"] = {
names = {"Jita"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jiu"] = {
names = {"Youle Jinuo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jiv"] = {
names = {"Shuar"},
type = "regular",
scripts = {"Latn"},
family = "qfa-jiv"}
m["jiy"] = {
names = {"Buyuan Jinuo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jko"] = {
names = {"Kubo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jkr"] = {
names = {"Koro (India)", "Koro"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jku"] = {
names = {"Labir"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jle"] = {
names = {"Ngile"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jls"] = {
names = {"Jamaican Sign Language"},
type = "regular",
scripts = {"None"},
family = "sgn"}
m["jma"] = {
names = {"Dima"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jmb"] = {
names = {"Zumbun"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jmc"] = {
names = {"Machame"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jmd"] = {
names = {"Yamdena"},
type = "regular",
scripts = {"Latn"},
family = "plf"}
m["jmi"] = {
names = {"Jimi", "Jimi (Nigeria)"},
type = "regular",
scripts = {"Latn"},
family = "cdc-wst"}
m["jml"] = {
names = {"Jumli"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jmn"] = {
names = {"Makuri Naga"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jmr"] = {
names = {"Kamara"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jmx"] = {
names = {"Western Juxtlahuaca Mixtec"},
type = "regular",
scripts = {"None"},
family = "omq-mix"}
m["jna"] = {
names = {"Jangshung"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jnd"] = {
names = {"Jandavra"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jng"] = {
names = {"Yangman"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jni"] = {
names = {"Janji"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jnj"] = {
names = {"Yemsa"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jnl"] = {
names = {"Rawat"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jns"] = {
names = {"Jaunsari"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["job"] = {
names = {"Joba"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jod"] = {
names = {"Wojenaka"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jor"] = {
names = {"Jorá"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jos"] = {
names = {"Jordanian Sign Language"},
type = "regular",
scripts = {"Sgnw"},
family = "sgn"}
m["jow"] = {
names = {"Jowulu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jpr"] = {
names = {"Judeo-Persian"},
type = "regular",
scripts = {"Hebr"},
family = "ira"}
m["jqr"] = {
names = {"Jaqaru"},
type = "regular",
scripts = {"None"},
family = "sai-aym"}
m["jra"] = {
names = {"Jarai"},
type = "regular",
scripts = {"Latn"},
family = "poz-msa"}
m["jrb"] = {
names = {"Judeo-Arabic"},
type = "regular",
scripts = {"Hebr"},
family = "sem-arb"}
m["jrr"] = {
names = {"Jiru"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jrt"] = {
names = {"Jorto"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jru"] = {
names = {"Japrería"},
type = "regular",
scripts = {"None"},
family = "sai-car"}
m["jsl"] = {
names = {"Japanese Sign Language"},
type = "regular",
scripts = {"None"},
family = "sgn-jsl"}
m["jua"] = {
names = {"Júma"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jub"] = {
names = {"Wannu"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["juc"] = {
names = {"Jurchen"},
type = "regular",
scripts = {"Jurc"},
family = "tuw"}
m["jud"] = {
names = {"Worodougou"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["juh"] = {
names = {"Hõne"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["juk"] = {
names = {"Wapan"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jul"] = {
names = {"Jirel"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jum"] = {
names = {"Jumjum"},
type = "regular",
scripts = {"None"},
family = "sdv"}
m["jun"] = {
names = {"Juang"},
type = "regular",
scripts = {"None"},
family = "mun"}
m["juo"] = {
names = {"Jiba"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jup"] = {
names = {"Hupdë"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jur"] = {
names = {"Jurúna"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jus"] = {
names = {"Jumla Sign Language"},
type = "regular",
scripts = {"None"},
family = "sgn"}
m["jut"] = {
names = {"Jutish"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["juu"] = {
names = {"Ju"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["juw"] = {
names = {"Wãpha"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["juy"] = {
names = {"Juray"},
type = "regular",
scripts = {"None"},
family = "mun"}
m["jvd"] = {
names = {"Javindo"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jvn"] = {
names = {"Caribbean Javanese"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jwi"] = {
names = {"Jwira-Pepesa"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jya"] = {
names = {"Jiarong"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
m["jye"] = {
names = {"Judeo-Yemeni Arabic"},
type = "regular",
scripts = {"Hebr"},
family = "sem-arb"}
m["jyy"] = {
names = {"Jaya"},
type = "regular",
scripts = {"None"},
family = "qfa-und"}
return m