Lightweight Azeri and Turkish transliteration script for textareas and inputs
Activate Turanslit for textarea (or input)
var element = document.getElementById('textarea-id');
Turanslit.init(element);
Deactivate Turanslit for textarea (or input)
var element = document.getElementById('textarea-id');
Turanslit.deactivate(element);
Default Mappings
- ə Ə - (aa, Aa, ee, Ee)
- ü Ü - (uu, Uu)
- ö Ö - (oo, Oo)
- ı İ - (ii, Ii)
- ş Ş - (sh, Sh)
- ç Ç - (ch, Ch)
- ğ Ğ - (gh, Gh)
Demo
See live demo here (source code)
License
Released under ISC license (functionally equivalent to the simplified BSD and MIT/Expat licenses).
See LICENSE.txt for details.