Skip to content

Translation for DeepL not working #4856

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

Closed
ilkeryuksek opened this issue Mar 19, 2025 · 3 comments
Closed

Translation for DeepL not working #4856

ilkeryuksek opened this issue Mar 19, 2025 · 3 comments

Comments

@ilkeryuksek
Copy link

ilkeryuksek commented Mar 19, 2025

I can not set the true value for deepL. It works fine for google translate but for deepL SPDF generates this:
https://www.deepl.com/tr/translator#-/tr/References

Correct form must like that:
https://www.deepl.com/tr/translator#en/tr/References

I need a correction urgently as soon as possible.

thank you.

SumatraPDF version

  • Version [e.g. 3.5.2, pre-release]
@GitHubRulesOK
Copy link
Collaborator

The methodology was changed at their servers since the addition in 2021
it is easy to add your own.
closing as duplicate of #4653

@ilkeryuksek ilkeryuksek changed the title Translation for DeepL now working Translation for DeepL not working Mar 19, 2025
@ilkeryuksek
Copy link
Author

ilkeryuksek commented Mar 19, 2025

it is now working for me, I am trying to add
SelectionHandlers [
[
URL = https://www.deepl.com/tr/translator#en/tr/${selection}
Name = &DeepL
Key = Ctrl + Shift + d
]
]

but shortcut is not working.
then I observed a change in settings.txt, that "Key = Ctrl + Shift + d" part was erased.
Every my try of add this part again, and again, but it has erased.

Why are you trying such alternatives instead of improving the first mistake I reported? even it doesn't work.

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Mar 19, 2025

Hmm unsure why it does NOT work for you as I copied your selection shortcut
SAVE in notepad, and press Ctrl+Shift+D gave me an expected result

Note I dont make any changes, as not the developer, only a user like you. but do help keep users informed.

SelectionHandlers [
	[
		URL = https://www.deepl.com/tr/translator#en/tr/$${selection}
		Name = &DeepL
		Key = Ctrl + Shift + d
	]
]

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants