![]() |
#1 |
Connoisseur
![]() Posts: 78
Karma: 10
Join Date: Jul 2009
Location: Amstelveen, NL
Device: Kobo Aura HD, Sony PRS-T1
|
Language code ignored in Edit Metadata screen?
Hi, I've figured out that irrespective of the language code of an ebook, the following line is always inserted:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> in the titlepage.xhtml. This is causing hyphenation errors for Dutch books when the ePub ebook is transferred to the Kobo Aura HD reader as kepub. Is there a away (apart from manually editing all converted ebooks before they are transferred) to set the proper language code in the jackets.xhtml based upon the language code set in the Edit Metadata screen or insert a user defined xml:lang="xx" in the titlepage.xhtml? Last edited by cloggy; 06-01-2014 at 03:40 PM. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
IIRC, that prevails |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 78
Karma: 10
Join Date: Jul 2009
Location: Amstelveen, NL
Device: Kobo Aura HD, Sony PRS-T1
|
Hi, the language column in the Edit MetaData screen is set to Dutch. The generated statements are:
in titlepage.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> in jacket.xhtml: <html xmlns="http://www.w3.org/1999/xhtml"> I've done some more testing with Dutch hyphenations but Kobo is really making a mess out of it for kepub ebooks. So, for now, I'm using unhyphenated regular ePub books unless somebody has a tip to make (and show) kepub books also unhyphenated. |
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,732
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 06-02-2014 at 06:30 AM. |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Setting metadata only changed the <dc:language> element nothing else. Changing language declarations int he html would break multi-lingual books for example. To change declarations int he HTML use the ebook editor.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 78
Karma: 10
Join Date: Jul 2009
Location: Amstelveen, NL
Device: Kobo Aura HD, Sony PRS-T1
|
Hi Kovid, thanks for the update. As already mentioned, I went back to normal ePub and that works fine and there is no need to edit any ebook afterwards....
![]() Regards...Dick |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
After I Edit Code, Save, and Convert, all my Code Edits are Gone | lukewrussell | Calibre | 1 | 03-14-2014 08:05 PM |
Cover size displayed in metadata edit screen | MSWallack | Calibre | 13 | 12-12-2012 06:05 AM |
Can I view from the Edit Metadata screen? | Opus97 | Library Management | 1 | 11-16-2012 08:07 PM |
Edit metadata window off screen | toomuchreading | Calibre | 34 | 04-14-2012 09:17 AM |
Problem with edit metadata screen | ficbot | Calibre | 5 | 12-31-2010 03:13 PM |