模組:As-Beng-Deva-translit
Language code in page name (As
) not recognized.
local export = {}
local char = {
["ৰ"] = "र", ["ৱ"] = "व"
}
function export.tr(text, lang, sc, override)
local UTF8_char = "[%z\1-\127\194-\244][\128-\191]*"
local asBeng = require("Module:scripts").getByCode("as-Beng")
text = mw.ustring.toNFD(text)
text = string.gsub(text, UTF8_char, char)
text = require("Module:Beng-Deva-translit").tr(text, lang, sc, true)
text = mw.ustring.gsub(
text,
".",
function(c)
return conv[c]
end)
return text
end
return export