![]() |
#1 |
Memento Mori
![]() Posts: 36
Karma: 10
Join Date: Apr 2007
Device: eClicto, iPad WiFi, Kindle 3 WiFi
|
Default book language to be saved in content.opf?
Is there a way to setup calibre so it puts a selected default language in the content.opf file of ePUB?
Currently it's always: Code:
<dc:language>UND</dc:language> ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,895
Karma: 26594726
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Are there devices that support hyhenation? While there isn't currently an option to set language in the GUI, you can set it via the command line tool ebook-convert (the --language) option.
The GUI option is waiting for general support for a language field in the database. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Memento Mori
![]() Posts: 36
Karma: 10
Join Date: Apr 2007
Device: eClicto, iPad WiFi, Kindle 3 WiFi
|
Yup, at least my eClicto (rebranded Netronix EB600) supports it.
Here's a test (file 1 generated with calibre 0.6.37, second one is first one verbatim copy, except the dc:language in content.opf manually changed): With Code:
<dc:language>UND</dc:language> ![]() With Code:
<dc:language>pl-PL</dc:language> ![]() Having all the GUI options for that (setting the default language of book, changing each book's language, etc.) would be awesome. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,895
Karma: 26594726
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's on the TODO, ony so many hours in the day
![]() |
![]() |
![]() |
![]() |
#5 |
Memento Mori
![]() Posts: 36
Karma: 10
Join Date: Apr 2007
Device: eClicto, iPad WiFi, Kindle 3 WiFi
|
That's understoodable. And a great news! Thank you very much for all your work on calibre, Kovid!
Last edited by moriakaice; 06-13-2010 at 04:51 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Hi,
I discovered, that Calibre uses the GUI language to set the default language of a converted book. Normally I read german books, but sometimes I also read english books. (OK, not so often, like you can see at my grammatics ![]() ![]() If I want to convert an english book, I always have to set the GUI language to english and restart Calibre, to keep the default book language. After the conversion, I have to set the language and restart again. Is there a shorter way without restart? Maybe in the future? Bratzzo |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,895
Karma: 26594726
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Support for per book language settings is on the TODO list.
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Hi,
That sounds great! Thank you! Bratzzo |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 08:49 PM |
HTML to Mobi conversions (DocBook XSL, and content.opf?) | AndrewLB | Calibre | 3 | 09-04-2010 10:02 PM |
cleaning the content.opf file | Adjust | ePub | 6 | 09-01-2010 06:54 PM |
Metadata to specify default language is English? | kjk | ePub | 4 | 06-22-2010 05:05 PM |
Regarding the 'default' language | PinkTissue | HanLin eBook | 0 | 12-27-2009 01:36 PM |