13

Access google translate from a terminal.

view full story
linux-howto

http://crunchbanglinux.org – Google shut down their web api for translation in December because it was being "abused" (auto-generation of web page content for black-hat SEO?). Now there's a free web page for browsers and a fee-paying api. Here's a script that lets you send in a query to that web page from a terminal. Examples:john@raffles3:~$ translate chien dog john@raffles3:~$ translate legs fr jambes john@raffles3:~$ translate legs fr en legacy john@raffles3:~$ translate 手紙 Letter john@raffles3:~$ translate 手紙 zh-TW en Toilet paper john@raffles3:~$ translate --help translate <text> [[& (HowTos)