Jump to content

Mòideal:Language/data/ISO 639 override

O Wiktionary

(deasbaireachd⧼tpt-languages-separator⧽deasaich⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)

{{Module rating }}

Ùsaid - Usage

{{#invoke:Language/data|function_name}}


--[[--------------------------< O V E R R I D E >--------------------------------------------------------------

Language codes and names in this table override the ISO 639 names in:
	Module:Language/data/iana languages
	Module:Language/data/ISO 639-2
	Module:Language/data/ISO 639-3
	Module:Language/data/ISO 639-5

code indexes in this table shall always be lower case

]]

local override = {
	["ang"] = {"Old English"},													-- English, Old
	["dum"] = {"Middle Dutch"},													-- Dutch, Middle
	["egy"] = {"Ancient Egyptian"},												-- 639-2, -3: Egyptian (Ancient)
	["el"] = {"Greek"},															-- 639-1: Modern Greek (1453-)
	["ell"] = {"Greek"},														-- Greek, Modern
	["enm"] = {"Middle English"},												-- English, Middle
	["frm"] = {"Middle French"},												-- French, Middle	
	["fro"] = {"Old French"},													-- French, Old
	["gmh"] = {"Middle High German"},											-- German, Middle High
	["goh"] = {"Old High German"},												-- German, Old High
	["grc"] = {"Ancient Greek"},												-- Greek, Ancient
	["gre"] = {"Greek"},														-- 639-2: Greek, Modern (1453-)
	["mga"] = {"Middle Irish"},													-- Irish, Middle
	["nbl"] = {"Southern Ndebele"},												-- Ndebele, South
	["nde"] = {"Northern Ndebele"},												-- Ndebele, North
	["nob"] = {"Norwegian Bokmål"},												-- Bokmål, Norwegian
	["non"] = {"Old Norse"},													-- Norse, Old
	["ota"] = {"Ottoman Turkish"},												-- Turkish, Ottoman
	["peo"] = {"Old Persian"},													-- Persian, Old
	["pms"] = {"Piedmontese"},													-- ISO 639-3 name is Piemontese; to match en.wiki article title
	["pro"] = {"Old Occitan"},													-- Provençal, Old
	["sga"] = {"Old Irish"},													-- Irish, Old
	["sot"] = {"Sotho"},														-- Sotho, Southern
	}


--[[--------------------------< 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"] = {"Ligurian (Romance language)"},									-- see Template_talk:Lang#Ligurian_dab
	["xlg"] = {"Ligurian language (ancient)"},									-- see Template_talk:Lang#Ligurian_dab
	}


--[[--------------------------< E X P O R T E D   T A B L E S >------------------------------------------------
]]

return
	{
	override = override,
	article_name = article_name,
	}