Page 1 of 1

Translate Shell (Google Translate CLI) with GUI

Posted: 10 Oct 2014, 19:24
by Slaxmax
Translate Shell (previously Google Translate CLI) is a command-line interface and interactive shell for Google Translate.

xzm noarch ~16KB (only CLI)
http://www.mediafire.com/download/4333o ... noarch.xzm

xzm with GUI (thanks brokenman)
https://www.dropbox.com/s/0qpw4tx308uop ... 1.xzm?dl=0

example
translate from english (thank you) to portuguese (obrigado)

Code: Select all

guest@porteus:~$ trans -s en -t pt "thank you"
obrigado

Traduções de thank you
(English ➔ Português)
thank you(obrigado/obrigada/agradecer/muito obrigado)
or auto detect system language (my system portuguese)

Code: Select all

guest@porteus:~$ trans  "thank you"
obrigado

Traduções de thank you
(English ➔ Português)
thank you(obrigado/obrigada/agradecer/muito obrigado)
translate text to speech :shock:

Code: Select all

guest@porteus:~$ trans :pt -b -p "thank you"
obrigado
for more information

Code: Select all

guest@porteus:~$ trans -h
or
https://github.com/soimort/translate-shell

Re: Translate Shell (Google Translate CLI)

Posted: 10 Oct 2014, 23:14
by brokenman
Very nice Slaxmax. Porteus already contains a very crude CLI translator.

Code: Select all

root@porteus:/home/guest# translate en pt very crude translation
tradução muito bruto
This more complex version will be welcome. An easy way to get started with it is to download the executable from here: http://git.io/trans
Place it in /usr/bin/
make it executable: chmod +x /usr/bin/trans

You are ready to go. Very useful. Man, I love the text to speech converter!

Re: Translate Shell (Google Translate CLI)

Posted: 12 Oct 2014, 19:01
by brokenman

Re: Translate Shell (Google Translate CLI)

Posted: 12 Oct 2014, 21:16
by Slaxmax
you're the man!

thx