VTrans
Translate the text from one language to another language.
Installation
Add this line to your application's Gemfile:
gem 'v_trans'
And then execute:
$ bundle
Or install it yourself as:
$ gem install v_trans
Usage
Please read the links:
$ require 'v_trans'
$ VTrans.translate("Hello everyone!", "en", "es", "AIzaSyCmt2Xnjn5In0RLu1MzF_KSOHlhlHUG9Vo")
# "hola a todos!"
Contributing
- Fork it ( https://github.com/vinhnguyenleasnet/v_trans/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