Modul:Java-translit
Tampilan
- ꦲ ꦤ ꦟ ꦕ ꦖ ꦫ ꦬ ꦏ ꦑ ꦐ (jv) (a na nna ca cha ra ra ka kha qa)
- ꦢ ꦣ ꦠ ꦡ ꦱ ꦯ ꦰ ꦮ ꦭ (jv) (da dha ta tha sa sha ssa wa la)
- ꦥ ꦦ ꦝ ꦞ ꦗ ꦙ ꦘ ꦪ ꦚ (jv) (pa pha dha dha ja jha jnya ya na)
- ꦩ ꦓ ꦒ ꦧ ꦨ ꦛ ꦜ ꦔ (jv) (ma gha ga ba bha tha tha nga)
- ꦄ ꦅ ꦆ ꦇ ꦉ ꦊ ꦈ ꦌ ꦎ ꦍ (jv) (a i i i re le u e o ai)
- ꦄꦅꦆꦈꦉꦊꦋꦌꦍꦎ (jv) (aiiureleleueaio)
- ꦲꦲꦺꦲꦶꦲꦺꦴꦲꦸꦲꦼ (jv) (ahéhihohuhe)
- ꦮ꦳ꦥ꦳ꦺꦗ꦳ꦶꦢ꦳ꦺꦴꦏ꦳ꦸꦒ꦳ꦼ (jv) (vafézidzokhughe)
- ꦏꦿꦏꦿꦺꦏꦿꦶꦏꦿꦺꦴꦏꦿꦸꦏꦽ ꦏꦿꦼ (jv) (krakrékrikrokrukre kre)
- ꦧꦾꦧꦾꦺꦧꦾꦶꦧꦾꦺꦴꦧꦾꦸꦧꦾꦼ (jv) (byabyébyibyobyubye)
- ꦧꦱꦗꦮ (jv) (basajawa)
- Expected: ꦧꦱꦗꦮ (basa jawa)
- ꦊꦩ꧀ꦥꦶꦠ꧀ (jv) (lempit)
- Expected: ꦊꦩ꧀ꦥꦶꦠ꧀ (lêmpit)
- ꦱꦸꦒꦼꦁꦫꦮꦸꦃꦲꦶꦁꦮꦶꦏ꧀ꦠꦶꦪꦺꦴꦤꦺꦫꦶ (jv) (sugengrawuhhingwiktiyonéri)
- Expected: ꦱꦸꦒꦼꦁꦫꦮꦸꦃꦲꦶꦁꦮꦶꦏ꧀ꦠꦶꦪꦺꦴꦤꦺꦫꦶ (sugeng rawuh ing wiktioneri)
(from w:jv:Dhiskusi_Panganggo:Bennylin/Narayam)
- ꦲꦩ꧀ꦧꦾꦸꦂ (ambyur)
- Expected: hambyur
- ꦤ꧀ꦢ꧀ꦭꦗꦸꦱ꧀ (ndlajus)
- Expected: ndlajus
- ꦩ꧀ꦧ꧀ꦭꦸꦗꦸꦂ (mblujur)
- Expected: mblujur
- ꦭꦶꦮꦠ꧀ꦏꦽꦠꦼꦒ꧀ (liwatkreteg)
- Expected: liwat krêtêg
- ꦩꦔꦤ꧀ꦏꦿꦸꦥꦸꦏ꧀ (mangankrupuk)
- Expected: mangan krupuk
- ꦏꦿꦥꦼꦱ꧀ꦏꦿꦥꦼꦱ꧀ (krapeskrapes)
- Expected: krapês-krapês
- ꦏꦿꦺꦥꦾꦏ꧀ꦏꦽꦥꦾꦼꦏ꧀ (krépyakkrepyek)
- Expected: krepyak-krêpyêk
- ꦏꦿꦸꦧꦾꦸꦏ꧀ꦏꦿꦸꦧꦾꦸꦏ꧀ (krubyukkrubyuk)
- Expected: krubyuk-krubyuk
- ꦏꦾꦺꦪꦺꦠ꧀ꦏꦾꦺꦪꦺꦠ꧀ (kyéyétkyéyét)
- Expected: kyèyèt-kyèyèt
- ꦒꦼꦊꦩ꧀ꦤꦸꦫꦸꦠ꧀ (gelemnurut)
- Expected: gêlêm nurut
- ꦏꦕꦁꦭꦚ꧀ꦗꦂꦫꦤ꧀ (kacanglanjarran)
- Expected: kacanglanjaran ("kacang lanjaran" or "kacang lan jaran"?)
- ꦲꦶꦧꦸꦏꦸꦮꦶꦔꦶꦱꦶꦁꦲꦤꦱꦸꦩꦸꦂ (ibukuwingisinghanasumur)
- Expected: ibukuwingisingonosumur ("ibuku wingi sing ono sumur" or "ibu kuwi ngising ono sumur")
- ꦥꦏ꧀ꦕꦫꦶꦏꦤ꧀ꦠꦼꦩꦤ꧀ꦠꦼꦩꦤ꧀ (pakcarikantemanteman)
- Expected: pakcarikantemanteman ("pak carik antem anteman" or "pak carikan teman teman")
(from w:jv:Dhiskusi:Joko_Widodo)
- [[꧋ꦥꦚ꧀ꦗꦼꦤꦼꦁꦔꦤ꧀ꦤꦶꦥꦸꦤ꧀ꦩꦶꦪꦺꦴꦱ꧀ꦏꦤ꧀ꦛꦶꦲꦱ꧀ꦩꦲꦱ꧀ꦭꦶꦗꦏꦮꦶꦢꦢ꧉ꦲꦤꦔꦶꦁꦤꦭꦶꦏꦠꦏ꧀ꦱꦶꦃꦲꦏ꧀ꦠꦶꦥ꦳꧀ꦲꦶꦁꦗꦒꦢ꧀ꦧꦶꦱ꧀ꦤꦶꦱ꧀ꦩꦺꦧꦼꦭ꧀ꦭꦤ꧀ꦏꦒꦸꦁꦔꦤ꧀ꦠꦶꦪꦁꦲꦶꦁꦏꦁꦠꦸꦩ꧀ꦧꦱ꧀ꦱꦏꦶꦁꦦꦿꦚ꧀ꦕꦶꦱ꧀꧈ꦠꦶꦪꦁꦦꦿꦚ꧀ꦕꦶꦱ꧀ꦩꦼꦤꦶꦏꦔꦿꦲꦺꦴꦱ꧀ꦧꦶꦔꦸꦁ꧈ꦲꦩꦂꦒꦶꦤꦭꦶꦏꦠꦸꦩ꧀ꦧꦱ꧀ꦲꦶꦁꦗꦼꦥꦫ꧈ꦱꦼꦩꦫꦁ꧈ꦭꦤ꧀ꦯꦸꦫꦧꦪꦠꦤ꧀ꦱꦃꦏꦼꦥꦁꦒꦶꦃꦏꦭꦶꦪꦤ꧀ꦠꦶꦪꦁꦲꦶꦁꦏꦁꦲꦱ꧀ꦩꦤꦶꦥꦸꦤ꧀ꦗꦏ꧉ꦤꦭꦶꦏꦏꦼꦥꦁꦒꦶꦃꦏꦭꦶꦪꦤ꧀ꦗꦏꦮꦶꦢꦢꦲꦶꦁꦯꦭ꧈ꦏꦁꦒꦺꦩ꧀ꦧꦺꦤ꧀ꦠꦼꦤ꧀ꦤꦏꦼꦤ꧀ꦱꦏꦶꦁꦗꦏꦗꦏꦲꦶꦁꦏꦁꦱꦤꦺꦱ꧀꧈ꦠꦶꦪꦁꦦꦿꦚ꧀ꦕꦶꦱ꧀ꦏꦭꦮꦲꦸꦥꦫꦶꦁꦠꦶꦩ꧀ꦧꦭꦤ꧀ꦗꦏꦮꦶ꧉#bahasa Jawa|꧋ꦥꦚ꧀ꦗꦼꦤꦼꦁꦔꦤ꧀ꦤꦶꦥꦸꦤ꧀ꦩꦶꦪꦺꦴꦱ꧀ꦏꦤ꧀ꦛꦶꦲꦱ꧀ꦩꦲꦱ꧀ꦭꦶꦗꦏꦮꦶꦢꦢ꧉ꦲꦤꦔꦶꦁꦤꦭꦶꦏꦠꦏ꧀ꦱꦶꦃꦲꦏ꧀ꦠꦶꦥ꦳꧀ꦲꦶꦁꦗꦒꦢ꧀ꦧꦶꦱ꧀ꦤꦶꦱ꧀ꦩꦺꦧꦼꦭ꧀ꦭꦤ꧀ꦏꦒꦸꦁꦔꦤ꧀ꦠꦶꦪꦁꦲꦶꦁꦏꦁꦠꦸꦩ꧀ꦧꦱ꧀ꦱꦏꦶꦁꦦꦿꦚ꧀ꦕꦶꦱ꧀꧈ꦠꦶꦪꦁꦦꦿꦚ꧀ꦕꦶꦱ꧀ꦩꦼꦤꦶꦏꦔꦿꦲꦺꦴꦱ꧀ꦧꦶꦔꦸꦁ꧈ꦲꦩꦂꦒꦶꦤꦭꦶꦏꦠꦸꦩ꧀ꦧꦱ꧀ꦲꦶꦁꦗꦼꦥꦫ꧈ꦱꦼꦩꦫꦁ꧈ꦭꦤ꧀ꦯꦸꦫꦧꦪꦠꦤ꧀ꦱꦃꦏꦼꦥꦁꦒꦶꦃꦏꦭꦶꦪꦤ꧀ꦠꦶꦪꦁꦲꦶꦁꦏꦁꦲꦱ꧀ꦩꦤꦶꦥꦸꦤ꧀ꦗꦏ꧉ꦤꦭꦶꦏꦏꦼꦥꦁꦒꦶꦃꦏꦭꦶꦪꦤ꧀ꦗꦏꦮꦶꦢꦢꦲꦶꦁꦯꦭ꧈ꦏꦁꦒꦺꦩ꧀ꦧꦺꦤ꧀ꦠꦼꦤ꧀ꦤꦏꦼꦤ꧀ꦱꦏꦶꦁꦗꦏꦗꦏꦲꦶꦁꦏꦁꦱꦤꦺꦱ꧀꧈ꦠꦶꦪꦁꦦꦿꦚ꧀ꦕꦶꦱ꧀ꦏꦭꦮꦲꦸꦥꦫꦶꦁꦠꦶꦩ꧀ꦧꦭꦤ꧀ꦗꦏꦮꦶ꧉]] ([[://panjenengngannipunmiyoskanthihasmahaslijakawidada.hanangingnalikataksihhaktifhingjagadbisnismébellankagungngantiyanghingkangtumbassakingphrancis,tiyangphrancismenikangrahosbingung,hamarginalikatumbashingjepara,semarang,lanshurabayatansahkepanggihkaliyantiyanghingkanghasmanipunjaka.nalikakepanggihkaliyanjakawidadahingshala,kanggémbéntennakensakingjakajakahingkangsanés,tiyangphranciskalawahuparingtimbalanjakawi.#bahasa Jawa|//panjenengngannipunmiyoskanthihasmahaslijakawidada.hanangingnalikataksihhaktifhingjagadbisnismébellankagungngantiyanghingkangtumbassakingphrancis,tiyangphrancismenikangrahosbingung,hamarginalikatumbashingjepara,semarang,lanshurabayatansahkepanggihkaliyantiyanghingkanghasmanipunjaka.nalikakepanggihkaliyanjakawidadahingshala,kanggémbéntennakensakingjakajakahingkangsanés,tiyangphranciskalawahuparingtimbalanjakawi.]])
- Expected
local export = {}
local consonants = {
['ꦏ']='k', ['ꦑ']='kh', ['ꦒ']='g', ['ꦓ']='gh', ['ꦔ']='ng',
['ꦕ']='c', ['ꦖ']='ch', ['ꦗ']='j', ['ꦙ']='jh', ['ꦚ']='ny',
['ꦛ']='ṭ', ['ꦜ']='ṭh', ['ꦝ']='ḍ', ['ꦞ']='ḍh', ['ꦟ']='ṇ',
['ꦠ']='t', ['ꦡ']='th', ['ꦢ']='d', ['ꦣ']='dh', ['ꦤ']='n',
['ꦥ']='p', ['ꦦ']='ph', ['ꦧ']='b', ['ꦨ']='bh', ['ꦩ']='m',
['ꦪ']='y', ['ꦫ']='r', ['ꦭ']='l', ['ꦮ']='w',
['ꦯ']='ś', ['ꦰ']='ṣ', ['ꦱ']='s', ['ꦲ']='h',
['ꦬ']='r', --'Ra Agung' (obsolete letter)
['ꦐ']='q', --'Ka Sasak' (obsolete letter), some say it's a replacement of 'q'
['ꦘ']='jny', --'Nya murda' (obsolete letter?)
}
local diacritics = {
['ꦴ']='ā', ['ꦶ']='i', ['ꦷ']='ī', ['ꦸ']='u', ['ꦹ']='ū', ['ꦼ']='ê', ['ꦺ']='e', ['ꦻ']='ai', ['ꦺꦴ']='o', ['ꦻꦴ']='au',
['ꦿ']='ṛa', ['ꦿꦴ']='ṛā', ['ꦿꦶ']='ṛi', ['ꦿꦷ']='ṛī', ['ꦿꦸ']='ṛu', ['ꦿꦹ']='ṛū', ['ꦽ']='ṝê', ['ꦿꦺ']='ṛe', ['ꦽꦻ']='ṝai', ['ꦿꦺꦴ']='ṛo', ['ꦿꦻꦴ']='ṛau',
['ꦿꦼ']='ṝê', --alternative, albeit wrong 'ṝê'
['ꦾ']='ya', ['ꦾꦴ']='yā', ['ꦾꦶ']='yi', ['ꦾꦷ']='yī', ['ꦾꦸ']='yu', ['ꦾꦹ']='yū', ['ꦾꦼ']='yê', ['ꦾꦺ']='ye', ['ꦾꦻ']='yai', ['ꦾꦺꦴ']='yo', ['ꦾꦻꦴ']='yau',
['ꦵ']='o', --Sundanese -o
}
local rekan = {
['ꦏ']='kh', ['ꦢ']='dz', ['ꦥ']='f', ['ꦮ']='w', ['ꦗ']='z', ['ꦒ']='gh',
}
local tt = {
-- vowels
['ꦄ']='a', ['ꦅ']='i', ['ꦆ']='ī', ['ꦇ']='ī', ['ꦈ']='u', ['ꦎ']='o',
['ꦉ']='ṛê', ['ꦊ']='ḷê', ['ꦋ']='ḹê', ['ꦌ']='e', ['ꦍ']='ai',
-- chandrabindu
['ꦀ']='m̐', --until a better method is found
['ꦁ']='ng', --final -ng
['ꦃ']='ḥ', --final -h
['ꦂ']='r', --final -r
--numerals
['꧐']='꧑', ['꧑']='1', ['꧒']='2', ['꧓']='3', ['꧔']='4', ['꧕']='5', ['꧖']='6', ['꧗']='7', ['꧘']='8', ['꧙']='9',
--punctuation
['꧉']='. ', --period (followed by space, for legibility)
['꧈']=', ', --comma (followed by space, for legibility)
['꧊ ꧋']='', --beginning of paragraph
['꧌']='"',
['꧍']='"',
['꧀']='',--virama; technically, every time this character occur, move back one character (the vowel is silenced) -- for syllable that ends with consonant.
['']=' ', --zero-width space
--miscellaneous untransliterable punctuations
['꧊']='', --? of uncertain usage
['꧋']='', --beginning of paragraph
['꧅']='', --pada luhur
['꧄']='', --pada madya
['꧃']='', --pada andhap
['꧂']='', --rêrênggan têngên
['꧁']='', --rêrênggan kiwa
['꧟']='', --pada isen-isen
['꧞']='', --pada tirta tumetes
['꧆']='', --pada windu
}
function export.tr(text, lang, sc)
text = mw.ustring.gsub(text, '(ꦚ꧀ꦗ)([ꦽꦿꦾ]?[ꦺꦻ]?[ꦴꦶꦷꦸꦹꦼ]?)', --sengau 'nyj' = 'nj'
function(c, d)
if d == "" then
return 'nj' .. 'a'
else
return 'nj' .. diacritics[d]
end
end)
text = mw.ustring.gsub(text, '(ꦚ꧀ꦕ)([ꦽꦿꦾ꧀]?[ꦺꦻ]?[ꦴꦶꦷꦸꦹꦼ]?)', --sengau 'nyc' = 'nc'
function(c, d)
if d == "" then
return 'nc' .. 'a'
else
return 'nc' .. diacritics[d]
end
end)
text = mw.ustring.gsub(text, '([ꦏꦢꦥꦮꦗꦒ])꦳([ꦽꦿꦾ꧀]?[ꦺꦻ]?[ꦴꦶꦷꦸꦹꦼ]?)',
function(c, d)
if d == "" then
return rekan[c] .. 'a'
elseif d == "꧀" then
return rekan[c]
else
return rekan[c] .. diacritics[d]
end
end)
text = mw.ustring.gsub(
text,
'([ꦏꦐꦑꦒꦓꦔꦕꦖꦗꦘꦙꦚꦛꦜꦝꦞꦟꦠꦡꦢꦣꦤꦥꦦꦧꦨꦩꦪꦫꦬꦭꦮꦯꦰꦱꦲ])([ꦽꦿꦾ꧀]?[ꦺꦻ]?[ꦴꦶꦷꦸꦹꦼ]?)', --fix (determine whether vowel or not)
function(c, d)
if d == "" then
return consonants[c] .. 'a'
elseif d == "꧀" then
return consonants[c]
else
return consonants[c] .. diacritics[d]
end
end)
text = mw.ustring.gsub(text, '.', tt)
return text
end
return export