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, 06:04 AM   #1
dandman
Enthusiast
dandman began at the beginning.
 
Posts: 29
Karma: 10
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, 09: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: 43,996
Karma: 22669822
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 offline   Reply With Quote
Old 05-20-2024, 10:03 AM   #3
dandman
Enthusiast
dandman began at the beginning.
 
Posts: 29
Karma: 10
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, 10: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: 43,996
Karma: 22669822
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 offline   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-21-2023 11:37 PM
Original language / translated from fxp33 ePub 6 09-03-2014 10:01 PM
Translated from: which metadata for the original language of a translated book? fxp33 ePub 5 08-12-2014 02:05 PM
A good way to deal with translated books (multiple language versions)? Joanna Library Management 3 07-02-2012 06:03 PM
Is Calibre's user guide translated to any other language? Logseman Calibre 1 10-10-2010 12:32 PM


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


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