I spent a while struggling to figure out how to install a Turkish-English dictionary on it, because it's not supported by default. I decided to write a little tutorial about installing other dictionaries on a Kobo device, in case I or anyone else ever need it to do this again.
Check whether the dictionary you want is already available
1. Check here whether Kobo already made the dictionary you want. If yes, download the file, connect your Kobo device to your computer and place it in the ".kobo\dict" folder and you are done. If not, go to step 2.
2. Check here whether someone else already made a custom dictionary for the language pair you want. If so, you can skip to step 13 for instructions on how to put the file on your Kobo device.
Make a custom dictionary
3. Download the dictionary you want in StarDict format. This website has a lot of dictionaries.
Make a custom dictionary
3. Download the dictionary you want in StarDict format. This website has a lot of dictionaries.
4. Unzip it the .tar dictionary file. You will get a .dz, .idx and .ifo file. Rename the .dz file to .gz. Extract the .gz file so you end up with a .dict file. Give the .dict, .ifo and .idx representative names, eg. tur_en.dict, tur_en.idx, and tur_en.ifo.
6. Unzip the Penelope script and place it in the folder of your choice, for example "c:\Penelope". Put the dictionary files in the same folder as the Penelope files.
8. Download the marisa.zip file here or here. It containes two Windows executables It was built from open source Marisa code by the user EbokJunkie on mobileread.com. Penelope script invokes these executables. You can put them anywhere; I put them to "C:\tmp".
9. Right click the file penelope3.py and choose Edit with IDLE. Find the variables MARISA_BUILD_PATH and MARISA_REVERSE_LOOKUP_PATH and set their location to "c:/tmp/marisa-build.exe" and to "c:/tmp/marisa-reverse-lookup.exe" respectively, or wherever you saved the marisa files. Save penelopa3.py.
10. Open the command prompt and make the Penelope folder your current folder by typing the command "cd c:\Penelope".
11. Type the following command to start the conversion: "penelope3.py -p tur_eng -f tur -t eng --output-kobo". Replace the variable "tur" with the language you want to translate from and "eng" with your target language.
12. You will end up with a Kobo dictionary file now, for example dicthtml-tur-eng.zip.
Transfer the dictionary file to your Kobo device
Transfer the dictionary file to your Kobo device
13. Connect your Kobo device to your computer and go to the ".kobo\dict" folder on the reader.
14. In order to get your Kobo device to recognize the dictionary files, you have to use it to replace an existing original dictionary. To do this, you have to use the file name of an existing original dictionary. For example, I don't use the Spanish dictionary, so I renamed the file "dicthtml-es-en.zip" on my Kobo device to "dicthtml-es-en-backup.zip", so I will still have a backup in case I need it later. Then I renamed my Turkish-English dictionary to "dicthtml-es-en.zip".
15. Unplug your Kobo device, tap a word in a book and use the "Spanish" dictionary to look up words in your dictionary.
Credits:
Thanks very much! I could make and install a German English dictionary into my Kobo glo. I am really happy.
ReplyDeleteSweet Pepperspray: Adding Custom Dictionaries To Kobo Devices >>>>> Download Now
Delete>>>>> Download Full
Sweet Pepperspray: Adding Custom Dictionaries To Kobo Devices >>>>> Download LINK
>>>>> Download Now
Sweet Pepperspray: Adding Custom Dictionaries To Kobo Devices >>>>> Download Full
>>>>> Download LINK PH
Star ingilizce sözlüğü yerine OED gibi daha kapsamlı bir sözlük çevirebilir miyiz. Bunların kaynak dosyalarına ulaşabilir miyiz?
ReplyDeletePlease comment in English, my Turkish is not very good yet and this blog is supposed to be in English. :)
DeleteAs far as I know, we are limited to the dictionaries available in StarDict format, unless you can find a way to convert dictionaries.
This worked like charm. The only issue I faced was os.rename wasn't working in penelope script.
ReplyDeleteHi, thank you. It works well:)
ReplyDeleteI would be forever grateful to you for this tutorial. Worked like a charm on my Kobo Aura.
ReplyDeletethank you!
ReplyDeleteHi, I'm Alberto Pettarin, the author of Penelope.
ReplyDeleteSG pointed me to this post. I am glad that you find the tool useful and took time to write this tutorial.
Just a two updates:
1. the code is now hosted on GitHub, including some documentation: https://github.com/pettarin/penelope
2. on this MobileRead thread there is an index of custom dictionaries, mostly done with penelope, for several languages: http://www.mobileread.com/forums/showthread.php?t=232883
(Maybe you want to update the post, thank you.)
Thank you for creating the tool and also informing me of the updates; I updated my blog post accordingly. Don't hesitate to let me know if you have any other updates or comments. :)
DeleteExcellent, thank you.
DeleteAlberto
Thanks for the post.
ReplyDeleteI tried but it didnt work for me. I encountered following error
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 1: ordinal not in range(128)
can you give me some hints to solve this?
thanks
Nam
Thanks a lot, really simple to follow.
ReplyDeleteNotice that if you want a definition dictionary, and not translation, you have to set the same "from" and "to" language.
Hello, is there a link where I can download that English - Turkish dictionary you made?:) Many thanks!
ReplyDeleteHello, I had problems with the preffix, it just doesn't accept it and aborts the operation (even having done it the same it was shown here). Can anybody help me? Thanks
ReplyDeleteHello, I need help
ReplyDeleteI followed the instructions and instead of getting the dicthtml zip file within the penelope folder I get another folder named pycache with a pyc file inside it (small size 15 KB)
What am I doing wrong?
Nvm, got it to work.
DeleteNow how to combine two dictionaries (part 1 and 2)?
Hello!
ReplyDeleteThanks for great instructions! Only, now when I tried I didn't get a zip-file in step 12. Instead of using the file penelope3.py in step 9 and 11 you should use the file penelope.py (without 3). :)
I've penelope-3.0.1 and no penelopa3.py file.
ReplyDeleteThanks for the detailed instruction. This method was working in the past but the actual firmware replaces the changed dictionary to the default quite often (I suspect at sync).
ReplyDeleteDo you know a way to have the custom dictionary persistent?
Thanks in advance
Hello!
ReplyDeleteTNX for so good manual!
But...
I can't find penelope.py when I use penelope 2.1.40 and the same when I use penelope 3.0.1.9 - can't find penelope3.py.
Where is my mistake?
Evmolp
Please use penelope 2.02 then you can get the penelope3.py
DeleteI am experiencing the same problem above. I downloaded and extracted the penelope files, but there is no penepole file in the directory. There is another "penelope" directory in the "penelople" folder and it contains many python files. please help. I need to get it work to use on my kobo. I am trying to convert Oxford and Merriam Advanced eng to eng. Thank for the froum
ReplyDeletei am woking with stardict and need to create kobo
DeleteThis comment has been removed by the author.
Deletethis is the file I am trying to covert
Deletehttp://www.mediafire.com/download/p0hhhfn680yazsv/MWADICT_EN-EN.tar.bz2
I am trying to install the english to hindi dictionary, but when i search in the dictionary, it comes up as squares
ReplyDeleteDownload hindi Fonts and install it in your kobo by simply making a font folder (you must name it fonts) in the root directory of your kobo and place the hindi Font in it. When u will have hindi fonts, only then it wil show you the hindi language. Kobo does not support Hindi font so u hav to install Hindi font in it. For details, please check out, how to install custom fonts on kobo ereader
DeleteI discovered this 2014 forum that addressed the issue of Kobo custom dictionaries and I followed the instructions but, although I renamed the existing Kobo English-Spanish dictionary to dicthtml-en-es-backup.zip and my custom dictionary to dicthtml-en-es.zip, my reader continued using the English-Spanish dictionary, despite the fact that it was now in ...-backup form. If anyone is still monitoring this forum I would be grateful to have a suggestion. Thanks
ReplyDeleteHi, I do have similiar problem. I think no solution has been given yet.
DeleteYou have made nice post but you can know more about 7-zip (compressor/extractor) it at:
ReplyDeletehttps://basusoftgame.blogspot.com/2017/12/7-Zip-Unzip-file-for-Windows.html
This comment has been removed by the author.
ReplyDeleteHi,
ReplyDeleteI have found an english-indonesian dictionary already in .dx.gz, .ifo, .idx, .dict
I have downloaded penelope, python and marisa but when unziped the latter shows 2 folders with the right names but there are empty.
Since I work on a mac, I went to a windows PC with the same result.
Where did I go wrong ?
Also, I can find any penelope3 file.
Thanks for your help
Alain.
hi,
ReplyDeleteI have a hard time find English-Chinese dictionary for my kobo touch. could you please help?
thanks.
It's quite ridiculous how developers assume an average Joe is able to compile a piece of Python code on their own. "Hey, since you can read books, you probably know how to compile a dictionary converter." It really boggles my mind.
ReplyDeleteFollowing these instructions I was able to create 2 versions of French dictionaries, and install them on my Kobo Aura ONE. But I see and I understand that non-engineers may get stuck with these instructions. I am an engineer, so I was able to get past a few obstacles. So here are a few issues you may encounter:
ReplyDelete1. Make sure to get penelope version 2.0.2
2. Set the path for marisa as instructed in penelope.py
3. Run penelope.py with the parameters instead of penelope3.py
Thank you so much Zalima for figuring this out and posting it for everybody.
I posted the comment above.
ReplyDeleteDoes this tutorial still work?
ReplyDeleteI've followed by the instructions above but I couldn't find penelope3.py file?? Is there any updated tutorial how to convert StarDict format dictionary for Kobo reader?
Gregor, yes, like I said in the comments just before yours, it works but you will have to follow my instructions.
ReplyDeleteHej,
ReplyDeleteI can not find any Swedish dictionary. Does anyone have one?
Thanks
I'm also looking for a swedish dictionary...
ReplyDeleteHello, I need help
ReplyDeleteI followed the instructions and instead of getting the dicthtml zip file within the penelope folder I get another folder named pycache with a pyc file inside it (small size 15 KB)
What am I doing wrong?
Hell Guys
ReplyDeletei am searching for dictionaries : german arabic
italian arabic
french arabic
in dicthtml for my kobo h2o
i upoaded dictionaries from archive.org
but they are in zip forma
any help i am desperate !!
thanks
Someone please help! I have a bulgarian_dictionary.mobi but need it be converted for Kobo. Can someone please do that for me, I have read the Penelope guide, but this is too complicated for me, never done anything like that. If you can help me, please email me at zornitsapl@yahoo.com
ReplyDeleteSweet Pepperspray: Adding Custom Dictionaries To Kobo Devices >>>>> Download Now
ReplyDelete>>>>> Download Full
Sweet Pepperspray: Adding Custom Dictionaries To Kobo Devices >>>>> Download LINK
>>>>> Download Now
Sweet Pepperspray: Adding Custom Dictionaries To Kobo Devices >>>>> Download Full
>>>>> Download LINK 6v