What's new? | Help | Directory | Sign in
Google
rtranslate
Google translate ruby client api
  
  
  
  
    
License: MIT License
Labels: ruby, translate, api
Join project
Project owners:
  YeDingding
Project members:
intelligent113

A simple, unofficial, ruby client API for using Google Translate.

Install

Because of the name conflict, the project in rubyforge in named googletranslate. So you can use the below command to install the package.

Usage

 require "rtranslate"
 result = Translate.t("china", Language::ENGLISH, Language::CHINESE_SIMPLIFIED)

Or from the command line

 $rtranslate -f en -t zh-CN china

CHANGES

v0.2 Nov 16, 2007 add a command line tool.

v0.1.0 Nov 15, 2007 initial release

Copyright (c) 2007 Dingding Ye <yedingding@gmail.com> Distributed under MIT License