Package Details: translate-shell

Git Clone URL: (read-only)
Package Base: translate-shell
Description: Google Translate to serve as a command-line tool.
Upstream URL:
Keywords: translation
Licenses: Public Domain
Submitter: thiagowfx
Maintainer: thiagowfx (TurbaVladimir, dkasak)
Last Packager: dkasak
Votes: 62
Popularity: 2.990646
First Submitted: 2015-01-24 19:33
Last Updated: 2017-11-07 11:31

Dependencies (10)

Required by (1)

Sources (1)

Latest Comments

egeesin commented on 2017-05-28 13:25

"Null" problem was fixed in v0.9.6.3. Maintainer should update the package.

Rynak commented on 2017-04-09 11:26

I also have the problem with "null" in translation results:
$ translate-shell -brief Hallo
Hello null
It adds null or (null) somewhere to every translation.

lexofein commented on 2017-04-06 13:40

Anyone except me have problem with adding "null" in translation results?

chrys87 commented on 2015-05-07 17:31

You are great man :).

thiagowfx commented on 2015-05-06 14:58

I released a package with a temporary fix (patch) for this issue.

thiagowfx commented on 2015-05-05 00:32

True. This seems to have been reported upstream already, though:

I guess we just have to wait for the next release.

chrys87 commented on 2015-05-04 16:01

Since the latest gawk update translation-shell seems to be broken:
core/gawk 4.1.1-1 -> 4.1.2-1

(tested on 2 arch desktops and 1 arch laptop, so it seems to be reproduceable)

it throws many unexept lineend errors.
---translations----- (german)
Kommandozeile = commandline
Unerwarteter Zeilenumbruch oder Ende der Zeichenkette = unexpected lineend or end of line
---------------THE ERROR (cuttet off)--------------------

17:58 [blubb@blubb ~] ✓$ translate-shell {=de} -b "how are you"
gawk: Kommandozeile:1581: match(ARGV[pos], /^[{([]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\]]?$/, group)
gawk: Kommandozeile:1581: ^ Nicht beendeter regulärer Ausdruck
gawk: Kommandozeile:1582: match(ARGV[pos], /^[{([]?([[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?(:|=)((@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?\+)*(@?[[:alpha:]][[:alpha:]][[:alpha:]]?(-[[:alpha:]][[:alpha:]])?)?)[})\]]?$/, group)
gawk: Kommandozeile:1582: ^ Unerwarteter Zeilenumbruch oder Ende der Zeichenkette
gawk: Kommandozeile:1582: if (RSTART) {
gawk: Kommandozeile:1582:


thiagowfx commented on 2015-04-14 02:38


It is working okay for me, I just tested it. How are you running it?

My test is:

thiago@archpad ~ % translate-shell
olá, mundo!
hello world!

Translations of olá, mundo!
(Português ➔ English)
olá , mundo !(hello world!)

Shibumi commented on 2015-04-13 22:07

since the last update, trans is just making nothing.. when I try to translate something I get only an empty line... Any idea how to fix this?

thiagowfx commented on 2015-04-08 20:18

Ops...done. Thanks, @TrialInError.

All comments