View Single Post
Old 10-15-2022, 11:29 AM   #5
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: 782
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by XtinaS View Post
Son of a...

Turns out the {html} tag didn't have a language defined. So naturally spellcheck found nothing wrong, because in no language there are no misspelled words.

Case closed!
I've got plenty of books without a language defined (that I can find, anyway). Spellcheck is finding plenty of unknown words for me.

In the latest book I messed with, here's what the header of the files looks like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>Midnight at the Well of Souls</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
</head>

<body>...
EDIT1: Well, there is a "xml:lang="en"" at the top of the Calibre-produced titlepage.xhtml and toc.xhtml. But, nowhere else.
EDIT2: I also upgraded from Calibre 6.6.1 to the latest (6.7.1) and spellcheck is still finding plenty of unknown words. What version are you using?
EDIT3: And, if I pull out those two lang="en" tags (so there aren't any in the book), spellcheck is still working properly.

Last edited by enuddleyarbl; 10-15-2022 at 11:54 AM.
enuddleyarbl is offline   Reply With Quote