Ruby Free Google Translate gem or Rufregle
Simple unofficial free google translate library.
#How it works?
It uses an alternative google url to request the translate that's why this lib may have performance issues. Recommended to use only in prototypes applications.
###Is it free?
Yes.
###Should I use it in my Production Application?
Maybe. You need performance?
#Using More simple than that?
Installing gem
$ gem install rufregle
Using on code:
result = Rufregle.new.translate("Hello World", "en", "pt")
p "#{result[:translated]}"
- Fork it!
- 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
- Submit a pull request
After that include your name in "Authors" section!
This project is under MIT licence
Cristian Oliveira - www.cristianoliveira.com.br