------ art_24944_29285055.1195170499850
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
http://sishen.lifegoo.com/?pQ
Hi, guys. I wrote a ruby client api fro google translate service, then i can
get the answer directly from the terminal, instead of the browser.
It's really convenient for me. Enjoy it, :)
*Install*
sudo gem install rtranslate
*Usage*
sishen@lifegoo:~$ irb -rubygems
irb(main):001:0> require 'rtranslate'
true
irb(main):002:0> $KCODE u'
"u"
irb(main):003:0> result ranslate.t("china", Language::ENGLISH,
Language::CHINESE_SIMPLIFIED)
"面柜"
irb(main):004:0> result ranslate.t("china", Language::ENGLISH,
Language::JAPANESE)
"面糙客瘫鼎下柜"
irb(main):005:0> result ranslate.t("china", Language::ENGLISH, "zh-TW")
"面寓"
Really very easy to use, I think. And the source is hosting on
http://rtranslate.googlecode.com. Enjoy it.
------ art_24944_29285055.1195170499850--