မော်ဂျူး:th-translit

ဝစ်ရှင်နရီ မှ

This module will transliterate မဆုံးဖြတ်နိုင်သော language text.

The module should preferably not be called directly from templates or other modules. To use it from a template, use {{xlit}}. Within a module, use Module:languages#Language:transliterate.

For testcases, see Module:th-translit/testcases.


local export = {}

local m_pron = require("Module:th-pron")

function export.tr(text, lang, sc)
	return m_pron.translit(text, lang, sc, "paiboon", "translit-module")
end

function export.tr1(text)
	return table.concat(m_pron.getCharSeqTbl(text))
end

return export