kktsvetkov / cyrcho
Converts cyrillic into latin using the correct transliteration rules
v1.0
2015-09-11 10:26 UTC
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2024-11-09 18:22:16 UTC
README
Converts cyrillic into latin using the correct transliteration rules
Several years ago I converted the original work of "Loshia" into a WordPress plugin called wp-cyr-cho. Since then on more than a few occasions I need to do the cyrillic-to-latin convertion, and each time I copied and pasted the "guts" of the WordPress plugin. I think it is time to create a re-usable standalone library ;)
Usage
There is only one public static method that does all the work, and it is very easy to use:
$latin = cyrcho::cyr2latin($cyrilic);