Module:User:Surjection/kk-2018-translit

Hello, you have come here looking for the meaning of the word Module:User:Surjection/kk-2018-translit. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Surjection/kk-2018-translit, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Surjection/kk-2018-translit in singular and plural. Everything you need to know about the word Module:User:Surjection/kk-2018-translit you have here. The definition of the word Module:User:Surjection/kk-2018-translit will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Surjection/kk-2018-translit, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module is a modified version of Module:kk-translit that uses the new official 2018 Kazakh Latin alphabet instead of an older system. Despite this, the module takes some artistic liberties in transliterating characters, the romanizations of which have not described in the official alphabet (at least that I could find).


local export = {}

local tt = {
	="ú",='Ú',   ="t",='T', ="h",='H', ="r",='R',   ="f",='F',
	="ıý",='Iý', ="sh",='Sh', ="ʹ",='ʹ',   ="ʺ",='ʺ', ="n",='N', 
	="p",='P',   ="ı",='I', ="l",='L',   ="z",='Z', ="e",='E', 
	="g",='G',   ="b",='B', ="ý",='Ý',   ="s",='S', ="h",='H',
	="ch",='Ch', ="shsh",='Shsh', ="ıa",='Ia', ="y",='Y', ="e",='E', 
	="m",='M',   ="o",='O', ="ı",='I', ="ıo",='Io', ="j",='J',
	="k",='K',   ="d",='D', ="v",='V', ="ts",='Ts', ="a",='A',
	="ń",='Ń',   ="á",='Á', ="é",='É', ="u",='U', ="q",="Q",
	="ǵ",='Ǵ',   ="i",='I', ="ó",='Ó', ="ý",='Ý'
};

function export.tr(text, lang, sc)
	if sc == "Cyrl" then
		return (mw.ustring.gsub(text, '.', tt))
	end
end

return export