Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2022, 01:43 PM   #1
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 266070
Join Date: Dec 2010
Location: Spain
Device: Win10,Win11,Ubuntu,PockbookLux44
Issue with SpellCheck?

Hello! When trying to run a global Spell Check, i see the first image--background showing that there are spelling errors. If I call to Show All Words, the blank screen fills up--all words marked 'Mispelled? No'.
I am under Windows and just updated to Sigil 1.9.10: but it's some since I required the feature, so perhaps isn't a new issue...
Thanks!
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	154
Size:	61.4 KB
ID:	194620   Click image for larger version

Name:	Clipboard02.png
Views:	155
Size:	14.6 KB
ID:	194621  
carmenchu is offline   Reply With Quote
Old 06-28-2022, 01:47 PM   #2
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
Change language in metadata from "eng" to "en" or "en_US", "en_GB" or something OTHER than "eng".
BeckyEbook is offline   Reply With Quote
Advert
Old 06-28-2022, 02:05 PM   #3
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 266070
Join Date: Dec 2010
Location: Spain
Device: Win10,Win11,Ubuntu,PockbookLux44
Thanks! Language in metada was all right (English United States)--the issue was apparently with lang="eng" xml:lang="eng" in in the <html> tag--from original. Changing solves the problem--may as well delete it directly...
carmenchu is offline   Reply With Quote
Old 06-28-2022, 06:46 PM   #4
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 BeckyEbook View Post
Change language in metadata from "eng" to "en" [...]
Yep, "eng" is an invalid language.

Instead, you'd use:
  • en = English

so:
  • <html lang="eng" xml:lang="eng">
  • <html lang="en" xml:lang="en">

A basic list of valid language tags are here:

Quote:
Originally Posted by BeckyEbook View Post
[...] or "en_US", "en_GB" or something OTHER than "eng".
Be careful though, because the underline isn't valid.

You need to use a HYPHEN between the language + country (and any other extra subtags):
  • en = English
  • en-US = English (United States)
  • en-GB = English (British)
  • en-GB-oxendict = English (British) + Oxford English Dictionary spelling

- - - - - -

Technical Side Note: If you want all valid lang codes, see:

If you want more info on how to use all the variants/tags, see:

Technically, you can go 5 or 6+ layers deep... but in reality, most only handle levels 1+2.

- - - - - -

Quote:
Originally Posted by carmenchu View Post
Thanks! Language in metada was all right (English United States)--the issue was apparently with lang="eng" xml:lang="eng" in in the <html> tag--from original.
Yes, you can imagine it like an upside-down pyramid:
  • Language of entire book
    • In Sigil, Tools > Metadata Editor.
  • Language of each file (Optional)
    • <html>
  • Language of each tag (Optional)
    • <p>, <span>, <i>, [...]

The lower levels are going to take priority.

So you can have an:
  • English book
    • with a British article
      • with a Spanish paragraph
        • with a French sentence.
    • and an American article
  • en = EPUB Metadata
    • <html lang="en-GB">
      • <p lang="es">
        • <span lang="fr">
    • <html lang="en-US">

- - - - - -

Side Note: You can see some of that latest discussion in:

and many of my Greek topics over the years:

Marking your HTML lang + xml:lang is very helpful, especially when dealing with languages where you may need to use a different font.

Of course, most people will just say:
  • "This is an English book"
  • or "This an an English book + each chapter is English"

and be done with it.

But when you begin getting your book read by Text-to-Speech, or running it through Auto-Translate, tagging languages properly becomes very important.

Last edited by Tex2002ans; 06-28-2022 at 07:36 PM.
Tex2002ans is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PageEdit Spellcheck neilrh Sigil 23 07-25-2020 05:32 PM
Spellcheck JoséEduardo Calibre 2 11-22-2018 12:25 AM
Spellcheck in book view + selected text spellcheck unfairrobot Sigil 2 12-19-2016 04:50 PM
Spellcheck and some notes. brolny Sigil 0 11-24-2015 04:37 AM
SPELLCHECK NATION: Does SpellCheck have a dark side? cbaehr Self-Promotions by Authors and Publishers 10 11-07-2010 12:45 PM


All times are GMT -4. The time now is 09:40 PM.


MobileRead.com is a privately owned, operated and funded community.