Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2023, 04:52 AM   #16
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
New version (v1.1.0) was released. Please check out for new/improved features and enhancement:
  1. Supported to customize translation text position and delete original content.
  2. Supported to exclude original content by keyword and regular expression.
  3. Added Baidu and Youdao translation engines.
  4. Changed to save translated ebooks as a new book in Calibre library.
  5. Supported to customize the color of translation text.
  6. Supported to customize ChatGPT prompt word.
  7. Ignored to translate phonetic symbols (e.g. Japanese).
  8. Added Spanish as supported interface language.
  9. Added diagnosis information to log.
  10. Added "lang" attribute at translation element.
  11. Fixed plugin icon disappearance when changing Calibre interface language.
  12. Improved the functionality to extract original text.
kindlefere is offline   Reply With Quote
Old 04-11-2023, 06:17 AM   #17
Zetmolm
Guru
Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.
 
Posts: 614
Karma: 2031728
Join Date: Jan 2010
Device: PocketBook Touch (622), PocketBook Touch Lux 2, Pocketbook Touch HD 3
@Kindlefere, thanks for the new version!

There is one issue that I have run into several times. Sometimes translation progress stops because the plugin "failed to retrieve data from translate engine API" (I'm using Google). Also all retries fail. I noticed that in all cases where this occurred the plugin was trying to fetch the translation for a long paragraph (>500words). I managed to work around the issue by editing the epub to break up these paragraphs in shorter ones. Translation then completed correctly. But it would be nice if there is something you can do about this issue.

I have also noticed that when I rerun a translation job after editing the epub only a part of what was already translated is picked up from the cache. E.g. 1000 units were translated in the first run before the process stopped because of a long paragraph, and after splitting the paragraph and restarting the translation, only 500 units are picked up from the cache. Is this something that can be improved?

And finally I have one enhancement request: can you add an option to set the default target language to something other than English?
Zetmolm is offline   Reply With Quote
Advert
Old 04-11-2023, 11:57 PM   #18
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
@Zetmolm

The issue of long paragraph is worth doing some work.

The "missing" cache is actually caused by a different translation order each time, and the future cache is not calculated during the current attempt. The cache itself should be working fine. We will try to make sure it shows as expected.

"Default target language" is a great suggestion to add in coming version.
kindlefere is offline   Reply With Quote
Old 04-19-2023, 12:15 PM   #19
retval
Enthusiast
retval began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2011
Device: none
Greetings and thank you very much for this plugin. would it be possible to choose the base translator so that the user can choose between deepl, bing or google translator among others? As an example in Zotero there is a plugin that allows to do this.
retval is offline   Reply With Quote
Old 04-20-2023, 12:37 AM   #20
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
@retval

By referring to "base translator", do you mean the default translator that is selected every time a translation is performed? If yes, this setting is available on the plugin UI.

To access it, please go to the Settings panel and find the 'Translation Engine' dropdown list, where you can select from multiple engines and save your preference. Please let me know if you have any further questions or issues.
kindlefere is offline   Reply With Quote
Advert
Old 04-22-2023, 03:49 PM   #21
retval
Enthusiast
retval began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2011
Device: none
Thanks for the quick response.
Yes, that's exactly what I meant. The possibility to choose the most suitable translator or even translate with ChatGPT.
I take this opportunity to ask when the add-on will be available in Calibre and not as an external installer. Is the version already stable?
Thank you very much for working on this wonderful plugin.
retval is offline   Reply With Quote
Old 04-23-2023, 03:14 PM   #22
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 426
Karma: 145424
Join Date: Dec 2017
Device: Kobo
Um, nice but it would be handy to add your plugin to the index so that it can appear in the Calibre plugin manager.
Also, currently, your plugin is not displayed as an attachment to your post (I suggest to reupload the ZIP).
un_pogaz is offline   Reply With Quote
Old 04-24-2023, 11:46 AM   #23
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
@retval

Yes, the current version of the plugin is stable. We would appreciate it if the plugin could be added to Calibre, but we don't have the authority to do so. We will try to make it happen so that more people can use it conveniently.
kindlefere is offline   Reply With Quote
Old 04-24-2023, 12:27 PM   #24
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
@un_pogaz

Thanks for the reminder. The attachment should display properly now.

We appreciate the inclusion of our plugin in the Index of plugins, but we don't have the authority to add it ourselves. We will do our best to ensure that it appears in Calibre as expected.
kindlefere is offline   Reply With Quote
Old 04-24-2023, 10:25 PM   #25
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 779
Karma: 340954
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
@kindlefere excellent work
dunhill is online now   Reply With Quote
Old 04-24-2023, 11:22 PM   #26
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,648
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kindlefere View Post
@retval

Yes, the current version of the plugin is stable. We would appreciate it if the plugin could be added to Calibre, but we don't have the authority to do so. We will try to make it happen so that more people can use it conveniently.
If you want your plugin added to calibre's list of plugins, follow th einstructions in the "Notes for plugin developers" section here: https://www.mobileread.com/forums/sh...d.php?t=118764
kovidgoyal is offline   Reply With Quote
Old 04-25-2023, 03:47 AM   #27
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
@kovidgoyal

Thanks for the instruction. I just sent you a private message with required information. Please let me know if you need any further information.
kindlefere is offline   Reply With Quote
Old 04-25-2023, 04:13 AM   #28
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,648
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
added, it will show up in calibre in a couple of hours assuming there were no issues indexing it.
kovidgoyal is offline   Reply With Quote
Old 04-29-2023, 01:58 AM   #29
kindlefere
Enthusiast
kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.kindlefere ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 220512
Join Date: Jul 2016
Device: PW2
New version was released.

v1.2.0:
  1. Added "custom translation engine" feature.
  2. Added testing feature for translation engines.
  3. Added usage information display for DeepL translation engine.

v1.3.0:
  1. Added "Merge to Translate (Beta)" feature.
  2. Supported to set preferred target language.
  3. Supported to use glossary file to define precise translation.
  4. Added public version of DeepL translation engine.
  5. Added server-sent events support for ChatGPT.
kindlefere is offline   Reply With Quote
Old 04-30-2023, 05:58 PM   #30
btltez
Junior Member
btltez began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2023
Device: kobo libra 2
I keep getting this error message: AttributeError: 'NoneType' object has no attribute 'tail'

trying to translate an epub book from italian to english in calibre
btltez is offline   Reply With Quote
Reply

Tags
calibre, translate


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 04:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 06:25 AM
ebook-convert.exe doesn't work with deDRM plugin, unlike GUI or calibredb.exe fireattack Conversion 8 09-26-2020 08:14 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 09:37 AM.


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