Q1 Answer I will leave to Doitsu or others.
Q2 Answer: According to epub2 official spec and schemas (very old now) "lang" is not an allowed attribute on the html tag but xml:lang is allowed and is recognized and takes precedence. I think it is safe to ignore those errors as that rule has been relaxed over the years but FC has not changed with that interpretation of the rules.
Q3 Answer: yes marking the language is a good thing in general. And especially true if multiple languages are used in the book.
Q4 Answer: To be safest, both xml:lang and lang should have the same value and the language region should be properly capitalized.
So for epub2 either remove the lang attribute leaving just the xml:lang attribute or keep them (ignoring the errors from FC) and make them all say "en-US" so they match just to be safe.
Last edited by KevinH; 11-24-2022 at 10:35 AM.
|