View Single Post
Old 05-05-2016, 04:26 PM   #1
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
New dictionaries for kobo (no limits)

Step by step to install new dictionaries in kobo readers. It serves for dictionaries of another languages and install additional dictionaries of languages installed.

Updated post to work with fw v.4.22.15190

Inspired by the contributions of Robik and Pipcat in https://www.mobileread.com/forums/sh...30#post3311930

You must search dictionaries in kobo format. See in https://www.mobileread.com/forums/sh...ght=dictionary or prepare with Penelope (https://github.com/pettarin/penelope).

1.- Patch the libnickel.so.1.0.0 file with the method geek1011 patchs. Download your firmware patches:

https://github.com/pgaskin/kobopatch-patches/releases

Edit the file libnickel.so.1.0.0.yalm and enable `Allow searches on Extra dictionaries` patch:

Spoiler:
Allow searches on Extra dictionaries:
- Enabled: yes
# See https://pgaskin.net/dictutil/dicthtml/install
- FindBaseAddressString: "\0Extra:\x20"
- ReplaceString: {Offset: 7, Find: "\x20", Replace: "_"}




2.- We need a two chars code for each dictionary. If language doesn't exists on Kobo we can use its ISO-639-1 (Ex: Catalan => ca. Euskera => eu), otherwise we will assign a new fictitious code (Ex: English => e1, e2 . Spanish => s1)


3- Edit \.kobo\Kobo\Kobo eReader.conf and fill ExtraLocales=xx in [ApplicationPreferences] seccion with the two chars code of the dictionaries to install (separate with commas)

ExtraLocales=ca, e1, e2, s1, eu




4.- Copy dictionary files to \.kobo\dict

You have to name the files with the file structure of kobo dictionaries with the two chars code.

dicthtml-ca.zip, dicthtml-e1.zip, dicthtml-e2.zip, dicthtml-s1.zip, dicthtml-eu-es.zip



5.- From fw 4.22 step 5 is no longer necessary


6.- Safely disconnect the reader and restart.
You have the new dictionaries.
You can use on the book and from the menu dictionary of the home



Attached Thumbnails
Click image for larger version

Name:	3_453x600.png
Views:	1388
Size:	15.1 KB
ID:	148459   Click image for larger version

Name:	4_453x600.png
Views:	4889
Size:	30.5 KB
ID:	148460   Click image for larger version

Name:	5_453x600.png
Views:	5090
Size:	115.0 KB
ID:	148461   Click image for larger version

Name:	6_453x600.png
Views:	1325
Size:	123.6 KB
ID:	148462   Click image for larger version

Name:	1_453x600.png
Views:	5463
Size:	38.5 KB
ID:	148463   Click image for larger version

Name:	2_453x600.png
Views:	4947
Size:	42.6 KB
ID:	148464   Click image for larger version

Name:	7_453x600.png
Views:	1364
Size:	123.7 KB
ID:	148465   Click image for larger version

Name:	10_600x290.jpg
Views:	23729
Size:	39.7 KB
ID:	148466   Click image for larger version

Name:	11_600x286.jpg
Views:	23467
Size:	30.2 KB
ID:	148467   Click image for larger version

Name:	12_525x600.jpg
Views:	5096
Size:	28.7 KB
ID:	148468   Click image for larger version

Name:	13_591x600.jpg
Views:	5556
Size:	78.6 KB
ID:	148469  

Last edited by surquizu; 07-28-2020 at 07:56 PM. Reason: test para v.4.22.15190
surquizu is offline   Reply With Quote