-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Request for inclusion of the LibreTranslate engine #351
Comments
Thank you for your suggestion. You can leverage the Custom Engine feature to use this translation service instantly. Here is the custom engine recipe you can refer to. I'd like to know if this fulfills your needs. |
calibre, version 7.18.0 (linux, embedded-python: True) [English > Spanish] Traduciendo "150 Survival Secrets" James C. Jones calibre (7.18.0) [http://calibre-ebook.com] As the world gets more dangerous, you have to be prepared for anything, even the worst. In 150 Survival Secrets</i... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 34 What is the most important rule of survival?35 What must a survivalist do to manage any survival challenge? 36 Is it important for a survivalist to be capable of administering effective first ai... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 61 How can I survive outdoors in the winter?62 How can I make a survival kit out of common items in an emergency? 63 How can a survivalist avoid being overwhelmed by the challenges of a serious eme... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 82 What items should I carry in an outdoor survival kit?83 How important is it to have survival items immediately at hand when an emergency develops? 84 Why is having bleach on hand important in su... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 131 What can I do to prevent or survive a carjacking?132 What can a survivalist do to prepare for a utility outage? 133 What can a survivalist do to avoid being the victim of street crime? 134 Wha... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 10 What items should go into a full survival pack?11 Is breaking into homes and looting justifiable under survival conditions? 12 Should a survivalist keep his or her survival and preparedness inte... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 108 What kind of pack should I use for my evacuation and survival packs?109 What should a survivalist do if lost or stranded in the outdoors? 110 How can I signal for help if lost, stranded, or inj... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: Skyhorse Publishing books may be purchased in bulk at special discounts for sales promotion, corporate gifts, fund-raising, or educational purposes. Special editions can also be created to specificati... ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 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.custom", line 120, in translate return self.get_result( ^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.base", line 210, in get_result raise Exception( Exception: No se pudo analizar la respuesta devuelta. Datos sin procesar:Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 150 Survival SecretsJames C. Jones calibre (7.18.0) [http://calibre-ebook.com] As the world gets more dangerous, you have to be prepared for anything, even the worst. In 150 Survival Secrets</i... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Original: 34 What is the most important rule of survival?35 What must a survivalist do to manage any survival challenge? 36 Is it important for a survivalist to be capable of administering effective first ai... Traceback (most recent call last): <!doctype html> <title>405 Method Not Allowed</title>Method Not AllowedThe method is not allowed for the requested URL. ══════════════════════════════════════ Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 47, in File "site.py", line 43, in main File "calibre/utils/ipc/worker.py", line 215, in main File "calibre/utils/ipc/worker.py", line 150, in arbitrary_n File "calibre_plugins.ebook_translator.lib.conversion", line 242, in convert_item File "calibre_plugins.ebook_translator.lib.conversion", line 86, in convert_book File "calibre/ebooks/conversion/plumber.py", line 1307, in run File "calibre_plugins.ebook_translator.lib.conversion", line 73, in convert File "calibre_plugins.ebook_translator.lib.translation", line 256, in handle Exception: Translation failed. |
Could you post the recipe you are using? |
yes
|
working ... in archlinux , make env , and install pip need execute in env this aplication
and is error , in tourch (not cuda) agregate in
staying the line (85)
|
I bought API access for LibreTranslate hoping to get it to work with this plugin. I've used the engine code above:
but modified with the api_key and I keep getting:
|
Problem Description:
I often feel frustrated when I don't have access to an efficient translation tool that is free of restrictions. Many times, the available options do not meet my needs or are limited in functionality.
Desired Solution Description:
I would like to request the inclusion of the LibreTranslate engine, as it offers a robust and accessible translation solution, allowing users to access quality translations at no cost. Implementing this engine could significantly improve user experience and expand the application's functionalities.
Alternatives Considered:
I considered other translation solutions available in the market, but many of them have limitations regarding freedom of use and accessibility. LibreTranslate stands out as an open-source alternative with no usage restrictions, making it a more viable option.
Reference Links:
Thank you for your attention, and I am available to discuss this request further.
The text was updated successfully, but these errors were encountered: