View Single Post
Old 07-08-2020, 03:04 PM   #19
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,902
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Pioneer129 View Post
Can you elaborate this a little more. I have for instance a custom dictionaries, Wordnet3.1, where exactly I need to replace this dictionary name in the patch for installing hyphenation dictionary?
Also am I required to enable Kepub Hyphenation Dictionary patch in order to use hyphenation dictionary or I have to keep that off to use Hyphenation Dictionary?

Thanks
The code I posted shows the line needed to install an english hyphenation dictionary. It goes in the kobopatch.yaml file at the end.

You can see the path where I put the hyphenation dictionary looking at the code. And you can see the filename you need to use.

For KePub, you should enable the hyphenation patch so purchased KePub or Overdrive KePub will also have hyphens.

src/hyphenDicts/hyph_en.dic <-- src/hyphenDicts is where to put the hyphenation dictionary and hyph_en.dic is the name of the English dictionary.

usr/local/Kobo/hyphenDicts/hyph_en.dic <-- where the hyphenation dictionary goes on the Kobo and what to call it.

If you already have a files: section, just post the line before files: in the files: section of the yaml file.

Last edited by JSWolf; 07-08-2020 at 03:08 PM.
JSWolf is offline   Reply With Quote