View Single Post
Old 08-25-2015, 04:38 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,082
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ColMac View Post
My PC is in the UK and naturally set up only for English UK.

I have a number of books that I have got from US sources, and if I check spelling using Edit Book, I get a lot of errors reported where a US spelling is used in the book, but the spell checker reports it as an English(GB) word. I would like to eliminate these reports and check some books using a US dictionary.


In the example I am looking at currently, there is no language defined in the book's (epub) metadata.

In Edit Book preferences, I have set English-US as the preferred Variant for the English language

In the Calibre Help file it says " .... Language information is taken from the books metadata and from lang attributes in the HTML files. ...."

I have searched "All text files for any lang codes, and the only one I can find is on the title page as follows.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">


I have also searched for a GB text string and got no hits.

So something is still forcing the spell-checker to identify these words as English (GB).

Can anyone point me in the direction of a possible solution please.
The metadata starts with the books (Language} in the Library (it normally comes from the book upon adding.

BTW, look in the content.opf

<dc:language>en-GB</dc:language>
theducks is offline   Reply With Quote