This gem makes locales in tolk translate automatically (using bing).
Add this line to your application's Gemfile:
gem 'autotolk'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install autotolk
And then:
$ rails g autotolk:install
And follow the instructions on the screen (you will have to add your bing tokens to make it work).
Now when you go to /tolk/locales/xx
you will see a button Start autotranslating!
. When you click on it, the translation will be automatic. The text areas will fill out with the translated text, so you could change it if needed and save.
If you have any issues with this gem, feel free to add a new issue on Github.
TESTS!! :)
- Fork it ( https://github.com/rajaaa92/autotolk/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