Quote:
Originally Posted by abraum
But this doesn't work for my perhaps because of wrong or missing "xml:lang"? where can i add this to the epub?
|
1. Which language is your book?
You use this information to figure out which codes to use. For example:
en = English
de = German
fr = French
es = Spanish
2. You go into your chapters and add a:
Code:
lang="en" xml:lang="en"
to your <html>. So, if this is the original:
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
you change it to:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
This now says: "Hey, all the HTML inside of here is English."
3. Go into your EPUB's metadata and make sure the language is correct too.
In Sigil, you get there by
Tools > Metadata Editor.
You should see a
Language or
dc:language column:
This is saying: "Hey, this entire book is English"!
4. To double-check the languages are all applied correctly, you can also use Sigil's/Calibre's Spellcheck Lists.
In Sigil, press
Tools > Spellcheck > Spellcheck.
In Calibre, press
Tools > Check Spelling.
This will pop up a list of all Words + # of Times Used + Language.