View Single Post
Old 09-06-2023, 04:18 PM   #82
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,039
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by kindlefere View Post
What source language and target language did you specify?

UPDATE: I've noticed an issue with language variants like EN-US and PT-BR that DeepL (Free) doesn't seem to recognize as well as DeepL's official API does. Here's a revised version for you to test and see if it can be resolved.
Yes, this is with auto -> pt-br. I've tried setting en -> pt-br or en -> pt-pt in that same test dialog, but i get the same http error 400. Thank you!

Spoiler:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.components.engin e", line 66, in translate_text
File "calibre_plugins.ebook_translator.engines.deep l", line 125, in translate
File "calibre_plugins.ebook_translator.engines.base ", line 181, in get_result
Exception: Can not parse returned response. Raw data:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base ", line 171, in get_result
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 400:
Comfy.n is offline   Reply With Quote