Skip to content

vinhnglx/v_trans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VTrans

Build Status

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

  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