10-11-2018, 03:12 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2018
Device: iPad
|
Dictionary questions
I have the Calibre 3.3.2 Editor set to use United Kingdom as the 'preferred variant for the English language'.
Q1. Why do words like 'centre' show as misspelled? (i.e. wavy red underline) Is there another setting other than in Edit > Preferences > Editor settings > Manage spelling dictionaries? Q2. Is is possible to get rid of some of the suggested alternatives (like 'cent re' and/or 'cent-re')? |
10-11-2018, 05:06 AM | #2 |
null operator
Posts: 20,415
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@RickC998 - try this
Have a look at the language in the opf file, if it's 'en-us' I think it checks against US spellings, similarly 'en-uk' would check against UK spellings etc. Best thing is to set it to 'en' in the OPF, then the selected dictionary variant should determine which spelling variants (US, UK, Australian etc) are used to check against. BR |
10-11-2018, 06:57 PM | #3 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
10-11-2018, 07:17 PM | #4 |
null operator
Posts: 20,415
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
if the nationalists (Scottish, Irish and English) get their way there will be no (anything) UK (anything).
BR Last edited by BetterRed; 10-14-2018 at 06:57 AM. |
10-14-2018, 04:09 AM | #5 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2018
Device: iPad
|
Quote:
I ran out of time to do any more testing so next time I see the same situation occur I'll try 'en-GB' instead. |
|
10-14-2018, 07:33 AM | #6 | ||
null operator
Posts: 20,415
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But as I understand it: if the language setting in the opf is 'en' and the dictionary setting in Preferences is United Kingdom, then the spell check should be using the en-GB dictionary, as per the Dictionary selection dialogue in Editor->Preferences: Quote:
BR |
||
10-14-2018, 08:49 AM | #7 |
Not Quite Dead
Posts: 189
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
I encountered the same problem a few times. Installed default dictionary and .opf file settings were getting over-ruled in the spell check. The cause turned out to be meta tag settings in each html page, like so:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-us" xml:lang="en-us"> Last edited by Brett Merkey; 10-14-2018 at 08:51 AM. |
10-14-2018, 07:11 PM | #8 | |||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
There's a handful of locations language can be set, going from "highest" to "lowest" level: 1. The overall book's language is set in the book's metadata. Sigil has an easy way to look at this (Tools > Metadata Editor): Or, if you want to manually look inside of the content.opf file, you'll be looking for a line like this: Code:
<dc:language>en</dc:language> Quote:
Side Note: Often, it can even be used at the paragraph- or word-level: Quote:
This will show you what Language a lot of your book is.
Like BetterRed said, if the book is set to just English, Calibre should spellcheck using whatever your overall Calibre is set to (either US or British dictionaries). |
|||
10-15-2018, 05:14 PM | #9 |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2018
Device: iPad
|
Thank you all. It was indeed an issue with this meta tag, now corrected from "en-US" to "en-GB" on each page:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB"> Thank you all once again. |
10-15-2018, 06:39 PM | #10 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
You may also want to add lang as well. Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-GB" xml:lang="en-GB">
Replace: lang="en-GB" xml:lang="en-GB" Some tools/browsers/readers may support one or the other. So including both should make language work wherever. |
|
10-15-2018, 06:56 PM | #11 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2018
Device: iPad
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O custom dictionary and other questions | Jade Aislin | Kobo Reader | 3 | 03-31-2016 02:05 AM |
Some dictionary questions | iamosam | Kobo Reader | 1 | 09-01-2013 09:21 AM |
360 Some more dictionary questions | omk3 | PocketBook | 0 | 02-25-2011 05:48 PM |
360 dictionary questions | franklekens | PocketBook | 4 | 03-01-2010 05:54 AM |
Questions about Dictionary hack | enarchay | Sony Reader Dev Corner | 4 | 06-12-2009 01:51 PM |