Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2014, 09:01 AM   #1
franklekens
Groupie
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 191
Karma: 632460
Join Date: Sep 2009
Device: Kindle3, KoboAura&Glo, PB 360 & 902 (Kindle Touch, PRS-600, Opus)
Kobo Touch Extended: replace language?

What does the option "replace content language code" do? By what does it replace the content language code?

I'm asking because I suddenly had a book in which the Kobo reader incorrectly identified the language as Dutch (the book was in English), so I had a hard time using the dictionary.

I'm wondering if a recent change in the plugin may have caused this for the most recent books I've loaded onto the device, and if checking this option might remedy it.

If not, are there other ways to make sure the reader correctly identifies the language? (Other than by diving into the css or the code of the epub itself, which I'm not familiar with and I'd rather not do on a book by book basis.)
franklekens is offline   Reply With Quote
Old 05-01-2014, 06:02 PM   #2
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 629
Karma: 2018502
Join Date: Jan 2013
Location: New Brunswick, Canada
Device: Kobo Glo
It will do two things, but you have to set the language of your books first.

First, it will set the language code of the OPF file (a very important internal metadata file) to the book's language code. Specifically, it updates (or creates, if needed) nodes matched by the XPath expression //opf:metadata/dc:language

Second, it takes every internal content file and adds the 'lang' and 'xml:lang' attributes to the <html> tag.

This was primarily done to address issues with hyphenation when the book's language isn't properly defined. I'm not sure what effect it has on standard dictionaries. I'd say give it a try though, the worse that'll happen is your books still won't use the right dictionary for definitions.
jgoguen is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Device Plugin] Kobo Touch Extended Driver jgoguen Plugins 1045 Yesterday 04:42 AM
Kobo Touch Extended Plugin GalaxianUK Plugins 10 09-26-2013 03:54 PM
Touch Please help with Kobo Touch Translate in Thai language!! Geegraeme Kobo Reader 0 12-01-2011 10:45 AM
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? EverC Kobo Reader 11 08-31-2011 11:47 PM
Touch Kobo Touch Extended Warranty Program SensualPoet Kobo Reader 1 07-17-2011 04:08 AM


All times are GMT -4. The time now is 12:08 PM.


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