Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2022, 05:27 AM   #1
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Which of the ISO 639 standards does Calibre use?

The calibredb help page says the Calibre uses ISO 639 for language code and then gives the examples of en for English, fr for French.

The metadata database contains 3 character strings, eng for English for example, for the languages which implies Calibre is using ISO 639-2

Does Calibre use ISO 639-2?

or have I done something wrong again.
glenm is offline   Reply With Quote
Old 02-12-2022, 03:10 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Last time I looked, I think calibre was using ISO 639-3.
DNSB is offline   Reply With Quote
Advert
Old 02-12-2022, 10:20 PM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
It also depends on where you are looking. In the database it is using the three character strings. But, when the language is put into the OPF of an ePub, the format needed there is used. For English, that will be "en" as calibre does not distinguish between the likes of "en-UK" and "en-US".

And in case you haven't guessed, I don't know what standard is being used. My language needs are usually simple. If I need to know something else, I always look it up at the time.

But the question that comes to mind is: What are you doing that it is important?
davidfor is offline   Reply With Quote
Old 02-12-2022, 10:23 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by davidfor View Post
But the question that comes to mind is: What are you doing that it is important?
If it wasn't for the last line, I would have suspected it was merely asked out of curiosity
ownedbycats is online now   Reply With Quote
Old 02-12-2022, 11:27 PM   #5
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
ISO 639-3 and ISO 639-2 each is used where appropriate.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-13-2022, 05:00 AM   #6
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Quote:
Originally Posted by davidfor View Post
But the question that comes to mind is: What are you doing that it is important?
Nothing important.

I'm trying to work out a way I can automate setting the metadata in an ebook file from the Calibre using a program to generate ebook-meta commands.
glenm is offline   Reply With Quote
Old 02-13-2022, 05:02 AM   #7
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Quote:
Originally Posted by ownedbycats View Post
If it wasn't for the last line, I would have suspected it was merely asked out of curiosity
Well it is curiosity, but last time I randomly deleted books files from the library
glenm is offline   Reply With Quote
Old 02-13-2022, 05:07 AM   #8
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Quote:
Originally Posted by kovidgoyal View Post
ISO 639-3 and ISO 639-2 each is used where appropriate.
From a quick investigation is ISO 639-3 used in the metadata languages table (as this is where my interest lies)?
glenm is offline   Reply With Quote
Old 02-13-2022, 09:54 AM   #9
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
iso-639-3 is always used internally.
kovidgoyal is offline   Reply With Quote
Old 02-14-2022, 05:58 AM   #10
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Quote:
Originally Posted by kovidgoyal View Post
iso-639-3 is always used internally.
glenm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oddball writing systems & Non-ISO 639-2 Languages Fiat_Lux Library Management 0 10-31-2014 01:35 PM
Is there a way to open ISO file using right click in calibre? mashebro Calibre 7 03-01-2014 06:39 AM
Formatting Standards(Calibre) centuryx476 Calibre 3 05-12-2013 11:06 AM
NJ joining the fray! (Standards? What standards?) outtoplay Introduce Yourself 5 07-18-2011 11:04 AM


All times are GMT -4. The time now is 06:11 PM.


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