Bug 174196 - google translate support for babelfish konqueror addon
Summary: google translate support for babelfish konqueror addon
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-03 20:28 UTC by Elan Ruusamäe
Modified: 2011-05-11 07:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2008-11-03 20:28:39 UTC
Version:           3.5.10 (using 3.5.10, PLD Linux Distribution)
Compiler:          gcc version 3.3.6 (PLD Linux)
OS:                Linux (x86_64) release 2.6.25.15-1

i've written patch agains kde 3.5 to add support translate via translate.google.com and also sample ru_en translation

http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kdeaddons-babelfish-google.patch

ps: is there any gui to setup which translator engines to use for translation or only way is to edit translaterc manually?
Comment 1 Angel Blue01 2009-09-25 22:53:11 UTC
Obviously KDE3 is no longer being developed, but could this be added to KDE4?
Comment 2 David Faure 2010-09-24 19:56:51 UTC
I'll commit this soon.
Comment 3 David Faure 2010-10-01 21:33:20 UTC
A rather big overhaul of the babelfish plugin:
* Remove webkitpart dependency
* Use KParts::TextSelection to get selected text, if kdelibs >= 4.5.70, but most engines don't work with it anyway, this needs POST support.
* Use QActionGroup instead of sender()
* Fix support for voila.fr, list of translation paths and languagecode were wrong.
* Add "french to russian" and "russian to french" via voila.fr, use babelfish for everything else (except en->no).
* Update babelfish URL, altavista is long gone
* Add support for translate.google.com engine, based from old patch on #174196.
 Not used yet (just fr_ar for a test), but supports a ton more languages than babelfish!
* Add a bunch of TODOs, in case anyone has time to make this really good ;)
 Especially, adding new language pairs should be easier, ideally in translaterc.
BUGS: 187122 174196


 M  +3 -11     CMakeLists.txt  
 D             config-babelfish.h.cmake  
 M  +224 -178  plugin_babelfish.cpp  
 M  +9 -13     plugin_babelfish.h  
 M  +4 -13     translaterc
Comment 4 Dimitrios Glentadakis 2011-01-23 06:49:52 UTC
How can i use google translate in konqueror with this plugin ?
I need for the greek language and it does nt exist in babelfish plugin