Bug 320581

Summary: text translation while reading book in foreign language
Product: [Applications] okular Reporter: masterdany88
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: peeter.tinits, yurchor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description masterdany88 2013-06-01 19:32:56 UTC
I use okular for reading all of my e-books, but I wish some functionality while I have english book. I would like to have support for dynamicall translation on top of document. For now I have widget on panel (translatoid), when I press F1 I got roll up widget with translation of selected word. But I would like to have it native in okular :D for example when I point the word with mouse cursore with enabled translation I got a little pop up cloud with translation :D

Reproducible: Always

Actual Results:  
not yet implemented

Expected Results:  
translation
Comment 1 Yuri Chornoivan 2013-06-01 19:53:40 UTC
1. Install GoldenDict or StarDict.
2. Install the dictionaries for the preferred language or configure the internet sources for translation.
3.Configure interactive translation of clipboard in GoldenDict or StarDict with a corresponding shortcut (not F1, F1 is for the help).
4. Select some word in Okular and copy the word into clipboard.
5. Press your shortcut.
6. Watch the translation.

Screenshot (GoldenDict and Okular in Mageia):
https://dl.dropboxusercontent.com/u/55247264/gd%26okular.png

P.S. You can configure KWin to "Keep above others" for the dictionary window.