Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-06-2021, 03:03 AM   #1
atti
Junior Member
atti began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2021
Device: Kobo Clara HD
Unhappy Dictionaries support on Koreader - Kobo

I'm lost!

I've got a Kobo Clara HD with Koreader installed and working. I'm trying to get italian, english and spanish dictionaries.

Installing from Koreader only shows it-en and it-ru dictionaries, but I want an italian-only dictionary, and a spanish-only too. English-only seems to be provided by the "GNU collaborative international dictionary".

If I open the Dictionary support page ( https://github.com/koreader/koreader...ionary-support ), the Firedict site doesn't have the dictionaries I'm looking for.

Kobo default reader (Nickel) has these dictionaries (both italian-only and spanish-only are pretty good), I've them in my device, although they're in "dicthtml" format. The same dictionaries are available for download here: https://www.mobileread.com/forums/sh...d.php?t=196931
The problem is that they're installed by Nickel, and I need them in Koreader.

I can't find the way to convert dicthtml to stardict:

- penelope is not supported anymore (and if I try to install, pip gives me an error)

- apparently there's this project, "pyglossary", that is still mantained, that replaces penelope, and that converts many formats to stardict, but not from dicthtml, or maybe I can't choose which option for the "input format"

- there's also dictutil (https://pgaskin.net/dictutil/) that extracts the kobo's dicthtml to a collection of html/xml files, but I can't find the way to convert these to stardict

I dont' know what to do. Why is it so difficult? I've been searching so much with no result of instructions how to install these dictionaries! Am I the only italian/spanish speaking person using koreader in the world? Please help!
atti is offline   Reply With Quote
Old 05-06-2021, 11:39 AM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,491
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
You won't be able to convert Kobo's own dictionary, for obvious reasons (DRM).

But you can deal with the format itself (via dicutil & pyglossary [might need a dev version, but it supports it just fine]). Meaning if you can't find stardict dictionaries, the custom dictionaries thread in the Kobo forum may have something you want buried somewhere in it that you can deal with.

Last edited by NiLuJe; 05-06-2021 at 11:42 AM.
NiLuJe is offline   Reply With Quote
Advert
Old 05-06-2021, 01:02 PM   #3
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,307
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Also there're fine dicts based on Wikidictionary on https://github.com/BoboTiG/ebook-reader-dict/releases. Both in Kobo format and in stardict. Didn't check other languages but spanish looks complete enough for me.
pazos is offline   Reply With Quote
Old 05-06-2021, 04:08 PM   #4
atti
Junior Member
atti began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2021
Device: Kobo Clara HD
Quote:
Originally Posted by NiLuJe View Post
You won't be able to convert Kobo's own dictionary, for obvious reasons (DRM).
Actually with dictutil I managed to decrypt Kobo's dictionaries: I got a bunch (100+) of html/xml files with definitions, perfectly readable with firefox or text editor.

I don't know how to convert these files to a stardict format.
atti is offline   Reply With Quote
Old 05-06-2021, 04:32 PM   #5
atti
Junior Member
atti began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2021
Device: Kobo Clara HD
Quote:
Originally Posted by pazos View Post
Also there're fine dicts based on Wikidictionary on https://github.com/BoboTiG/ebook-reader-dict/releases. Both in Kobo format and in stardict. Didn't check other languages but spanish looks complete enough for me.
This is great! Thank you so much. Spanish dictionary works quite good! I see they come from wiktionary. I just wrote to the author so maybe I can help him to add italian support as well..
atti is offline   Reply With Quote
Advert
Old 03-02-2023, 09:53 PM   #6
atti
Junior Member
atti began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2021
Device: Kobo Clara HD
How to decrypt Kobo's dictionaries

Quote:
Originally Posted by atti View Post
Actually with dictutil I managed to decrypt Kobo's dictionaries: I got a bunch (100+) of html/xml files with definitions, perfectly readable with firefox or text editor.
I had two people messaging me to know I did decrypt Kobo's dictionaries. It was long ago so I don't remember very well, but I've some notes on my computer, so I probably used dictutils:

https://pgaskin.net/dictutil/dictutil/unpack.html
https://github.com/pgaskin/dictutil/releases/tag/v0.3.2

with this command:

./dictutil-linux-64bit unpack dicthtml-it.zip

and I got the input files following one of these links:

official kobo dictionaries: (to download dictionaries from kobo website)
https://www.mobileread.com/forums/sh...d.php?t=196931

custom dics: (to download the same dictionaries from mobileread.com)
https://www.mobileread.com/forums/sh...d.php?t=232883

The v1 dictionaries are served from download.kobobooks.com/ereader/dictionaries/dicthtml*.zip, while the v2 dictionaries are served from download.kobobooks.com/ereader/dictionaries/v2/dicthtml*.zip.

Then some notes point to:

Koreader dir: (formato StarDict)
/run/media/user/KOBOeReader/.adds/koreader/data/dict

Nickel dir: (formato html)
/run/media/user/KOBOeReader/.kobo/dict
atti is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOreader cannot handle certain dictionaries LittleBiG KOReader 7 11-24-2020 07:36 AM
Kobo H20 & koreader unable to see dictionaries Hopper333 KOReader 2 11-13-2019 06:45 AM
Best dictionaries for koreader Alan_S KOReader 11 12-18-2018 07:13 PM
DSL dictionaries within KOReader? jcn363 KOReader 4 09-20-2017 11:05 AM
Kindle Dictionaries Support skydive Amazon Kindle 1 05-24-2011 12:20 AM


All times are GMT -4. The time now is 02:39 PM.


MobileRead.com is a privately owned, operated and funded community.