09-03-2019, 06:41 PM | #1 |
Member
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. |
09-03-2019, 09:21 PM | #2 |
creator of calibre
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.
|
Advert | |
|
09-03-2019, 09:58 PM | #3 |
Wizard
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> 'Colour' is OK, 'Color' is flagged |
09-04-2019, 12:06 AM | #4 |
Member
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 |
09-04-2019, 10:11 AM | #5 |
Well trained by Cats
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.
|
Advert | |
|
Tags |
language metadata |
|
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 |