VTrans

Build Status

Translate the text from one language to another language.

Installation

Add this line to your application's Gemfile:

ruby gem 'v_trans'

And then execute:

$ bundle

Or install it yourself as:

$ gem install v_trans

Usage

Please read the links: - Create the Google Translate API Key - Languages Code

ruby $ require 'v_trans' $ VTrans.translate("Hello everyone!", "en", "es", "AIzaSyCmt2Xnjn5In0RLu1MzF_KSOHlhlHUG9Vo") # "hola a todos!"

Contributing

  1. Fork it ( https://github.com/vinhnguyenleasnet/v_trans/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request