krunner-googletranslate

Web Runners

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

3
Become a Fan
7.3

Description:
Google translate service through a KDE plasma runner.

This is a fix-fork of Javier Goday's work at http://kde-apps.org/content/show.php/google+translate+runner?content=105459 and https://github.com/jgoday/googletranslaterunner

How works:

- Install by command in README or by "mybuild" script (you will need qjson as dependency).

- After install restart krunner by:

kquitapp krunner; krunner

- Then call the krunner interface (Alt-F2 by default).
- Goto settings and enable the "Google Translate runner"

- Now type your search. The syntax is:

from=word=to

Use 2-char ISO codes for "from" and "to" language.
So if you want translate the word "table" from English to German then type:

en=table=de

You can see the syntax in action by clicking to screenshot.
Last changelog:

0.1
--------------------
- Forked googletranslaterunner 0.0.1 by Javier Goday
- Fixed json parsing.
- Fixed language detection, so it will not query when term is not complete.
- Results now splitted to krunner rows.
- Renamed to krunner-googletranslate


Ratings & Comments

13 Comments

AlmaTlust

It would be awesome if you could bring this to Plasma 5!

arokvh

now the same to Plasma 6 ;)

avlas

It would be great to have the option to specify the original language for those cases in which a same word (with different meaning) exists for different languages

unikum111
tcat

Thanks, I put as download button

floopy1962

Super awesome :P Great work :)

soee

Works nice. One question: if there is more than one translation option before second and next item shows up vertical rectangle or - [] - signs (not sure) is it some kind of bug or translator option?

tcat

It's not a bug. Google's answer contains the most relevant translation (that is the first row) and additional words. While the most relevant word comes alone, the additional words have extra info such as lexical category: noun, verb, participle, interjection, pronoun, preposition, adverb, conjunction. So I prefixed the words, maybe helpful for someone. All other info is numeric. Well, yea, if you copy words to clipboard, that is bug, because you will copy the prefix too. I'll fix it.

ademmer1977

Hey, you just made my KRunner even more useful, great addon! :)

dovidhalevi

how do I use it?

tcat

Oh, sorry, I explain in description...

msledziona

Can't wait to get package for OpenSUSE :)

tcat

I guess you can install to Suse without package. Just unpack, get a console, change directory to unpacked source, and run the mybuild script as root: sudo ./mybuild However, I guess, you will find Suse package soon.

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Web Runners:

Bible Runner
mdaa83
last update date: 15 years ago

Score 5.0

google translate runner
jgoday
last update date: 15 years ago

Score 6.1

KRunner Translator
Naraku
last update date: 5 years ago

Score 8.4

QuickWebShortcuts
alex1701c
last update date: 11 months ago

Score 7.1

Dicio7Graus
juscelinojr
last update date: 5 months ago

Score 4.7

krunnercrypto
santiacq
last update date: 3 years ago

Score 6.4