Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2024, 02:56 PM   #46
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: 75,465
Karma: 134254362
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 Jane Eyre View Post
Yes, of course!
Thanks!
JSWolf is offline   Reply With Quote
Old 08-12-2024, 03:07 PM   #47
dan980
Member
dan980 has learned how to read e-booksdan980 has learned how to read e-booksdan980 has learned how to read e-booksdan980 has learned how to read e-booksdan980 has learned how to read e-booksdan980 has learned how to read e-booksdan980 has learned how to read e-books
 
Posts: 13
Karma: 796
Join Date: Mar 2021
Device: Kobo Aura One
Quote:
Originally Posted by JSWolf View Post
Thanks!
I would test it too, if you’d be so kind
dan980 is offline   Reply With Quote
Old Today, 02:00 AM   #48
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 737
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
The first thing to check when we see an incorrect hyphenation is to check if the language in the ebook is set correctly. Calibre tells you what the language of the file is. Sometimes I have found books written in Italian with English set as the language. I'll let you imagine how they were hyphenated.

You can also find the language by opening the file in the calibre editor or with Sigil and in the content.opf file you can find <dc:language>it</dc:language> or <dc:language>it-IT</dc:language>.
ps67 is offline   Reply With Quote
Old Today, 06:41 AM   #49
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,171
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by ps67 View Post
You can also find the language by opening the file in the calibre editor or with Sigil and in the content.opf file you can find <dc:language>it</dc:language> or <dc:language>it-IT</dc:language>.
The recommendation is <html lang="en">, for example, for each entire file rather than body.

Parts of a book file can be in a different language. These should be enclosed in a div p or span, depending if several paragraphs, one paragraph or part of a paragraph. So if a character speaks in in Irish in an English book, just the dialogue might be tagged
"<span lang="ga">some Irish</span>" she said.
This is important not just for hyphenation but also for TTS. Sadly I've seen ebooks where they didn't bother.
A spelling check in Calibre in language of ebook should reveal alternate language parts without tangs.
Quoth is offline   Reply With Quote
Old Today, 03:32 PM   #50
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 737
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
It is right. Of course the books with strange hyphenation I have seen did not have <html lang="it"> at the beginning of each file. Sometimes there was nothing or sometimes there was <html lang="en">.
ps67 is offline   Reply With Quote
Old Today, 04:54 PM   #51
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 941
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
When I just grab any ebook, I might see in certain files:
Code:
toc.ncx     --> xml:lang="en-US"
content.opf --> <dc:language>en</dc:language>
nav.xhtml   --> xml:lang="en"
*.xhtml     --> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
I have always wondered which language setting is really used and which ones are superfluous?
DrChiper is offline   Reply With Quote
Old Today, 06:44 PM   #52
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,171
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
The most important one is the per file, and any alternate language in the file needs local lang property in whatever tags are appropriate (add extra span ii the language change is within a tag).

I'd imagine the system pop-up index needs the system level statements for hyphenation and TTS.
Quoth is offline   Reply With Quote
Reply

Tags
hyphenation, kobo


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyphenation skr1107 Calibre 1 09-27-2018 11:28 AM
Hyphenation Simboubou PocketBook 9 09-15-2014 05:21 AM
Hyphenation does not work in E-book Viewer Elancrom Calibre 2 06-18-2014 06:19 AM
Hyphenation Siard Kobo Reader 6 08-09-2013 07:40 AM
hyphenation CPatrick OpenInkpot 3 03-22-2010 06:06 AM


All times are GMT -4. The time now is 07:39 PM.


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