Module:Triple tab Prayer/label translate
Appearance
Documentation for this module may be created at Module:Triple tab Prayer/label translate/doc
local p = {}
function p.Translate(frame)
local lang = frame.args[1] or mw.language.getContentLanguage():getCode()
local translations = {
ar = "ترجمة",
za = "翻译",
bn = "অনুবাদ",
de = "Übersetzung",
en = "Translation",
es = "Traducción",
fa = "ترجمه",
fr = "Traduction",
ha = "Fassara",
hi = "अनुवाद",
id = "Terjemahan",
it = "Traduzione",
my = "ဘာသာပြန်ချက်",
ps = "ژباړه",
pt = "Tradução",
ru = "Перевод",
sw = "Tafsiri",
tg = "Тарҷума",
th = "การแปล",
tr = "Çeviri",
ur = "ترجمه",
zh = "翻译"
}
-- Default to CONTENTLANGUAGE if the language is not in the list
local text = translations[lang] or translations["{{CONTENTLANGUAGE}}"]
return text
end
return p
--[[Category:Template:Triple tab Prayer]]