Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-01-2018, 07:15 PM   #16
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,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by JIPG-reader View Post
In my case, I want to add an additional Spanish dictionary, not a translation one from one language to another.

So, I use only one sufix, and per surquizu instructions, I expected to put a name to better remember the dictionary name: e.g. Extra:_DRAE. But if I do

Suffix | Name | ExtraLocales
-e1 | Extra:_DRAE | DRAE

it thinks it is an English dictionary and it does not work.

If I do

Suffix | Name | ExtraLocales
-e1 | Extra:_e1| e1

It works and appears as EXTRA:_e1 in the look up window.
I don't know whether this alternative method will work for Spanish but it's what I did to get my favourite custom English dictionary added. I haven't updated to firmware 4.8.11073 yet but it works fine on 4.8.10956.

Try adding it like this:
Code:
Suffix | Name              | ExtraLocales
-es-es | Español - Español | nothing special required
The Kobo already recognises the 'es' locale as Español. If it works, you would end up with two entries in your dictionary drop-down menu:
Español (the Kobo default Spanish)
Español - Español (your additional custom Spanish)

Last edited by jackie_w; 06-01-2018 at 07:21 PM.
jackie_w is offline   Reply With Quote
Old 06-02-2018, 07:32 AM   #17
JIPG-reader
Zealot
JIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beauty
 
JIPG-reader's Avatar
 
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
Quote:
Originally Posted by jackie_w View Post
I don't know whether this alternative method will work for Spanish but it's what I did to get my favourite custom English dictionary added. I haven't updated to firmware 4.8.11073 yet but it works fine on 4.8.10956.

Try adding it like this:
Code:
Suffix | Name              | ExtraLocales
-es-es | Español - Español | nothing special required
The Kobo already recognises the 'es' locale as Español. If it works, you would end up with two entries in your dictionary drop-down menu:
Español (the Kobo default Spanish)
Español - Español (your additional custom Spanish)
Your proposal seems a good idea!

I will try it.
JIPG-reader is offline   Reply With Quote
Advert
Old 06-03-2018, 03:57 PM   #18
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Updated post #1 to work with fw v.4.8.11073
surquizu is offline   Reply With Quote
Old 06-14-2018, 11:46 AM   #19
mathil
Evangelist
mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.
 
Posts: 439
Karma: 287725
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD/Libra 2, Kindle PW3/PW5
Edited because -- of course -- I figured out what I was doing wrong as soon as I posted this message. Sorry!

Last edited by mathil; 06-14-2018 at 11:57 AM.
mathil is offline   Reply With Quote
Old 07-06-2018, 01:30 PM   #20
maxvdm
Junior Member
maxvdm began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura Edition 2
Hello everyone,

I have a Kobo Aura edition 2 (don't know V1 or V2). Firmware 4.8.11073 (b628114af7).


Just tried but got some troubles. Everything goes well but at the end, I see my dictionaries but 0 Bytes, they don't work.

1. When I did the firmware update, I couldn't add the patch. But in the linnickel, there was already one and I put yes on this Extra dictionary patch.
2. Checked my names in the .conf were exactly the same than in my .sqlite database. (+ suffix, ...).
3. Checked Extra:_XX (i use f1, f2 as name for french dictionaries).
4. Restart Ebook


I think my problem is when I have to put the patch in my libnickel. Got some error when I start the bat file. That's why I use the default patch in this file.



Thanks for the help.

EDIT : works fine after reader 30times my manipulation... Did a copy-paste of the size of the dictionary and had "." with my number... That's why it didn't work

Last edited by maxvdm; 07-06-2018 at 01:52 PM.
maxvdm is offline   Reply With Quote
Advert
Old 07-31-2018, 12:00 PM   #21
amornero
Junior Member
amornero began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura One
Hello, Hope you can help me, I have a Kobo Aura One and I would like to import the English-Italian Dicitonary from my old Sony PRS-T1. Is there any way I can do this please? Thanks
amornero is offline   Reply With Quote
Old 07-31-2018, 02:27 PM   #22
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,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by amornero View Post
Hello, Hope you can help me, I have a Kobo Aura One and I would like to import the English-Italian Dicitonary from my old Sony PRS-T1. Is there any way I can do this please? Thanks
If your question is a simple "can I copy file xxx.yyy to dicthtml-en-it.zip, place it in the Kobo's dictionary directory" and be good to go, then I'm 99.999999% sure the answer is "No".

If your question is "Can it be done if I'm technically able and prepared to put in whatever effort is required?" then the answer is "Maybe". If the latter then the next questions would be:
  • Is the Sony dictionary encrypted and, if so, can you decrypt it?
  • What format is the Sony dictionary and can you extract its content in human-readable form?
If the answer to both follow-up questions is "Yes" then the answer to your original question is that it is probably possible to wrangle the Sony format into Kobo format. It will take time and effort on your part, but the Kobo dictionary structure is quite simple and is well documented elsewhere in this forum.
jackie_w is offline   Reply With Quote
Old 12-06-2018, 12:13 AM   #23
hypnotic
Junior Member
hypnotic began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Kobo Aura One
I did everything right, tried to install english - serbian dictionary, zip file was originally named eng-serb, but i changed it to en-sr by the instructions here...it is installed but Kobo see it as english - english when i try to use it and says "you don't have an english dictionary installed"

can someone help please, thanks
hypnotic is offline   Reply With Quote
Old 12-06-2018, 06:38 AM   #24
Dirk-71
Zealot
Dirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolateDirk-71 is generous with chocolate
 
Posts: 120
Karma: 33696
Join Date: Dec 2016
Location: Germany
Device: Kobo: Libra 2, Aura One, Glo HD, Clara 2E
Deleted

Last edited by Dirk-71; 12-06-2018 at 06:45 AM.
Dirk-71 is offline   Reply With Quote
Old 12-06-2018, 09:51 AM   #25
JIPG-reader
Zealot
JIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beauty
 
JIPG-reader's Avatar
 
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
Try to follow carefully the instructions in post#1.
JIPG-reader is offline   Reply With Quote
Old 12-06-2018, 01:49 PM   #26
Olgar79
Junior Member
Olgar79 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Kobo aura hd
Hello everyone, i have some issues activating this patch in my kobo aura hd, last firmware 4.8.11073. when i click the batch file everything seems to be ok but when i restart my kobo, the dictionary appear in the list as Extra_xx but not downloaded. I have never hacked my kobo until now and i am doing only because of the custom dictionaries. here is what i can see in the patch i used:

patch_name = `Allow searches on Extra dictionaries`
patch_enable = `yes`
# Multi-version patch: 4.7.10413 - 4.8.10956+
#
## To allow searches on Extra dictionaries change space character at end of
## "Extra:_e2 " to another char (ex: "Extra:_e2")
## The space char causes a non-desired "English - English" when searching on
## Extra dictionary from main menu.
#
find_base_address = `\0Extra:\x20`
replace_string = 0007, `\x20`, `_`

Is this correct? Hope someone can help me...
Olgar79 is offline   Reply With Quote
Old 12-06-2018, 03:23 PM   #27
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,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Olgar79 View Post
Hello everyone, i have some issues activating this patch in my kobo aura hd, last firmware 4.8.11073. when i click the batch file everything seems to be ok but when i restart my kobo, the dictionary appear in the list as Extra_xx but not downloaded. I have never hacked my kobo until now and i am doing only because of the custom dictionaries. here is what i can see in the patch i used:

patch_name = `Allow searches on Extra dictionaries`
patch_enable = `yes`
# Multi-version patch: 4.7.10413 - 4.8.10956+
#
## To allow searches on Extra dictionaries change space character at end of
## "Extra:_e2 " to another char (ex: "Extra:_e2")
## The space char causes a non-desired "English - English" when searching on
## Extra dictionary from main menu.
#
find_base_address = `\0Extra:\x20`
replace_string = 0007, `\x20`, `_`

Is this correct? Hope someone can help me...
You need to perform all the steps in post #1 of this thread, not just the patch.
jackie_w is offline   Reply With Quote
Old 12-06-2018, 04:46 PM   #28
Olgar79
Junior Member
Olgar79 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Kobo aura hd
Quote:
Originally Posted by jackie_w View Post
You need to perform all the steps in post #1 of this thread, not just the patch.
Thanks for the reply
I have done everything as explained in the thread. I put that part because i thought was incorrect and i didn't know where to put the char after Extra_
I paste here the other part so we can figure out what is missing or wrong (the third one i think is ok, infact i can see the custom dictionary in the list as i renamed in the Database):


EarliestChangeLog=2.5.0
ExtraLocales=e2, i2
Olgar79 is offline   Reply With Quote
Old 12-06-2018, 06:15 PM   #29
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,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
The patch looks OK. Did you do a full Power Off/On after you finished making all your changes?

If this doesn't fix it please post screenshots showing:
  1. the contents of your .kobo/dict directory, specifically the 2 entries for
    dicthtml-e2.zip
    dicthtml-i2.zip
  2. the Dictionary table of the Kobo database showing the 2 entries for
    -e2
    -i2
i.e. your equivalent of steps 4 and 5 from post #1.
jackie_w is offline   Reply With Quote
Old 12-07-2018, 11:41 AM   #30
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
@Olgar79 please, check the below list and remember to use Notepad++ to edit if you are in windows:
1.- Apply Allow searches on Extra dictionaries (libnickel.so.1.0.0) patch.
As jackie_w says, you don't need to change patch.
2.- Edit \.kobo\Kobo\Kobo eReader.conf and fill ExtraLocales= under [ApplicationPreferences] section:
Spoiler:
Code:
[ApplicationPreferences]
ExtraLocales=e2, i2

3.- Dictionaries will not be downloaded. You must copy dictionary files (dicthtml-e2.zip and dicthtml-i2.zip) to \.kobo\dict folder.
4.- Open the \.kobo\KoboReader.sqlite SQLite database and insert a row for each dictionary on Dictionary table.
Pay attention that suffix is -e2 while name is Extra:_e2 Inglés - Español (Harrap's) and size is in bytes.
5.- Safely disconnect the device and restart.

Good luck.
jcn363 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding new dictionaries to kobo. Robik Kobo Developer's Corner 61 12-19-2023 04:30 PM
Kobo dictionaries without books ? Rojofo Kobo Reader 2 04-21-2015 04:57 PM
Free (nook/Kindle/Kobo/iTunes UK) Pushing the Limits [YA Social Issues COA w/Romance] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 0 12-04-2014 02:29 PM
Update kobo's dictionaries akorx Kobo Reader 3 09-28-2014 09:12 AM
Kobo desktop loading dictionaries brudigia Kobo Reader 1 07-16-2014 12:55 PM


All times are GMT -4. The time now is 03:52 PM.


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