No commit activity in last 3 years
No release in over 3 years
This is a gem which provides the facility to translate languages from one to another
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

google-translate-cis

With the help of this gem you can easily convert one language text into another and it is a simple language converter which you can use in your application. :-)

INSTALLTION

First thing you need to do is the installation , you can follow the below mentioned steps to install the gem inside your rails application. You need to add sudo if you are not using rvm(ruby version manager)

gem install google-translate-cis

Add this following line in your Gemfile and then run bundle install.

gem 'google-translate-cis' 

USAGE

Once you have installed this gem you can do the following :-

Translator.translate("Text goes here", "Language code into which you want to convert", "Language code from which language you are converting")
Translator.translate("Hello","ga","en")
Output: Dia duit

We have used Google library to develop this Gem. So all credit goes to Google. :-)