KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   


- Content .- Fans (5) . 

google translate runner


KDE Improvement

Score 72%
google translate runner

Version Control:  Link
Minimum required   KDE 4.x
Downloads:  595
Submitted:  May 22 2009
Updated:  Jul 12 2010


Simple plasma runner using google translate service


Mon July 12
-- Fix regular expression and use qjson lib to parse google translate result

Sun May 24
-- Change the runner syntax (en=word or sentence to translate de=). Config is unnecessary now
Sat May 23
-- Copy the match text to clipboard
-- Check for a QHttp error and show it

Send to a friend
Other  Apps  from jgoday
Report inappropriate content

goto page:  1  2 



 by progdan on: May 23 2009
Score 50%

Cool runner! Thank you, it's really usefull.

I made a PKGBUILD in AUR (ArchLinux), so you could add it to the sources: http://aur.archlinux.org/packages.php?ID=26685

I'd also like to ask you if you could add some version numbering, it will be easier to maintain updates (for both of us :-) ) Thanks once more

[i]Really, I\'m not out to destroy Microsoft. That will just be a completely unintentional side effect.[/i]
Linus Torvalds

Reply to this


 Re: Cool!

 by jgoday on: May 23 2009
Score 50%

Thanks for trying it!

I have updated the sources adding a GPL License file, Changelog and Version too.

Reply to this


 Re: Cool!

 by emtorres on: Jul 27 2009
Score 50%


Reply to this



 by Fri13 on: May 24 2009
Score 50%

Would it be possible to configure more like other KRunner functions.

en=<word> de=<translation>


Now the qt=en,de[<word>] is bretty difficult.

There is other ways like the conversation just by giving wanted sum to get other

500m as feet

That is very simple to do.

So Mayby en= de= would be enough?

What is Linux and GNU/Linux?

Reply to this


 Re: Changes

 by jgoday on: May 24 2009
Score 50%

Hi, thanks for the idea.

Now the syntaxis is :

[soruce language]= sentente or word to translate [language to traslate]=

And no configuration is needed.

Reply to this


 Versioning of the source

 by tittiatcoke on: May 25 2009
Score 50%


I have created an openSUSE rpm out of your package and it is available from the KDE4-Community repo's on openSUSE.

However, I would like to ask you to use versioning of the source with all your changes, so that the life of people that are creating packages out of your source is a little easier :-)

Based on the change of the 24th, I have adjusted the version now to 0.2.1



Reply to this


 Re: Versioning of the source

 by jgoday on: May 25 2009
Score 50%

Hi, the source is in github too


Reply to this


 can't compile :(

 by sandsnake on: Jun 7 2009
Score 50%

May be you can help me?

[vlad@vixen googletranslate]$ cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found KDE4Workspace: /usr/lib/cmake/KDE4Workspace-4.2.4/KDE4WorkspaceConfig.cmake
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs-4.2.4/KdepimLibsConfig.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vlad/googletranslate

[vlad@vixen googletranslate]$ make
[ 0%] Built target krunner_googletranslate_automoc
[ 25%] Building CXX object CMakeFiles/krunner_googletranslate.dir/googletranslate.o
/home/vlad/googletranslate/googletranslate.cpp: In constructor 'GoogleTranslateRunner::GoogleTranslateRunner(QObject*, const QVariantList&)':
/home/vlad/googletranslate/googletranslate.cpp:43: error: 'RunnerSyntax' is not a member of 'Plasma'
/home/vlad/googletranslate/googletranslate.cpp:43: error: 'addSyntax' was not declared in this scope
make[2]: *** [CMakeFiles/krunner_googletranslate.dir/googletranslate.o] Error 1
make[1]: *** [CMakeFiles/krunner_googletranslate.dir/all] Error 2
make: *** [all] Error 2

Reply to this


 Re: can't compile :(

 by jgoday on: Jun 7 2009
Score 50%

method addSyntax was introduced in KDE 4.3

if you are using 4.2 you can try to remove it,
anyway i only tested it with 4.3 :(

Reply to this


 Re: Re: can't compile :(

 by sandsnake on: Jun 8 2009
Score 50%

I simply commented this line. Compilation and installation finished without errors. But I can't find this applet in plasma widgets listing. Don't know why :(
Ok, I think better I wait update to kde 4.3. But now I want say - thank you!! This applet is very interested for me.

Reply to this


 Re: Re: Re: can't compile :(

 by jgoday on: Jun 8 2009
Score 50%

there is a google translator plasma applet (http://www.kde-look.org/content/show.php/translatoid?content=97511) by dridk

This one is a KRunner plugin (Alt+F2 -> Settings -> available plugins)

i hope be helpful

Reply to this


 available plugin how?

 by mzdsb on: Jun 21 2009
Score 50%

compiled without errors on kde4.3beta2 (sudo cmake CMakeList.txt, sudo make install), but can't find the krunner plugin on the available plugins list :(

any tip?

Reply to this


 Re: available plugin how?

 by jgoday on: Jun 21 2009
Score 50%

Do you have 'plasma-runner-googletranslate.desktop' file in your KDE
share/kde4/services/ folder ?

(kde4-config --prefix)

you should configure that way
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

Reply to this


 Re: Re: available plugin how?

 by mzdsb on: Jun 21 2009
Score 50%

ok, thanks, fixed! :D

had to copy it by myself, but now it's working :)

Reply to this


 what about default language?

 by jackyohh on: Jul 13 2010
Score 50%

would be nice if krunner recognizes current kde language to make "[language to traslate]=" only necessary i you want translate something into another language.

Reply to this


 Re: what about default language?

 by jgoday on: Jul 14 2010
Score 50%

Hi, nice idea,
i updated the source code on github,
now can work with the next syntax
[search term] = [to language]

Reply to this

goto page:  1  2 

Add commentBack

Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.