"इस मॉड्यूल हेतु प्रलेख Module:Aii-translit/doc पर बनाया जा सकता है"

local export = {}

local tt = {
	["ܐ"] = "ʾ", -- aleph
	["ܒ"] = "b", -- beth
	["ܓ"] = "g", -- gimel
	["ܕ"] = "d", -- daleth
	["ܗ"] = "h", -- he
	["ܘ"] = "w", -- waw
	["ܙ"] = "z", -- zayin
	["ܚ"] = "ḥ", -- heth
	["ܛ"] = "ṭ", -- teth
	["ܝ"] = "y", -- yodh
	["ܟ"] = "k", -- khaph
	["ܠ"] = "l", -- lamedh
	["ܡ"] = "m", -- mem
	["ܢ"] = "n", -- nun
	["ܣ"] = "s", -- samekh
	["ܥ"] = "ʿ", -- ayin
	["ܦ"] = "p", -- pe
	["ܨ"] = "ṣ", -- sadhe
	["ܩ"] = "q", -- qoph
	["ܪ"] = "r", -- resh
	["ܫ"] = "š", -- shin
	["ܬ"] = "t", -- taw
}

function export.tr(text, lang, sc)
	
	if sc ~= "Aii" then
		return
	end

	-- Transliterate characters
	text = mw.ustring.gsub(text, '.', tt)
	
	return text
end

return export