Modul:Language/data/ISO 639 override
< Modul:Language | data
Mogoče bi radi ustvarili dokumentacijsko stran za ta Scribunto modul Urejevalci lahko preizkušate ta modul v peskovniku (ustvari | mirror) in testnihprimerih (ustvari). Prosimo, da dodate kategorije v /dok podstran. Podstrani te predloge. |
--[[--------------------------< O V E R R I D E _ 1 >----------------------------------------------------------
Language codes and names in this table override the ISO 639 names in: Module:Language/data/iana languages
]]
local override_1 = {
["bo"] = {"standardna tibetanščina"}, -- en.wiki preferred; Tibetan
["el"] = {"grščina"}, -- Modern Greek (1453-)
["ht"] = {"haitska kreolščina"}, -- en.wiki preferred; Haitian
-- ["mo"] = {"moldavščina"}, -- deprecated in ISO 639, still in use at en.wiki
["st"] = {"sotojščina"}, -- Southern Sotho; match ISO 639-2; en.wiki preferred
["to"] = {"tongovščina"}, -- en.wiki preferred; Tonga (Tonga Islands)
}
--[[--------------------------< O V E R R I D E _ 2 >----------------------------------------------------------
Language codes and names in this table override the ISO 639 names in: Module:Language/data/ISO 639-2
]]
local override_2 = {
-- ["ang"] = {"stara angleščina"}, -- English, Old (ca.450-1100)
["bod"] = {"standardna tibetanščina"}, -- en.wiki preferred; Tibetan
-- ["dum"] = {"srednja nizozemščina"}, -- Dutch, Middle (ca.1050-1350)
["egy"] = {"antična egipčanščina"}, -- Egyptian (Ancient)
["ell"] = {"grščina"}, -- Greek, Modern (1453-)
-- ["enm"] = {"srednja angleščina"}, -- English, Middle (1100-1500)
-- ["frm"] = {"srednja francoščina"}, -- French, Middle (ca.1400-1600)
-- ["fro"] = {"stara francoščina"}, -- French, Old (842-ca.1400)
-- ["gmh"] = {"srednja visoka nemščina"}, -- German, Middle High (ca.1050-1500)
-- ["goh"] = {"stara visoka nemščina"}, -- German, Old High (ca.750-1050)
-- ["grc"] = {"antična grščina"}, -- Greek, Ancient (to 1453)
["hat"] = {"haitska kreolščina"}, -- en.wiki preferred; Haitian
-- ["mga"] = {"srednja irščina"}, -- Irish, Middle (900-1200)
-- ["mol"] = {"moldavščinan"}, -- deprecated in ISO 639, still in use at en.wiki
["nbl"] = {"južna ndebelščina"}, -- Ndebele, South or South Ndebele
["nde"] = {"severna ndebelščina"}, -- Ndebele, North or North Ndebele
["nob"] = {"norveški bokmål"}, -- Bokmål, Norwegian or Norwegian Bokmål
-- ["non"] = {"stara nordijščina"}, -- Norse, Old
-- ["ota"] = {"osmanska turščina"}, -- Turkish, Ottoman (1500-1928)
-- ["peo"] = {"stara perzijščina"}, -- Persian, Old (ca.600-400 B.C.)
["pro"] = {"stara okcitanščina"}, -- Provençal, Old (to 1500) or Occitan, Old (to 1500)
-- ["sga"] = {"stara irščina"}, -- Irish, Old (to 900)
["sot"] = {"sotojščina"}, -- Sotho, Southern; en.wiki preferred
["ton"] = {"tongovščina"}, -- en.wiki preferred; Tonga (Tonga Islands)
}
--[[--------------------------< O V E R R I D E _ 2 B >--------------------------------------------------------
Language codes and names in this table override the ISO 639 names in: Module:Language/data/ISO 639-2B
]]
local override_2B = {
["gre"] = {"grščina"}, -- Greek, Modern (1453-)
["tib"] = {"standardna tibetanščina"}, -- en.wiki preferred; Tibetan
}
--[[--------------------------< O V E R R I D E _ 3 >----------------------------------------------------------
Language codes and names in this table override the ISO 639 names in: Module:Language/data/ISO 639-3
]]
local override_3 = {
["bod"] = {"standardna tibetanščina"}, -- en.wiki preferred; Tibetan
["egy"] = {"antična egipčanščina"}, -- Egyptian (Ancient)
["ell"] = {"grščina"}, -- Modern Greek (1453-)
["haa"] = {"hän"}, -- to avoid redirect; Han
["hat"] = {"haitska kreolščina"}, -- en.wiki preferred; Haitian
-- ["mol"] = {"moldavščina"}, -- deprecated in ISO 639, still in use at en.wiki as ISO 639-1 mo
['mte'] = {"mono-alu"}, -- en.wiki preferred; Mono (Solomon Islands)
["nbl"] = {"južna ndebelščina"}, -- South Ndebele
["nde"] = {"severna ndebelščina"}, -- North Ndebele
["pms"] = {"piemontščina"}, -- ISO 639-3 name is Piemontese; to match en.wiki article title
["pnb"] = {"pandžabščina"}, -- Western Panjabi, a dab; en.wiki preferred
["sot"] = {"sotojščina"}, -- Southern Sotho; match ISO 639-2; en.wiki preferred
["ton"] = {"tongovščina"}, -- en.wiki preferred; Tonga (Tonga Islands)
}
--[[--------------------------< O V E R R I D E _ 5 >----------------------------------------------------------
Language codes and names in this table override the ISO 639 names in: Module:Language/data/ISO 639-5
]]
local override_5 = {
}
--[[--------------------------< O V E R R I D E _ D E P >------------------------------------------------------
Language codes and names in this table override the ISO 639 names in: Module:Language/data/ISO 639 deprecated
]]
local override_dep = {
}
--[[--------------------------< A R T I C L E _ L I N K >------------------------------------------------------
for those rare occasions when article titles don't fit with the normal '<language name> language', this table
maps language code to article title. Use of this table should be avoided and the use of redirects preferred as
that is the long-standing method of handling article names that don't fit with the normal pattern
]]
local article_name = {
["lij"] = {"ligurščina"}, -- Ligurian; see Template_talk:Lang#Ligurian_dab
['mnh'] = {"jezik mono (Kongo)"}, -- Mono (Democratic Republic of Congo); see Template_talk:Lang#Mono_languages
['mnr'] = {"jezik mono (Kalifornija)"}, -- Mono (USA)
['mru'] = {"jezik mono (Kamerun)"}, -- Mono (Cameroon)
["xlg"] = {"ligurščina (antični jezik)"}, -- see Template_talk:Lang#Ligurian_dab
}
--[[--------------------------< E X P O R T E D T A B L E S >------------------------------------------------
]]
return
{
override_1 = override_1,
override_2 = override_2,
override_2B = override_2B,
override_3 = override_3,
override_5 = override_5,
override_dep = override_dep,
article_name = article_name,
}