![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2019
Device: none
|
Spellchecker problem
Hello,
I have a problem with the Sigil spellchecker. The misspelt words are underlined in code view but when I click the spellcheck box it shows no errors (see attachment). This happens on all epubs. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,758
Karma: 5706256
Join Date: Nov 2009
Device: many
|
See this recent thread ...
https://www.mobileread.com/forums/sh...d.php?t=337751 which has many things to check and a nice summary by Tex2000ans about spellchecking. So what platform? What version of Sigil? What Primary and Secondary Dictionaries have you selected in Sigil Preferences? What have you set for dc:language in the metadata of the OPF? What if any xml:lang and lang attributes are you using in your xhtml code? Which dictionaries have you actually installed and how are they named? If you built Sigil itself on Linux make sure you have followed the docs closely and know where system hunspell dictionaries are located? All of this may matter. Last edited by KevinH; 03-04-2021 at 08:55 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2019
Device: none
|
Windows 10
Sigil 1.4.3 Primary and Secondary Dictionaries English GB <dc:language>eng</dc:language> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" epubprefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/#" lang="eng" xml:lang="eng"> the hunspell dictionaries installed with sigil Last edited by neilrh; 03-04-2021 at 09:30 AM. |
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,758
Karma: 5706256
Join Date: Nov 2009
Device: many
|
There is no "eng" language code. Change your xml:lang and lang attributes to be either "en" or to be more specific "en-GB"
Do the same for dc:language. See for example: https://www.w3schools.com/tags/ref_language_codes.asp and https://www.w3.org/International/que...e-declarations for the standard 2 character codes. Last edited by KevinH; 03-04-2021 at 09:38 AM. |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2019
Device: none
|
Thank you,
That works, do I have to go through every chapter and change the xml. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,347
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
If you have that in each header, or if you have specific <span>s declaring a different language for a given word/phrase, then, yes, you would need to change each of them to use the correct language code. However, that would be super easy using a find/replace: find: lang="eng" xml:lang="eng" replace: lang="en-GB" xml:lang="en-GB" ...and make sure you have All HTML files selected. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cursor jumps all over the place while editing text using the spellchecker | abecedarian | Sigil | 2 | 09-14-2018 05:50 AM |
Spellchecker - enhancements | BetterRed | Sigil | 11 | 03-01-2016 05:53 PM |
Sigil 0.5.3 - spellchecker missing? | Naloomi | Sigil | 3 | 08-08-2012 09:03 PM |
Am I Missing Something? (spellchecker) | Guns4Hire | Sigil | 11 | 01-10-2010 06:57 AM |