# \[ANN\] easy\_translate 0.1.1

**URL:** <https://www.ruby-forum.com/t/ann-easy-translate-0-1-1/190394>\
**Category:** Rails\
**Created:** [June 19, 2010, 2:36am UTC](https://www.ruby-forum.com/t/ann-easy-translate-0-1-1/190394 "2010-06-19T02:36:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amin1426](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Post date:** [June 19, 2010, 2:36am UTC](https://www.ruby-forum.com/t/ann-easy-translate-0-1-1/190394/1 "2010-06-19T02:36:14Z")

</div>

== Name  
easy\_translate

== Synopsis  
Ruby binding for Google Translate that supports Batch Translation.  
Great, clean syntax for server-side translations.

> **[GitHub - seejohnrun/easy\_translate: Google Translate (with Bulk translate) in...](https://github.com/seejohnrun/easy_translate)**
>
> Google Translate (with Bulk translate) in Ruby. Contribute to seejohnrun/easy\_translate development by creating an account on GitHub.

== Install  
gem install easy\_translate

== Why not rtranslate or rsay?

- Only Ruby binding to have support for Bulk Translations
- Only Ruby binding to offer POST support for long translations
- Supports every option in the API, especially API keys and user\_ip,  
which most Ruby bindings skip over.
- Has an extremely clean syntax (see below)

== Examples

# =\> “Hola, mundo”

EasyTranslate.translate(‘Hello, world’, :to =\> :spanish)

# batch translation? =\> [“¡Hola”, “Despedida”]

EasyTranslate.translate([‘Hello’, ‘Goodbye’], :to =\> :spanish)

# what if you’re even crazier? =\> [[‘¡Hola’, ‘Despedida’], [‘Ciao’,

‘Addio’]]  
EasyTranslate.translate([‘Hello’, ‘Goodbye’], :to =\> [:es, :it])

# translate something into every language in Google Translate

# with a single API call

EasyTranslate.translate(‘hello’, :to =\> EasyTranslate.LANGUAGES.keys)

== Thanks

John C.  
removed\_email\_address@domain.invalid

twitter: @seejohnrun  
github: [seejohnrun (John Crepezzi) · GitHub](http://github.com/seejohnrun)

Blog Introduction to easy\_translate:  
[http://blog.johncrepezzi.com/archives/154](http://blog.johncrepezzi.com/archives/154)
