|
|
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.
- sudo gem install googletranslate
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
