Quote:
Originally Posted by doubleshuffle
Thanks, I wasn't aware of that. Does the language info have to be in the html tags, or can I also put it in the stylesheet?
|
In the HTML tags.
The code has the potential to look really ugly, so I would use it sparingly.
Text-to-Speech
For example, this would help text-to-speech read the words using the proper accents:
Code:
<p>I like to eat tacos.</p>
<p class="spanish" lang="es" xml:lang="es">Me gusta comer tacos.</p>
<p>Go with me to the store.</p>
"tacos" in Spanish sounds like "ta-cos", while English more like "ta-cohs".
"me" in Spanish is spoken like "may", while English is spoken like "mee".
Or you can mark a small group of words. For example, some styles make foreign words italic:
Code:
<p>The con artist ordered <i lang="es" xml:lang="es">pollo con carne</i> from the Mexican restaurant.</p>
Spellcheck
Also, Calibre supports Multi-Language Spellcheck, so when you use the Spellcheck word list you can see the differences:
So you can see that:
con (Spanish) =/= con (English)