pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
505 stars 24 forks source link

Translating with deepl in selection menu #137

Open n3w6i3 opened 1 year ago

n3w6i3 commented 1 year ago

Hello, I am new to the NickelMenu, but I was wondering whether someone could help me. On the forums i found this line for the configuration file in order to use google translate:

menu_item :selection :Google Translate :nickel_browser :modal:https://translate.google.com/?sl=ja&tl=en&text={1|S|%}&op=translate

But I can not make it work - it opens the pop up with google translate, prompts me to accept the terms and conditions but after that I can not choose a desired language (but it copies the text into the translator). But since I found that someone was using deepl translator which I prefer over google translate (https://www.deepl.com/translator), I was wondering wether it would be possible to use deepl instead since I can not make the solution from the forum work in the first place. If it would be possible I would like to choose language when the pop-up window opens, otherwise I would like to have language detection set to automatic and translation to English as I would like to learn a new language. Thank you for your help.