Use CLI to traduct you sentencies !

par Alexis Métaireau

In a tweet, I was asking if any tools exists to traduct sentencies directly from the command line. And « tw » (for translate word) is one ! (thanks @gabouel)

Install and use it :

cd /tmp
sudo apt-get install elinks curl gawk
wget http://mirror.cinquix.com/pub/savannah/twandgtw/tw-0.1.3.tar.bz2
tar -xvf tw-0.1.3.tar.bz2
cd tw-0.1.3
./configure
sudo make && sudo make install

Now, you can translate directly from the command line :

$ tw translate.google.com.fr-en "Salut, je m'apelle Alexis"
Hi, my name is Alexis

Yeah !