Help:Extension:UniversalLanguageSelector/Input methods/jv-transliteration

From Linux Web Expert

Untuk instruksi dan bantuan dalam bahasa Indonesia dan bahasa Jawa, lihat jv:Help:Nulis Aksara Jawa
This page may be outdated. Last checked: 2 September 2013
For the actual production level script, see https://github.com/wikimedia/jquery.ime/blob/master/rules/jv/jv-transliteration.js. Last update: v1.1 - 10 August 2013
File:Tutorial Aksara Jawa Wikipedia dengan suara 4 menit.mpg
NEW tutorial video on how to use it. (2021): File:Tutorial Aksara Jawa Wikipedia dengan suara 4 menit.mpg
Here for 1 minute silent version: File:Tutorial Aksara Jawa Wikipedia tanpa suara 1 menit.mpg

Writing Javanese script is easy; as long as you can write in normal keyboard, you can write in Javanese script. You don't need to memorize any keyboard sequence to be able to write basic sentences.

The only two special characters are "x" and "q", because both were not used in normal words. "x/X" is used for writing "ê/Ê" (pêpêt), and "q/Q" for writing special characters.

( function ( $ ) {
	'use strict';

	var jvTransliteration = {
		id: 'jv-transliteration',
		name: 'Javanese',
		description: 'Javanese transliteration',
		date: '2013-08-10',
		URL: 'http://github.com/wikimedia/jquery.ime',
		author: 'Bennylin',
		license: 'GPLv3',
		version: '1.2',
		contextLength: 1,
		maxKeyLength: 2,
		patterns: [
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
			// TOC:
			// VII. Vocal ended with special pasangan followed by vocal = back to normal
			// VI. Vocal (lowercase, uppercase, extended) ended with h/r/ng = special pasangan (-h, -r, -ng)
			// V. Lower case consonant followed by lower case consonant: Basic
			// IV. Special consonant and vowels
			// III. Symbols
			// II. Basic Letters
			// I. Number

			// About the TOC:
			// The TOC are reversed, and the most basic letters are at the bottom.

			// VII. Vocal ended with special pasangan followed by vocal = back to normal
			[ 'ꦃa', '', 'ꦲ' ], // vocal ended with -h followed by a
			[ 'ꦃe', '', 'ꦲꦺ' ], // vocal ended with -h followed by e
			[ 'ꦃi', '', 'ꦲꦶ' ], // vocal ended with -h followed by i
			[ 'ꦃo', '', 'ꦲꦺꦴ' ], // vocal ended with -h followed by o
			[ 'ꦃu', '', 'ꦲꦸ' ], // vocal ended with -h followed by u
			[ 'ꦃx', '', 'ꦲꦼ' ], // vocal ended with -h followed by ê

			[ 'ꦂa', '', 'ꦫ' ], // vocal ended with -r followed by a
			[ 'ꦂe', '', 'ꦫꦺ' ], // vocal ended with -r followed by e
			[ 'ꦂi', '', 'ꦫꦶ' ], // vocal ended with -r followed by i
			[ 'ꦂo', '', 'ꦫꦺꦴ' ], // vocal ended with -r followed by o
			[ 'ꦂu', '', 'ꦫꦸ' ], // vocal ended with -r followed by u
			[ 'ꦂx', '', 'ꦉ' ], // vocal ended with -r followed by ê (Special)

			[ 'ꦁa', '', 'ꦔ' ], // vocal ended with -ng followed by a
			[ 'ꦁe', '', 'ꦔꦺ' ], // vocal ended with -ng followed by e
			[ 'ꦁi', '', 'ꦔꦶ' ], // vocal ended with -ng followed by i
			[ 'ꦁo', '', 'ꦔꦺꦴ' ], // vocal ended with -ng followed by o
			[ 'ꦁu', '', 'ꦔꦸ' ], // vocal ended with -ng followed by u
			[ 'ꦁx', '', 'ꦔꦼ' ], // vocal ended with -ng followed by ê

			[ 'ꦿa', '', 'ꦿ' ], // cakra (medial -r-) followed by a
			[ 'ꦿe', '', 'ꦿꦺ' ], // cakra (medial -r-) followed by e
			[ 'ꦿi', '', 'ꦿꦶ' ], // cakra (medial -r-) followed by i
			[ 'ꦿo', '', 'ꦿꦺꦴ' ], // cakra (medial -r-) followed by o
			[ 'ꦿu', '', 'ꦿꦸ' ], // cakra (medial -r-) followed by u
			[ 'ꦿx', '', 'ꦽ' ], // cakra (medial -r-) followed by ê (Special biconsonant -rê)
			// if you want to write "cakra" + aksara "hi" instead, use "hi" instead of "i", etc.

			[ 'ꦾa', '', 'ꦾ' ], // pengkal (medial -y-) followed by a
			[ 'ꦾe', '', 'ꦾꦺ' ], // pengkal (medial -y-) followed by e
			[ 'ꦾi', '', 'ꦾꦶ' ], // pengkal (medial -y-) followed by i
			[ 'ꦾo', '', 'ꦾꦺꦴ' ], // pengkal (medial -y-) followed by o
			[ 'ꦾu', '', 'ꦾꦸ' ], // pengkal (medial -y-) followed by u
			[ 'ꦾx', '', 'ꦾꦼ' ], // pengkal (medial -y-) followed by u
			// if you want to write "pengkal" + aksara "hi" instead, use "hi" instead of "i", etc.

			// VI. Vocal (lowercase, uppercase, extended) ended with h/r/ng = special pasangan (-h, -r, -ng)
			[ '꧀​h', '', '꧀ꦲ꧀' ],
			// vocal a ended with h/r/ng
			[ '(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|꦳)h', '', '$1ꦃ' ], // hanacaraka + h = -h
			[ '(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|꦳)H', '', '$1ꦴ' ], // hanacaraka + H = -ā
			[ '(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|꦳)(r|R)', '', '$1ꦂ' ], // hanacaraka + r = -r
			[ '(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|꦳)(ꦤ|ꦟ)꧀(g|G)', '', '$1ꦁ' ], // hanacaraka + ng = -ng
			// other vocals ended with h/r/ng
			[ '(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(h|H)', '', '$1ꦃ' ], // other vocal ended with -h
			[ '(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(r|R)', '', '$1ꦂ' ], // other vocal ended with -r
			[ '(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(ꦤ|ꦟ)꧀(g|G)', '', '$1ꦁ' ], // other vocal ended with -ng

			// V. Lower case consonant followed by lower case consonant: Basic
			// Note: not all of these combination are valid in Javanese language, for example -hn-,
			// so they are here only for logical reason, practically they should never be used.
			// Obvious removal are noted (such as -yy-). th, dh, ny, ng, c, h, r, w, y are special cases:

			// pasangan 'ha'(ꦲ/ꦃ) is considered final, exception: about 60 words can be found of "ha" followed by consonant y/r/l/w
			// pasangan 'ra'(ꦫ/ꦂ) is considered final, exception: 5 words can be found of "ra" followed by consonant y/w
			// pasangan bigraf nga(ꦔ/ꦁ) is considered final, exception: "nga" can only be found followed by consonant y/r/l/w
			// (some problem may occur - see http://jv.wikipedia.org/wiki/Dhiskusi_Panganggo:Bennylin/Narayam#Ng)
			// pasangan bigraf nya can only be found followed by consonant r/l/w, and
			// although not found in Latin, it also found in Javanese script representation of nasal sounds ñ (see nyc and nyj)
			// pasangan bigraf dha can only be found followed by consonant y/r/ w
			// pasangan bigraf tha can only be found followed by consonant r
			// the letter 'w' can only be found followed by consonant y/r/l/w (nasal for 'u')
			// the letter 'c' can only be found followed by consonant r/l, and ch
			// the letter 'y' can only be found followed by consonant w (nasal for 'i')

			[ '꧀a', '', '' ], // default vowel is 'a', so, remove the pangkon
			[ '(ꦾ|ꦿ)a', '', '$1' ], // default vowels for cakra and pengkal are 'a', so, don't do anything
			[ '꧀A', '', '꧀ꦄ' ], // A
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀b', '', '$1꧀ꦧ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀B', '', '$1꧀ꦨ꧀' ], // pasangan Ba murda
			[ 'ꦤ꧀​(c|C)', '', 'ꦚ꧀ꦕ꧀' ], // n+zero-width-space+c
			// TODO: the above code doesn't seem to work
			[ 'ꦤ꧀(c|C)', '', 'ꦚ꧀ꦕ꧀' ], // n followed by c became nasalized (nasal sound 'ny' + c)(REF:nyc)
			[ '(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀c', '', '$1꧀ꦕ꧀' ],
			[ '(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀C', '', '$1꧀ꦖ꧀' ], // pasangan Ca murda(?)
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀d', '', '$1꧀ꦢ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀D', '', '$1꧀ꦣ꧀' ], // pasangan Da murda
			[ '꧀e', '', 'ꦺ' ], // é|è
			[ '꧀E', '', '꧀ꦌ' ], // É|È
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(f|F)', '', '$1꧀ꦥ꦳꧀' ],
			[ '(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀g', '', '$1꧀ꦒ꧀' ], // can't be started with n, reserved for bigraf ng
			[ '(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀G', '', '$1꧀ꦓ꧀' ], // pasangan Ga murda (can't be started with n - see II. 2.)
			[ '(ꦤ|ꦭ|ꦥ|ꦩ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|ꦉ|ꦊ|ꦋ)꧀(h|H)', '', '$1꧀ꦲ꧀' ], // can't be started with k/d/t/g/j/s, reserved for bigraf kh/dh/th/gh/jh/sh
			[ '꧀i', '', 'ꦶ' ], // i
			[ '꧀I', '', '꧀ꦆ' ], // I
			[ 'ꦤ꧀​(j|J)', '', 'ꦤ꧀ꦗ꧀' ], // n+zero-width-space+j
			// TODO: the above code doesn't seem to work
			[ 'ꦤ꧀(j|J)', '', 'ꦚ꧀ꦗ꧀' ], // n followed by j became nasalized (nasal sound 'ny' + j)(REF:nyj)
			[ '(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀j', '', '$1꧀ꦗ꧀' ],
			[ '(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀J', '', '$1꧀ꦙ꧀' ], // pasangan Ja mahaprana
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀k', '', '$1꧀ꦏ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀K', '', '$1꧀ꦑ꧀' ], // pasangan Ka murda
			[ 'ꦃl', '', 'ꦲ꧀ꦭ꧀' ], // vocal ended with -h followed by l (Special panjingan)
			[ 'ꦂl', '', 'ꦫ꧀ꦭ꧀' ], // vocal ended with -r followed by l (Special panjingan)
			[ 'ꦁl', '', 'ꦔ꧀ꦭ꧀' ], // vocal ended with -ng followed by l (Special panjingan)
			// if you want to write panyigeg + aksara "la" instead, put a space between the panyigeg and "l"
			[ '(ꦲ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(l|L)', '', '$1꧀ꦭ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(m|M)', '', '$1꧀ꦩ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀n', '', '$1꧀ꦤ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀N', '', '$1꧀ꦟ꧀' ], // pasangan Na murda
			[ '꧀o', '', 'ꦺꦴ' ], // o
			[ '꧀O', '', '꧀ꦎ' ], // O
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀p', '', '$1꧀ꦥ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀P', '', '$1꧀ꦦ꧀' ], // pasangan Pa murda
			// q - a Pangkon + q would result in Cecak telu. See III.
			[ '(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀​r', '', '$1꧀ꦫ꧀' ], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
			[ '(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀​R', '', '$1꧀ꦬ꧀' ], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
			// TODO: these two above doesn't seem to work
			[ 'ꦃr', '', 'ꦲꦿ' ], // vocal ended with -h followed by r (Special cakra)
			[ 'ꦂr', '', 'ꦫꦿ' ], // vocal ended with -r followed by r (Special cakra) -- TODO: impossible combination?
			[ 'ꦁr', '', 'ꦔꦿ' ], // vocal ended with -ng followed by r (Special cakra)
			// if you want to write panyigeg + aksara "ra" instead, put a space between the panyigeg and "r"
			[ '(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|ꦉ|ꦊ|ꦋ)꧀(r|R)', '', '$1ꦿ' ], // special biconsonant -ra, cakra
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀s', '', '$1꧀ꦱ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀S', '', '$1꧀ꦯ꧀' ], // pasangan Sa murda
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀t', '', '$1꧀ꦠ꧀' ],
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀T', '', '$1꧀ꦡ꧀' ], // pasangan Ta murda
			[ '꧀u', '', 'ꦸ' ], // u
			[ '꧀U', '', '꧀ꦈ' ], // U
			[ '(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(v|V)', '', '$1꧀ꦮ꦳꧀' ],
			[ 'ꦃw', '', 'ꦲ꧀ꦮ꧀' ], // vocal ended with -h followed by w (Special panjingan)
			[ 'ꦂw', '', 'ꦫ꧀ꦮ꧀' ], // vocal ended with -r followed by w (Special panjingan)
			[ 'ꦁw', '', 'ꦔ꧀ꦮ꧀' ], // vocal ended with -ng followed by w (Special panjingan)
			// if you want to write panyigeg + aksara "wa" instead, put a space between the panyigeg and "w"
			[ '(ꦲ|ꦤ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(w|W)꧀', '', '$1꧀ꦮ' ],
			[ 'ꦭ꧀x', '', 'ꦊ' ], // special character lê
			[ 'ꦫ꧀x', '', 'ꦉ' ], // special character rê
			[ '꧀x', '', 'ꦼ' ], // x is another way to write ê
			// [ '꧀X', '', '꧀ꦄꦼ' ], // X is another way to write Ê
			[ 'ꦃy', '', 'ꦲꦾ' ], // vocal ended with -h followed by y (Special pengkal)
			[ 'ꦂy', '', 'ꦫꦾ' ], // vocal ended with -r followed by y (Special pengkal)
			[ 'ꦁy', '', 'ꦔꦾ' ], // vocal ended with -ng followed by y (Special pengkal)
			// if you want to write panyigeg + aksara "ya" instead, put a space between the panyigeg and "y"
			[ '(ꦲ|ꦃ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀​(y|Y)', '', '$1꧀ꦪ꧀' ], // consonant+zero-width-space+(y|Y) doesn't make special biconsonant -ya
			// TODO: the above code doesn't seem to work
			[ '(ꦲ|ꦃ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(y|Y)', '', '$1ꦾ' ], // special biconsonant -ya, pengkal
			// can't be started with n or y, reserved for bigraf ny (REF:-yy-)
			[ '(ꦤ|ꦏ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ)꧀(z|Z)', '', '$1ꦾꦗ꦳꧀' ], // can't be started with d, reserved for bigraf dz

			// IV Special consonant and vowels
			// IV. 1. Special consonant
			[ 'ꦊq', '', 'ꦋ' ], // special character lê Raswadi
			// [ 'ꦭ꧀x', '', 'ꦊ' ], // special character lê
			// [ 'ꦫ꧀x', '', 'ꦉ' ], // special character rê
			// not need for alternate input
			// [ 'ꦌx', '', 'ꦄꦼ' ], // Ê
			// [ 'ꦝ꧀q', '', 'ꦞ꧀' ], // Da mahaprana
			// [ 'ꦛ꧀q', '', 'ꦜ꧀' ], // Ta mahaprana
			// [ 'ꦚ꧀q', '', 'ꦘ꧀' ], // Nya murda
			// [ 'ꦧ꧀q', '', 'ꦨ꧀' ], // Ba murda
			// [ 'ꦕ꧀q', '', 'ꦖ꧀' ], // Ca murda(?)
			// [ 'ꦢ꧀q', '', 'ꦣ꧀' ], // Da murda
			// [ 'ꦒ꧀q', '', 'ꦓ꧀' ], // Ga murda
			// [ 'ꦗ꧀q', '', 'ꦙ꧀' ], // Ja Mahaprana
			// [ 'ꦏ꧀q', '', 'ꦑ꧀' ], // Ka murda
			// [ 'ꦤ꧀q', '', 'ꦟ꧀' ], // Na murda
			// [ 'ꦥ꧀q', '', 'ꦦ꧀' ], // Pa murda
			// [ 'ꦱ꧀q', '', 'ꦯ꧀' ], // Sa murda
			// [ 'ꦠ꧀q', '', 'ꦡ꧀' ], // Ta murda

			// IV. 2. Extended consonant
			// see II. 1.

			// IV. 3. Extended vowel
			// long a (aa) - see VI. and II. - 'H'
			[ '(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|꦳)i', '', '$1ꦻ' ], // hanacaraka + i = -ai
			[ '(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦣ|ꦡ|ꦞ|ꦜ|ꦙ|ꦬ|꦳)u', '', '$1ꦻꦴ' ], // hanacaraka + u = -au
			[ 'ꦄi', '', 'ꦍ' ], // Ai
			[ 'ꦄu', '', 'ꦎꦴ' ], // Au
			[ 'ꦶi', '', 'ꦷ' ], // long i (ii)
			[ 'ꦆi', '', 'ꦇ' ], // long i (Ii)
			[ 'ꦸu', '', 'ꦹ' ], // long u (uu)
			[ 'ꦈu', '', 'ꦈꦴ' ], // long u (Uu)
			[ 'ꦺꦴo', '', 'ꦵ' ], // Sundanese -o

			// III. Symbols
			// q and Q are special characters for choosing less used characters by pressing q/Q multiple times (rotating back)
			[ ' ', '', '​' ], // zero-width-space, since javanese have no space
			[ '꧅q', '', '꧁' ], // rêrênggan kiwa
			[ '꧄q', '', '꧅' ], // pada luhur
			[ '꧃q', '', '꧄' ], // pada madya
			[ '꧂q', '', '꧃' ], // pada andhap
			[ '꧁q', '', '꧂' ], // rêrênggan têngên
			[ 'Q', '', '꧁' ], // rêrênggan kiwa
			[ '꧟[Q|q]', '', '꧀' ], // pangkon
			[ '꧞[Q|q]', '', '꧟' ], // pada isen-isen
			[ '꧆[Q|q]', '', '꧞' ], // pada tirta tumetes
			[ 'ꦀ[Q|q]', '', '꧆' ], // pada windu
			[ '꦳[Q|q]', '', 'ꦀ' ], // panyangga
			[ '꧀[Q|q]', '', '꦳' ], // cecak telu
			[ 'q', '', '꧀' ], // pangkon - to cut off the default -a vowel

			// doesn't work, not need for alternate input
			// [ 'ꦫq', '', 'ꦿ' ], // another way to write -ra
			// [ 'ꦪq', '', 'ꦾ' ], // another way to write -ya

			// II Basic Letters
			// II. 1. Alphabetical ha-na-ca-ra-ka
			// bigraf
			[ 'ꦠ꧀​h', '', 'ꦠ꧀ꦲ꧀' ], // t_h (with zero-width-space)
			[ 'ꦢ꧀​h', '', 'ꦢ꧀ꦲ꧀' ], // d_h (with zero-width-space)
			[ 'ꦤ꧀​y', '', 'ꦚ꧀ꦪ꧀' ], // n_y (with zero-width-space)
			[ 'ꦤ꧀​g', '', 'ꦔ꧀ꦒ꧀' ], // n_g (with zero-width-space)
			// TODO: the above 2 lines of code doesn't seem to work
			[ 'ꦠ꧀h', '', 'ꦛ꧀' ], // th
			[ 'ꦢ꧀h', '', 'ꦝ꧀' ], // dh
			[ 'ꦤ꧀y', '', 'ꦚ꧀' ], // ny
			[ 'ꦤ꧀g', '', 'ꦁ' ], // ng
			[ 'a', '', 'ꦲ' ],
			[ 'b', '', 'ꦧ꧀' ],
			[ 'c', '', 'ꦕ꧀' ],
			[ 'd', '', 'ꦢ꧀' ],
			[ 'e', '', 'ꦲꦺ' ], // é|è
			[ 'f', '', 'ꦥ꦳꧀' ],
			[ 'g', '', 'ꦒ꧀' ],
			[ 'h', '', 'ꦲ꧀' ],
			[ 'i', '', 'ꦲꦶ' ],
			[ 'j', '', 'ꦗ꧀' ],
			[ 'k', '', 'ꦏ꧀' ],
			[ 'l', '', 'ꦭ꧀' ],
			[ 'm', '', 'ꦩ꧀' ],
			[ 'n', '', 'ꦤ꧀' ],
			[ 'o', '', 'ꦲꦺꦴ' ],
			[ 'p', '', 'ꦥ꧀' ],
			// q = special letters, see III.
			[ 'r', '', 'ꦫ꧀' ],
			[ 's', '', 'ꦱ꧀' ],
			[ 't', '', 'ꦠ꧀' ],
			[ 'u', '', 'ꦲꦸ' ],
			[ 'v', '', 'ꦮ꦳꧀' ],
			[ 'w', '', 'ꦮ꧀' ],
			[ 'x', '', 'ꦲꦼ' ], // ê
			[ 'y', '', 'ꦪ꧀' ],
			[ 'z', '', 'ꦗ꦳꧀' ],
			// extended consonants
			[ 'ꦱ꧀​h', '', 'ꦱ꧀ꦲ꧀' ], // s_h (with zero-width-space)
			[ 'ꦏ꧀​h', '', 'ꦏ꧀ꦲ꧀' ], // k_h (with zero-width-space)
			[ 'ꦒ꧀​h', '', 'ꦒ꧀ꦲ꧀' ], // g_h (with zero-width-space)
			[ 'ꦢ꧀​z', '', 'ꦢ꧀ꦗ꦳꧀' ], // d_z (with zero-width-space)
			// TODO: the above code doesn't seem to work
			[ 'ꦗ꧀​h', '', 'ꦗ꧀ꦲ꧀' ], // j_h (with zero-width-space)
			[ 'ꦱ꧀h', '', 'ꦯ꧀' ], // sh
			[ 'ꦏ꧀h', '', 'ꦏ꦳꧀' ], // kh
			[ 'ꦒ꧀h', '', 'ꦒ꦳꧀' ], // gh
			[ 'ꦢ꧀z', '', 'ꦢ꦳꧀' ], // dz
			[ 'ꦗ꧀h', '', 'ꦙ꧀' ], // jh/Ja mahaprana

			// II. 2. Capital Ha-Na-Ca-Ra-Ka (Aksara Murda)
			[ 'ꦡ꧀h', '', 'ꦜ꧀' ], // Ta mahaprana
			[ '(ꦠ|ꦡ)꧀H', '', 'ꦜ꧀' ], // Ta mahaprana
			[ 'ꦣ꧀h', '', 'ꦞ꧀' ], // Da murda
			[ '(ꦢ|ꦣ)꧀H', '', 'ꦞ꧀' ], // Da murda
			[ 'ꦟ꧀y', '', 'ꦘ꧀' ], // Nya murda
			[ '(ꦤ|ꦟ)꧀Y', '', 'ꦘ꧀' ], // NYA murda
			[ '(ꦤ|ꦟ)꧀(g|G)', '', 'ꦔ꧀' ], // nga
			[ 'A', '', 'ꦄ' ], // A
			[ 'B', '', 'ꦨ꧀' ], // Ba murda
			[ 'C', '', 'ꦖ꧀' ], // Ca murda(?)
			[ 'D', '', 'ꦣ꧀' ], // Da mahaprana
			[ 'E', '', 'ꦌ' ], // É|È
			[ 'F', '', 'ꦥ꦳꧀' ],
			[ 'G', '', 'ꦓ꧀' ], // Ga murda
			[ 'H', '', 'ꦴ' ], // tarung/Long a. eg. for Cakra & Pengkal with long a ꦏꦿꦴ or ꦠꦾꦴ
			[ 'I', '', 'ꦆ' ], // I
			[ 'J', '', 'ꦙ꧀' ], // Ja Mahaprana
			[ 'K', '', 'ꦑ꧀' ], // Ka murda
			[ 'L', '', 'ꦭ꧀' ],
			[ 'M', '', 'ꦩ꧀' ],
			[ 'N', '', 'ꦟ꧀' ], // Na murda
			[ 'O', '', 'ꦎ' ], // O
			[ 'P', '', 'ꦦ꧀' ], // Pa murda
			// Q = special letters, see III.
			[ 'R', '', 'ꦬ꧀' ], // Ra agung
			[ 'S', '', 'ꦯ꧀' ], // Sa murda
			[ 'T', '', 'ꦡ꧀' ], // Ta mahaprana
			[ 'U', '', 'ꦈ' ], // U
			[ 'V', '', 'ꦮ꦳꧀' ],
			[ 'W', '', 'ꦮ꧀' ],
			[ 'X', '', 'ꦄꦼ' ], // X is another way to write Ê
			[ 'Y', '', 'ꦪ꧀' ],
			[ 'Z', '', 'ꦰ꧀' ], // sa kembang - ṣa (ssa)

			// I. Number
			[ '0', '', '꧐' ],
			[ '1', '', '꧑' ],
			[ '2', '', '꧒' ],
			[ '3', '', '꧓' ],
			[ '4', '', '꧔' ],
			[ '5', '', '꧕' ],
			[ '6', '', '꧖' ],
			[ '7', '', '꧗' ],
			[ '8', '', '꧘' ],
			[ '9', '', '꧙' ],
			[ ':', '', '꧇' ], // 'enclose Javanese numbers, e.g. ":1:"'
			[ ',', '', '꧈' ], // 'comma'
			[ '\\.', '', '꧉' ], // 'period'
			[ '꧊\\|', '', '꧋' ], // 'opening paragraph character'
			[ '\\|', '', '꧊' ], // 'poem character'
			[ '\\(', '', '꧌' ], // 'Javanese opening bracket'
			[ '\\)', '', '꧍' ] // 'Javanese closing bracket'
		]
	};

	$.ime.register( jvTransliteration );
}( jQuery ) );