View Single Post
Old 02-10-2023, 10:22 PM   #22
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 786
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by kovidgoyal View Post
You dont need the lang in every html file. The spell checker will use the lang from the OPF file when an html file does not have a lang.
Thanks, Kovid. I was wondering where the default was set.

In the content.opf file, I found the dc:language entry and changed it to:
Code:
<dc:language>en-US</dc:language>
After restarting the editor, the spellchecker now specifies English (US) everywhere that the language wasn't specified (as you said). Unfortunately, the language IS set to plain EN in toc.xhtml and nav.xhtml. So, I still have to either manually change those or exlude them from the spellchecker.
enuddleyarbl is offline   Reply With Quote