local export = {}
local tt = {
= "ʾ", -- aleph
= "b", -- beth
= "g", -- gimel
= "d", -- daleth
= "h", -- he
= "w", -- waw
= "z", -- zayin
= "ḥ", -- heth
= "ṭ", -- teth
= "y", -- yodh
= "k", -- kaph
= "l", -- lamedh
= "m", -- mem
= "n", -- final nun
= "n", -- nun
= "s", -- samekh
= "ʿ", -- ayin
= "p", -- pe
= "ṣ", -- sadhe
= "q", -- qoph
= "r", -- resh
= "š", -- shin
= "t", -- taw
= "☙", -- left-pointing fleuron
= "❧", -- right-pointing fleuron
= "1", -- one
= "2", -- two
= "3", -- three
= "4", -- four
= "5", -- five
= "10", -- ten
= "20", -- twenty
}
function export.tr(text, lang, sc)
if sc ~= "Palm" then
return
end
-- Transliterate characters
text = mw.ustring.gsub(text, '.', tt)
return text
end
return export