Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-21-2010, 01:46 PM   #1
Vizzy
Junior Member
Vizzy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2010
Location: Chicago
Device: Apple iPad, Kindle Touch 3G
eBook language setting.

Hi everyone.

I'm sorry if a similar question has already been asked, but I couldn't find a corresponding topic.

I have a slight confusion with Calibre regarding the 'language' field in eBook metadata. Specifically, I noticed that when I convert the books that I imported into calibre to read on my iPad, calibre overwrites the language field in ebook metadata to 'en'. Now this is no problem if I want to read books in English, but it leads to a difficulty when I try to read books in other languages, particularly Russian. The problem is that I have a Russian dictionary on my iPad, but it is only activated when a book's metadata specifies that it is actually a Russian book ('ru'). Otherwise the iPad thinks that that book is in English and activates the standard Oxford English Dictionary, which of course is of no help in finding definitions to Russian words. However, when I manually set the language to 'ru' through command line, everything is fine, and the Russian dictionary is activated.

It is definitely not iTunes messing with metadata, as other Russian books which were already in epub and thus did not go through calibre are fine.

I don't mind setting the language for my books manually as long as it is in GUI. If it's command-line-only, however, it would be a nuisance.

So is there a way either to prevent calibre from overwriting a book's language metadata or to set the language during conversion?

Thanks.
Vizzy is offline   Reply With Quote
Old 09-17-2010, 09:39 PM   #2
ichbindasauge
Connoisseur
ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.
 
Posts: 89
Karma: 203522
Join Date: Oct 2009
Device: Kindle 2 US, iPad, Samsung Win 8 Tablet
Yes, that's something missing from the GUI: the language setting. Would be great to have that!
ichbindasauge is offline   Reply With Quote
Advert
Old 09-18-2010, 02:44 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Vizzy View Post
I have a slight confusion with Calibre regarding the 'language' field in eBook metadata. Specifically, I noticed that when I convert the books that I imported into calibre to read on my iPad, calibre overwrites the language field in ebook metadata to 'en'.

...~~~...

I don't mind setting the language for my books manually as long as it is in GUI. If it's command-line-only, however, it would be a nuisance.

So is there a way either to prevent calibre from overwriting a book's language metadata or to set the language during conversion?
Currently there isn't a way to prevent calibre setting the language in the book to the same as you are running in calibre.

When the iPad was introduced many folks requested the language metadata be inserted for the reason you stated. As a quick fix I believe calibre was set to insert the language metadata for the language you have calibre setup to use.

Kovid says choosing the language is on the todo list.
DoctorOhh is offline   Reply With Quote
Old 11-01-2010, 01:17 AM   #4
ichbindasauge
Connoisseur
ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.ichbindasauge ought to be getting tired of karma fortunes by now.
 
Posts: 89
Karma: 203522
Join Date: Oct 2009
Device: Kindle 2 US, iPad, Samsung Win 8 Tablet
Any chance the language setting will be available soon in the GUI?
ichbindasauge is offline   Reply With Quote
Old 11-01-2010, 06:56 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ichbindasauge View Post
Any chance the language setting will be available soon in the GUI?
There is a way to control the language written to a file during send/save operations. Use metadata plugboards.

The steps are:
1. Create a custom text (single value) column. Call it #language.
2. Create a plugboard for the device & format (preferences -> metadata plugboards)
3. Add a line with the source template = {#language:ifempty(en)}, destination = language.

After this change, when a book is sent, its language will be set to the value in the column. If there is no value, then it will be set to en. Set that default to whatever you want.
chaley is offline   Reply With Quote
Advert
Old 11-01-2010, 01:03 PM   #6
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,838
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by ichbindasauge View Post
Any chance the language setting will be available soon in the GUI?
As always, you want to make it happen sooner rather than later, role up your sleeves and contribute the code. If you cannot do that, then wait, hopefully patiently
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ebook language course giovi2k General Discussions 0 08-05-2010 04:52 AM
Thanks! Language setting is working sjohnson717 Calibre 1 06-26-2010 11:00 AM
Any language courses in ebook form ? Joebill Reading Recommendations 3 03-11-2010 06:16 PM
university librarian setting up an ebook reader lending program orionpozo Introduce Yourself 21 05-29-2008 08:30 AM


All times are GMT -4. The time now is 10:47 AM.


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