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 05-16-2024, 08:18 AM   #106
merdroide
Junior Member
merdroide began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2024
Device: Kindle Paperwhite
You're a genius! I love it so much, this extension. I'm learning English and German and this helps me a lot. Thanks!
merdroide is offline   Reply With Quote
Old 06-28-2024, 07:30 PM   #107
scibra
Junior Member
scibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beauty
 
Posts: 2
Karma: 32206
Join Date: Jun 2024
Device: Kobo Clara HD
Smile Please update the plugin

Google has updated Google Translate and added over 100 new languages. I would like to ask the developers of this wonderful plugin to update it to support the new Google Translate languages. I am a Brazilian Portuguese speaker.

https://blog.google/products/transla...anguages-2024/

scibra is offline   Reply With Quote
Advert
Old 06-28-2024, 08:24 PM   #108
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,351
Karma: 6874872
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by scibra View Post
Google has updated Google Translate and added over 100 new languages. I would like to ask the developers of this wonderful plugin to update it to support the new Google Translate languages. I am a Brazilian Portuguese speaker.

https://blog.google/products/transla...anguages-2024/

Hey mate, thanks for the update! I should note that I *think* that the Cloud API still doesn't support portuguese language variations:

Click image for larger version

Name:	MWSnap 2024-06-28, 20_00_55.png
Views:	121
Size:	50.8 KB
ID:	209257

Never understood why, given that other products like Google Translate do provide portuguese variations.
Maybe that will change now, as we may gather from this answer linked in the blog post you mentioned:

Code:
Over the next few days, you will see new languages available on translate.google.com and the Google Translate Apps.

The new languages are: [...] - Portuguese (Portugal)
Comfy.n is offline   Reply With Quote
Old 07-07-2024, 05:09 PM   #109
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: 780
Karma: 340954
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
I leave the mo and po files completing the Spanish translation of the plugin.
Attached Files
File Type: zip Spanish.zip (14.6 KB, 65 views)
dunhill is offline   Reply With Quote
Old 08-01-2024, 02:16 AM   #110
mimicxz
Member
mimicxz began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
Can't fixed spell error?

I use FFF download the book in EPUB format. And I fixed some spell errors in the file.

But when I sent epub to translate. The plugin use old(spell errors) version. Not my fixed Version.
Is it possible let plugin used the fixed epub?

Best Regards,
mimicxz is offline   Reply With Quote
Advert
Old 10-15-2024, 02:01 PM   #111
Kafka-64
Junior Member
Kafka-64 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite
══════════════════════════════════════
Row: 14
Original: On sait que bien avant d'aller ce jour-là (le jour où avait lieu la soirée de la princesse de Guermantes) rendre au duc et à la duchesse la visite que je viens de raconter, j'avais épié leur retour et...
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Status: Failed 1 times / Sleeping for 5 seconds
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Error: Traceback (most recent call last):
File "calibre_plugins.ebook_translator.lib.translation" , line 136, in _translate_text
translation = self.translator.translate(text)
File "calibre_plugins.ebook_translator.engines.deep l", line 133, in translate
return self.get_result(
File "calibre_plugins.ebook_translator.engines.base ", line 210, in get_result
raise Exception(
Exception: Can not parse returned response. Raw data:

Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base ", line 197, in get_result
br.open(request)
File "mechanize/_mechanize.py", line 257, in open
File "mechanize/_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals >.httperror_seek_wrapper: HTTP Error 429:

{"jsonrpc":"2.0","error":{"code":1042912,"message" :"Too many requests"}}
══════════════════════════════════════
Row: 14
Original: On sait que bien avant d'aller ce jour-là (le jour où avait lieu la soirée de la princesse de Guermantes) rendre au duc et à la duchesse la visite que je viens de raconter, j'avais épié leur retour et...
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Status: Failed 2 times / Sleeping for 10 seconds
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Error: Traceback (most recent call last):
File "calibre_plugins.ebook_translator.lib.translation" , line 136, in _translate_text
translation = self.translator.translate(text)
File "calibre_plugins.ebook_translator.engines.deep l", line 133, in translate
return self.get_result(
File "calibre_plugins.ebook_translator.engines.base ", line 210, in get_result
raise Exception(
Exception: Can not parse returned response. Raw data:

Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base ", line 197, in get_result
br.open(request)
File "mechanize/_mechanize.py", line 257, in open
File "mechanize/_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals >.httperror_seek_wrapper: HTTP Error 429:

{"jsonrpc":"2.0","error":{"code":1042912,"message" :"Too many requests"}}
══════════════════════════════════════
Row: 14
Original: On sait que bien avant d'aller ce jour-là (le jour où avait lieu la soirée de la princesse de Guermantes) rendre au duc et à la duchesse la visite que je viens de raconter, j'avais épié leur retour et...
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Status: Failed 3 times / Sleeping for 15 seconds
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Error: Traceback (most recent call last):
File "calibre_plugins.ebook_translator.lib.translation" , line 136, in _translate_text
translation = self.translator.translate(text)
File "calibre_plugins.ebook_translator.engines.deep l", line 133, in translate
return self.get_result(
File "calibre_plugins.ebook_translator.engines.base ", line 210, in get_result
raise Exception(
Exception: Can not parse returned response. Raw data:

Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base ", line 197, in get_result
br.open(request)
File "mechanize/_mechanize.py", line 257, in open
File "mechanize/_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals >.httperror_seek_wrapper: HTTP Error 429:

{"jsonrpc":"2.0","error":{"code":1042912,"message" :"Too many requests"}}
Kafka-64 is offline   Reply With Quote
Old 10-15-2024, 06:38 PM   #112
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,895
Karma: 76440364
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
See the error message:
Quote:
{"jsonrpc":"2.0","error":{"code":1042912,"messa ge" :"Too many requests"}}
.

You're doing too many requests to whatever translation engine is being called.
PeterT is offline   Reply With Quote
Old 11-04-2024, 04:26 AM   #113
Grins
Connoisseur
Grins began at the beginning.
 
Posts: 53
Karma: 10
Join Date: May 2009
Location: Germany
Device: Kobo(s), Pocketbook(s), MacBook Pro, iPhone
Very good idea and well implemented!

Thank you very much! The plugin just works fine!
Grins is offline   Reply With Quote
Old 11-22-2024, 03:56 AM   #114
Niki22
Junior Member
Niki22 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2024
Device: Moon Reader
Hi, Thank you for developing such a useful plugin! However, I’ve encountered an issue with Ebook Translator when translating my books. After the translation process, the original CSS classes and styles in the book are altered. For example, custom <span> tags with class names are either replaced or overwritten with inline styles. This causes the book's formatting, such as italics or specific designs, to break.

Is it possible to add an option to preserve the original HTML structure and CSS classes during the translation process? It would be helpful if the plugin could translate only the text without modifying any of the existing tags, classes, or inline styles.

Looking forward to your reply and thank you in advance for your time!
Niki22 is offline   Reply With Quote
Old 12-11-2024, 12:20 AM   #115
scibra
Junior Member
scibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beautyscibra does all things with Zen-like beauty
 
Posts: 2
Karma: 32206
Join Date: Jun 2024
Device: Kobo Clara HD
Quote:
Originally Posted by Comfy.n View Post
Hey mate, thanks for the update! I should note that I *think* that the Cloud API still doesn't support portuguese language variations:

Attachment 209257

Never understood why, given that other products like Google Translate do provide portuguese variations.
Maybe that will change now, as we may gather from this answer linked in the blog post you mentioned:

Code:
Over the next few days, you will see new languages available on translate.google.com and the Google Translate Apps.

The new languages are: [...] - Portuguese (Portugal)
Please update the plugin, Google added new languages ​​to the Cloud API, and now supports both variations of the Portuguese language (Portugal and Brazil). Thank you very much!
scibra is offline   Reply With Quote
Old 12-11-2024, 12:25 AM   #116
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,351
Karma: 6874872
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by scibra View Post
Please update the plugin, Google added new languages ​​to the Cloud API, and now supports both variations of the Portuguese language (Portugal and Brazil). Thank you very much!
Good to know, thx!
Comfy.n is offline   Reply With Quote
Old 12-21-2024, 08:54 AM   #117
levante
Connoisseur
levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.levante seizes *every* day. In the original latin.
 
Posts: 53
Karma: 92908
Join Date: Jan 2013
Device: kindle NT, PW1, PW2, Kobo H2O
Thanks a lot for this plugin. There are so many books that will never be translated.
Please, if possible, consider adding an engine for ollama so that it can work without internet.

Thanks again
levante is offline   Reply With Quote
Old 12-21-2024, 07:08 PM   #118
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,351
Karma: 6874872
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by scibra View Post
Please update the plugin, Google added new languages ​​to the Cloud API, and now supports both variations of the Portuguese language (Portugal and Brazil). Thank you very much!
@scibra, heads up: https://translator.bookfere.com/

on stable version:

Click image for larger version

Name:	MWSnap 2024-12-21, 20_01_37.png
Views:	9
Size:	20.2 KB
ID:	212594

rolling release:

Click image for larger version

Name:	MWSnap 2024-12-21, 20_02_39.png
Views:	12
Size:	25.1 KB
ID:	212595

The rolling release already includes the variations!
Comfy.n 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 02:10 AM.


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