Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2024, 07:04 AM   #1
dandman
Enthusiast
dandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watch
 
Posts: 29
Karma: 10545
Join Date: May 2024
Device: none
possible bug: translated 'Unknown' after changing UI language

i have books that the author is marked as 'Unknown' (but in hebrew),
Caliber passes to the metadata plugin the author as None (which is correct)

but when i change my UI language back to english, thet actual translated word is passed as the author name (and not the None value)

is it a bug ?
is it a known bug ?
does it have a planned fix version ?

thanks
dandman is offline   Reply With Quote
Old 05-20-2024, 10:10 AM   #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: 44,655
Karma: 24966646
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Nope its working as intended. Author names are just strings, they are not typed. Unknown is just another string. If you change languages, all author entries in the database dont get re-written.
kovidgoyal is online now   Reply With Quote
Old 05-20-2024, 11:03 AM   #3
dandman
Enthusiast
dandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watchdandman is clearly one to watch
 
Posts: 29
Karma: 10545
Join Date: May 2024
Device: none
didn't think they are rewritten, just thought there is a special treatment for unknown, not sure then why it is received as None in the identify method,

anyways, thanks for the answer - i will add code for this special case in the plugin
10x
dandman is offline   Reply With Quote
Old 05-20-2024, 11:06 AM   #4
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: 44,655
Karma: 24966646
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
it is None when it matches the current ui language. the matching is not done against every possible language.
kovidgoyal is online now   Reply With Quote
Reply

Tags
author name, bug, metadata, plugin


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown language dunhill Calibre 2 10-22-2023 12:37 AM
Original language / translated from fxp33 ePub 6 09-03-2014 11:01 PM
Translated from: which metadata for the original language of a translated book? fxp33 ePub 5 08-12-2014 03:05 PM
A good way to deal with translated books (multiple language versions)? Joanna Library Management 3 07-02-2012 07:03 PM
Is Calibre's user guide translated to any other language? Logseman Calibre 1 10-10-2010 01:32 PM


All times are GMT -4. The time now is 02:00 PM.


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