GoogleLanguage – A Ruby client for the Google AJAX Language API
Installation
$ gem sources -a http://gems.github.com (you only have to do this once)
$ sudo gem install christianhellsten-ruby-google-ajax-language
Usage
require 'rubygems'
require 'google_language'
GoogleLanguage.translate('you', :from => 'en', :to => 'ja')