01-09-2011, 12:33 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: none
|
Calibre and dict.org
hello, can i change the online searching of word on dict.org with another url or use with caliber some dictionary as those used in microsoft reader? I'm italian and i need an english to italian translation...
Thanks |
01-09-2011, 01:50 PM | #2 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not without editing the source code.
|
Advert | |
|
01-09-2011, 02:45 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: none
|
argh...so caliber don't have any function for translate the word directly with some dictionary? :-(
|
01-09-2011, 03:51 PM | #4 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
no, it doesn't.
|
03-08-2011, 07:46 PM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2011
Device: none
|
Spanish-Spanish dictionary
Hello,
I would be very interested in another dictionary as well. I try to read books in Spanish and a quick lookup would be very handy really. If I understand it well, the change should not be done in ebook-viewer file directly. T I tried to look around and the best candidate to edit was /usr/lib/calibre/calibre/utils/dictclient.py, but there is no reference to dict.org. Is this the file that needs to be edited or is it a different one? Is it difficult to do it if I do not know python? Could You give me some hints which file should I edit and how to do it it? It would help me a lot.. Thanks for reply. Elpraga |
Advert | |
|
03-08-2011, 08:48 PM | #6 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The files you need are viewer/dictionary.py and dictclient.py
|
03-09-2011, 12:37 AM | #7 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2011
Device: none
|
Thanks! I have it!
It was not easy at all to find any spanish dictionary that uses DICT protocol You are using, and changing the code to something else without knowing python would be crazy as well. Finally the easiest way was to find the dictionary http://sercari.esdebian.org/33720/di...stellano-libre and install dictd locally. After that the only thing I had to do was to change dict.org to localhost in file /usr/lib/calibre/calibre/gui2/viewer/dictionary.py The only thing that does not work is Control+L shortcut.. Thanks for the hints! |
03-09-2011, 12:54 AM | #8 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2011
Device: none
|
..and by the way.. thanks for the vim-like nav keys :-)
|
03-09-2011, 10:45 AM | #9 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
03-18-2011, 09:14 AM | #10 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2011
Device: none
|
Dictionary support in Calibre via goldendict
Another hint (that works even better then built-in solution because allows to add multiple sources from the internet) is to install goldendict.
In my opinion it is a perfect solution to someone reading books in a different language. In my case, I combine es-es dictd dictionary, es-cz online dictionary, wictionary and wikipedia. All results show up in a pop-up windows that disappears when I move the mouse from it. Very convenient, indeed. Hope it helps someone! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setup Dict Chinese - English on PRS 900? | familyhandh | Sony Reader | 4 | 12-10-2010 02:25 AM |
StarDict to Pockerreader Dict ? | Schnitzelbrain | PocketBook | 0 | 05-13-2010 09:35 AM |
TypeError: 'dict' object is not callable | sauravishal | Calibre | 3 | 01-23-2009 06:21 PM |