A modult a Modul:sog-translit/doc lapon tudod dokumentálni

local export = {}

function export.tr(text, lang, sc)
	if not sc then
		sc = require("Module:scripts").findBestScript(text, require("Module:languages").getByCode(lang)):getCode()
	end
	if sc == "Sogd" then	-- transliterate Sogdian
		return require("Module:Sogd-translit").tr(text, lang, sc)
	elseif sc == "Mani" then	-- transliterate Manichaean
		return require("Module:Mani-translit").tr(text, lang, sc)
	else
		return nil
	end
end

return export