https://github.com/kktsvetkov/cyrcho
Converts cyrillic into latin using the correct transliteration rules
https://github.com/kktsvetkov/cyrcho
Last synced: about 2 months ago
JSON representation
Converts cyrillic into latin using the correct transliteration rules
- Host: GitHub
- URL: https://github.com/kktsvetkov/cyrcho
- Owner: kktsvetkov
- License: lgpl-3.0
- Created: 2015-09-11T09:06:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-11T12:50:43.000Z (over 9 years ago)
- Last Synced: 2025-01-19T18:43:28.078Z (3 months ago)
- Language: PHP
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cyrcho
Converts cyrillic into latin using the correct transliteration rulesSeveral years ago I converted the original work of ["Loshia"](http://loshia.com/wp/cyrillic-slugs/) into a WordPress plugin called [wp-cyr-cho](https://wordpress.org/plugins/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);