View Full Version : Metadata to specify default language is English?


kjk
06-21-2010, 03:31 PM
I ran into an interesting issue with iBooks 1.1-the built-in dictionary doesn't work on some of my ePubs I've converted myself from other formats-I get a "Dictionary not available for this language" error when I try to get a definition, despite the book (and the word) being in English. Books bought from iBooks don't have this issue, and some of my ePubs also work fine.

Is there a metadata entry I need to add to verify the book is in english to iBooks?

Edit: according to the always helpful GRiker, it is the <dc:language> tag that is the issue.

charleski
06-21-2010, 05:43 PM
The language metadata tag is required in the epub spec, so it's reasonable for the dictionary to throw a wobbly if it's not present.

GRiker
06-21-2010, 07:21 PM
It has to be present, and contain either 'en' or 'en-US', at least for ipads sold in the US.

Jellby
06-22-2010, 04:22 AM
The spec allows multiple languages to be present. It could be enough to add a language tag, instead of changing existing ones.

capidamonte
06-22-2010, 04:05 PM
If you're using the Calibre GUI to generate the ePubs, this is a known bug. Workaround is coming this week.

(Calibre GUI puts UND in the dc:creator tag.)

cap