Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2019, 06:41 PM   #1
thesn00ze
Member
thesn00ze began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2014
Device: Paperwhite
Book language English UK vs US - change setting

Hey guys,

I'm having trouble with a language setting of my books. The books are written/set to UK English, my Calibre is set to UK English but the Miscellanous files (metadata.opf + toc.ncx) in each ebook is set to English (I assume it means US). This results in incorrect word count reading as there are two different languages in the book.

The only fix I have found so far is to change the line <dc:language>eng</dc:language> to "eng-gb"

https://imgur.com/a/Wtdqine

Last edited by thesn00ze; 09-03-2019 at 06:46 PM.
thesn00ze is offline   Reply With Quote
Old 09-03-2019, 09:21 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can always change the language by hand, as you discovered. The calibre leanguage field does not support country specific language variants.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-03-2019, 09:58 PM   #3
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,075
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
I usually put this in content.opf and make sure that there are no other language specs in any of the files (F&R usually works well)

Code:
<dc:language>en-GB</dc:language>
Spell check seems to use the correct dictionary:

'Colour' is OK, 'Color' is flagged
phossler is offline   Reply With Quote
Old 09-04-2019, 12:06 AM   #4
thesn00ze
Member
thesn00ze began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2014
Device: Paperwhite
Damn, I was hoping there would be a setting for it so that I don't have to do it manually for every single book

Thanks for the replies
thesn00ze is offline   Reply With Quote
Old 09-04-2019, 10:11 AM   #5
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: 29,813
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I believe that should be en (ISO 639-1), not eng in all cases for our purposes.
theducks is offline   Reply With Quote
Advert
Reply

Tags
language metadata


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to change in-book Wikipedia's language? Ramo Kobo Reader 5 05-02-2018 03:31 AM
PRS-T1 How to change the language from Spanish to English JohnLogie13 Sony Reader 4 07-03-2017 10:00 PM
Can I change the language in a whole book using Calibre? Heathside Boy Library Management 3 04-17-2012 04:13 PM
Hello from a Finn with an English-language book set in Solomon Islands TulagiHotel-HH Introduce Yourself 7 05-21-2010 01:28 PM
Useful tip: How to change the BD language AFTER you create a book HarryT Workshop 4 04-15-2009 12:36 AM


All times are GMT -4. The time now is 09:41 AM.


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