View Single Post
Old 02-07-2017, 04:15 PM   #11
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by chaot View Post
@jhowell - that's alright, as you see:
Code:
<manifest>
    <item href="toc.html" id="id8" media-type="application/xhtml+xml"/> 
... and at end ...
    <reference type="toc" title="Inhaltsverzeichnis" href="toc.html#calibre_generated_inline_toc"/>
Inhaltsverzeichnis is German (means content list): From where/why calibre knows, it's a German book?

Not from here:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="de">
I changed all files from lang="de" to lang="en" and 'refresh' the toc.xhtml, but still it's named Inhaltsverzeichnis.
If you use the German Calibre user interface and/or create a new German language book in Calibre Editor, Calibre will use the German translation of Table of Contents = Inhaltsverzeichnis whenever you generate an inline (HTML) TOC. It'll also add a opf guide item with an Inhaltsverzeichnis title attribute.

Make sure to select Englisch from the Sprache (Language) dropdown list box in the Neues Buch erstellen (Create new book) dialog box when you create a new English epub.
Doitsu is offline   Reply With Quote