Quote:
Originally Posted by shamanNS
IIRC the problem is down to the fact that plugin keeps only one hyphenation dictionary for Serbian language, so the one that you installed last is the one that is available to be used and thus if plugin has stored Serbian Latin dictionary trying to hyphenate ebook that is using Serbian Cyrillic alphabet will not and cannot works if dictionary rules mismatch the alphabet characters being used in a book. If you then install Serbian Cyrillic dictionary hyphenating Serbian Latin books will stop working.
In other words whenever you install Serbian language hyphenation dictionary you overwrite the already existing Serbian dictionary.
In order to hyphenate both alphabets your only choice is to reinstall the correct dictionary moments before trying to hyphenate a ebook. So, you as an user are forced to either somehow keep track of what dictionary & alphabet you used last time you used this plugin or "just" always reinstall the dictionary that matches the alphabet used by the book you intend to hyphenate.
I don't thing that even Calibre itself distinguishes between Serbian Latin and Serbian Cyrillic, as language metadata value.
|
Right, but the dictionaries for two alphabets are already in two distinct files, recognized by Calibre as two separate languages. I got them here:
https://devbase.net/dict-sr/
So, the Latin one is tagged as "Serbo-Croatian" (the file is titled hyph_sh.dic), and I run the Latin book only through that dictionary, never through the other one. The Cyrillic one is hyph_sr and I use it
only for the Cyrillic books, but it doesn't work. From what I understand, Serbo-Croatian and Serbian are seen by Calibre and Hyphenate This as two separate languages, which would mean that I never use one dictionary for two alphabets, right?
Here is how it looks on my Calibre:
https://ibb.co/BCmCBR4
Quote:
Originally Posted by JSWolf
Given that you have a Kobo and you are trying to add soft-hyphens to ePub, it's not going to work properly. RMSDK which is used to read ePub on a Kobo doesn't handle this well.
You would be best linking to these dictionaries and posting the language code you use for each language and I may be able to build hyphenation dictionaries that can be used with your Kobo that should work instead of trying to use soft-hyphens that won't work.
|
Why do you say that it doesn't work properly?
The books that run through HT successfully, which are always in the Serbian Latin alphabet, look quite okay on my Kobo. For example, see here:
https://ibb.co/hHpb0bp
I don't see any issues here. Though I did upload the epub instead of the kepub file, but I don't mind that since I don't really need all the features of kepub for the books in my language.