Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-22-2020, 04:13 AM   #796
karl42
Junior Member
karl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy blue
 
Posts: 8
Karma: 13090
Join Date: Jul 2020
Device: Kobo Forma
I provide a lot of bilingual Kobo dictionaries (see https://www.mobileread.com/forums/sh...ar#post4007855). Could I get a link in this dictionary index?
karl42 is offline   Reply With Quote
Old 07-22-2020, 08:35 AM   #797
Toolpost
Junior Member
Toolpost began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2019
Device: Kobo Glo HD
English-Malayalam dictionary

For a while, I have been searching for an English-Malayalam dictionary for my kobo. Since I couldn't find one anywhere, finally I managed to made one using Penelope, based on the The Olam English-Malayalam dataset.
I am sharing it here for anyone interested. There are some minor rendering issues which might be neglected or else, we can utilise the kobopatch "Dictionary text font-family/font-size/line-height:" to change the dictionary font to any other side loaded fonts such as Manjari.
Attached Files
File Type: zip dicthtml-en-ml.zip (2.79 MB, 347 views)
Toolpost is offline   Reply With Quote
Advert
Old 07-22-2020, 01:50 PM   #798
flateric
Junior Member
flateric began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: Kobo libra h2o
Hi everyone.

I'm having trouble using penelope to convert a zip containing a stardict dictionary into a kobo one. I end up getting a segmentation fault (core dumped) error every time, here are my steps:

1.The folder with the stardict contains an .idx, .ifo and a gzipped dict file. There's also a 'res' folder containing a lot of jpgs. I unzip the gzipped dict file to get the original dict file (along with removing the gzip afterwards).
2. I take all these files an create a dict.zip.
3. I run the command: penelope -i dict -j stardict -f en -t en -p kobo -o dicthtml
4. Reading the file goes okay, but during writing I get a "segmentation fault (core dumped) penelope -i dict -j stardict -f en -t en -p kobo -o dicthtml" error.

I've tried several other approaches like excluding the res folder during zip, not extracting the gzipped file and so on. However, I always end up getting the same segfault error.

Could someone please help me? I'm running a Linux system with both penelope and marisa installed via pip.
flateric is offline   Reply With Quote
Old 07-23-2020, 10:55 AM   #799
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
I think it's time that kobo release a firmware with a setting option that prevent the autodownload/replace of the dictionaries.
Many users do not want to patch the device (or cannot).
Owl_ is offline   Reply With Quote
Old 07-23-2020, 02:22 PM   #800
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,677
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Owl_ View Post
I think it's time that kobo release a firmware with a setting option that prevent the autodownload/replace of the dictionaries.
Many users do not want to patch the device (or cannot).
And how many users replace the factory dictionaries and would make use of such a setting? I suspect that number is not going to massive.
DNSB is offline   Reply With Quote
Advert
Old 08-03-2020, 11:30 AM   #801
Ntress
Member
Ntress began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Owl_ View Post
Choose the instructions for your firmware
https://www.mobileread.com/forums/sh...d.php?t=297008

-create a folder right inside the kobo named fonts and copy inside it the font CODE2000 I attached down here (or your own custom font)

when you must edit the patch file:
-find the libnickel.so.1.0.0.yaml (in the /src folder of the patch file) and open it with notepad++ or a txt editor
-inside it find the patch named Dictionary text font-family/font-size/line-height
-edit the line following the instructions and choose the CODE2000 font and save the changes
-Run kobopatch.bat on Windows, or kobopatch.sh on Linux.
If the patching succeeded, a file named KoboRoot.tgz will be created in the /out folder.
-Copy it to the .kobo folder of your device and wait (or restart)

If you have serious problems patching, tell me and in the next week I can write you a detailed post
I downloaded an English to Hebrew dictionary and when I highlight a word to translate I cannot see the definition in the popup because of the unicode language.

I downloaded CODE2000 font and change the line |Dictionary text font-family/font-size/line-height:" to "yes" but that still doesn't work.

in which line specifically should I change the Georgia font to CODE2000?
I tried something but that didn't work.

Please help !!

Last edited by Ntress; 08-03-2020 at 11:48 AM.
Ntress is offline   Reply With Quote
Old 08-03-2020, 01:32 PM   #802
Cyfranek
Groupie
Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'Cyfranek can spell AND pronounce 'liseuse.'
 
Cyfranek's Avatar
 
Posts: 171
Karma: 39092
Join Date: Jul 2017
Location: Poland
Device: PocketBok Era, Kindle Oasis 3, Bookeen Diva HD
Quote:
Originally Posted by DNSB View Post
And how many users replace the factory dictionaries and would make use of such a setting? I suspect that number is not going to massive.
I think better option would be just to allow adding own dictionaries by users.
Cyfranek is offline   Reply With Quote
Old 08-03-2020, 01:52 PM   #803
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Quote:
Originally Posted by Cyfranek View Post
I think better option would be just to allow adding own dictionaries by users.
Which exists now and they have made it easier to do.
MGlitch is offline   Reply With Quote
Old 08-03-2020, 02:55 PM   #804
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Ntress View Post
in which line specifically should I change the Georgia font to CODE2000?
I tried something but that didn't work.

Please help !!
Have you actually read the help notes inside that patch? It should contain all the info you need to replace Georgia with Code2000. If you're planning to use the kobopatch system long-term you really need to get used to doing that.

"I tried something but that didn't work." isn't enough detail to give you better help about why it didn't work.
jackie_w is offline   Reply With Quote
Old 08-04-2020, 03:30 AM   #805
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by Ntress View Post
I downloaded an English to Hebrew dictionary and when I highlight a word to translate I cannot see the definition in the popup because of the unicode language.

I downloaded CODE2000 font and change the line |Dictionary text font-family/font-size/line-height:" to "yes" but that still doesn't work.

in which line specifically should I change the Georgia font to CODE2000?
I tried something but that didn't work.

Please help !!
Find inside the libnickel.so.1.0.0.yaml file the patch named Dictionary text font-family/font-size/line-height - beta. Inside that find these lines:

# Examples for customising font-family:
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Gill Sans\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Kobo Nickel\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "Bookerly", MustMatchLength: yes}

The elements that I put in blue must be changed as follows here in red (note that you must replace the # with a white space):

# Examples for customising font-family:
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Gill Sans\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Kobo Nickel\"", MustMatchLength: yes}
- ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "CODE2000", MustMatchLength: yes}

Enable the patch typing "yes"


tell me if you have issues

Last edited by Owl_; 08-04-2020 at 03:32 AM.
Owl_ is offline   Reply With Quote
Old 08-04-2020, 10:53 AM   #806
Ntress
Member
Ntress began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Owl_ View Post
Find inside the libnickel.so.1.0.0.yaml file the patch named Dictionary text font-family/font-size/line-height - beta. Inside that find these lines:

# Examples for customising font-family:
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Gill Sans\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Kobo Nickel\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "Bookerly", MustMatchLength: yes}

The elements that I put in blue must be changed as follows here in red (note that you must replace the # with a white space):

# Examples for customising font-family:
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Gill Sans\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Kobo Nickel\"", MustMatchLength: yes}
- ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "CODE2000", MustMatchLength: yes}

Enable the patch typing "yes"


tell me if you have issues
This is exactly what I did before asking

- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "CODE2000", MustMatchLength: yes}

only the Offset is different here.
Still not working.
Ntress is offline   Reply With Quote
Old 08-04-2020, 02:17 PM   #807
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by Ntress View Post
This is exactly what I did before asking

- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "CODE2000", MustMatchLength: yes}

only the Offset is different here.
Still not working.


try deleting only the # , whitout add a white space

(P.S.:Sorry for the mistake, I use an old firmware version I patched a year ago...)

Last edited by Owl_; 08-06-2020 at 02:28 AM.
Owl_ is offline   Reply With Quote
Old 08-06-2020, 03:01 AM   #808
Ntress
Member
Ntress began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Owl_ View Post
try deleting only the # , whitout add a white space

(P.S.:Sorry for the mistake, I use an old firmware version I patched a year ago...)
I did that already
nothing works
Ntress is offline   Reply With Quote
Old 08-06-2020, 07:45 AM   #809
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Ntress View Post
I did that already
nothing works
Can you attach the entire configuration file so I can take a look?
geek1011 is offline   Reply With Quote
Old 08-08-2020, 04:26 AM   #810
Ntress
Member
Ntress began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2019
Device: Kobo Clara HD
Quote:
Originally Posted by geek1011 View Post
Can you attach the entire configuration file so I can take a look?
Here
libnickel.so.1.0.0.yaml.txt

Thanks
Ntress is offline   Reply With Quote
Reply

Tags
kobo dictionaries


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New custom English dictionaries ShellShock Kobo Developer's Corner 166 09-22-2020 02:48 PM
Kobo desktop loading dictionaries brudigia Kobo Reader 1 07-16-2014 12:55 PM
Touch building custom dictionaries, especially Japanese-English tshering Kobo Reader 0 07-12-2012 06:00 PM
Custom dictionaries for 350/650? 1drey Sony Reader 5 12-28-2010 12:49 PM
non-English dictionaries in eReader on iPod Touch? ficbot Reading and Management 1 10-11-2008 09:04 AM


All times are GMT -4. The time now is 01:06 PM.


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