Translate Shell (Google Translate CLI) with GUI

Post links to your 32-bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Translate Shell (Google Translate CLI) with GUI

Post#1 by Slaxmax » 10 Oct 2014, 19:24

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
Last edited by Slaxmax on 12 Oct 2014, 21:25, edited 1 time in total.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Translate Shell (Google Translate CLI)

Post#2 by brokenman » 10 Oct 2014, 23:14

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!
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Translate Shell (Google Translate CLI)

Post#3 by brokenman » 12 Oct 2014, 19:01

How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Translate Shell (Google Translate CLI)

Post#4 by Slaxmax » 12 Oct 2014, 21:16

you're the man!

thx
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

Post Reply