Tratocyr
- Tratocyr - Translit To Cyrillic
- This gem provide functionality for translation string with translit symbols to string with cyrillic symbols
Installation
Add this line to your application's Gemfile:
gem 'tratocyr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tratocyr
Usage
- Usage:
ruby translator = Tratocyr::CyrillicTranslator.new translator.to_cyrillic("Mister Putin molodec!")
- Result:
Мистер Путин молодец!
Contributing
- Fork it ( https://github.com/CyberLight/tratocyr/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request