Jump to content

Module:iu-translit

ពីWiktionary

Documentation for this module may be created at Module:iu-translit/doc

local export = {}

function export.tr(text, lang, sc)
	text = require("Module:Cans-translit").tr(text, lang, sc)
	text = mw.ustring.gsub(text,"ī","ii")
	text = mw.ustring.gsub(text,"ō","uu")
	text = mw.ustring.gsub(text,"ā","aa")
	text = mw.ustring.gsub(text,"š","sh")
	text = mw.ustring.gsub(text,"ð","th")
	text = mw.ustring.gsub(text,"e","ai")
	text = mw.ustring.gsub(text,"o","u")
	text = mw.ustring.gsub(text,"y","j")
	text = mw.ustring.gsub(text,"f","v")
	text = mw.ustring.gsub(text,"c","g")
	return text
end

return export