Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search

This module is no longer used. It formerly handled Punjabi transliteration, but it has been replaced with Module:translit-redirect.

Crystal Clear filesystem trashcan full.png This module page has been nominated for deletion(+)
Please see that page for discussion and justifications. Feel free to edit this module page as normal, though do not remove the {{rfd}} until the debate has finished.

local export = {}

function, lang, sc, debug_mode)

	local out_text
	if (sc == 'Guru') then
		out_text = require('Module:Guru-translit').tr(text, lang, sc, debug_mode)
	elseif (sc == 'Shah' or 'pa-Arab') then
		out_text = require('Module:pa-Arab-translit').tr(text, lang, sc, debug_mode)
	elseif (sc == 'Deva') then
		out_text = require('Module:hi-translit').tr(text, lang, sc, debug_mode)
	--	out_text = nil
		local namespace = mw.title:getCurrentTitle().nsText
		if namespace == "Category" then
			out_text = nil
			error('Invalid script for Punjabi language.')

	return out_text


return export