View Single Post
Old 11-10-2022, 03:04 PM   #21
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Deina97 View Post
YES!!!

That was the problem! It had:
<dc:language>ca</dc:language>
When I changed it to:
<dc:language>en</dc:language>
it worked!

"ca" means it your book was accidentally marked as "Catalan" instead of English.

If you opened:
  • Tools > Check Spelling

In the language column, you would've also seen Catalan for many words:

Click image for larger version

Name:	Calibre.-.Spellcheck.Lists.-.Language.-.Catalan.png
Views:	124
Size:	14.5 KB
ID:	197648

That's when you know something is fishy with your:
  • language in the HTML
    • lang / xml:lang towards the top of your HTML files.
  • book's language in the metadata
    • <dc:language> in the content.opf file.

For example, I ran across one book years ago where it was accidentally marked "fr" (French) instead of "en" (English).

- - -

Side Note: Another symptom of something wrong with an ebook's language is if you see:
  • red squigglies everywhere.

+ you would've been surprised when turning on Text-to-Speech... it would've been speaking "English" out in a completely different language!

- - -

Quote:
Originally Posted by BetterRed View Post
I didn't realise dc:language played a role in spell checking
BetterRed, buddy ol' pal, you're killing me!!!

HTML lang is used for so much stuff now! See my famous post in the "<i>, <em> or <span> for italics ?" thread explaining all the use-cases.

Multi-Language spellchecking + ebooks have been getting better and better since my big nudges in 2016.

(Thanks, Kovid, for implementing it in Calibre's Spellcheck Lists all those years ago! )

Last edited by Tex2002ans; 11-10-2022 at 03:30 PM.
Tex2002ans is offline   Reply With Quote