++@dinkumoil: that’s a great solution, if you never use the “Search on Internet”, and only want one selected-text-to-website command.
@vincity-taymodaimo, If you want to be able to have more than one, you can add it (or them) to the Run menu by the following instructions:
[assumes a normal installation of Notepad++]:
Save all files and close all instances of Notepad++
Open one instance of Notepad++. Don’t open any other instances while executing the following steps, unless directed by these steps
Open %AppData%\Notepad++\shortcuts.xml
Go down to the <UserDefinedCommands> section; there should be entries like launch in Firefox or wikipedia search or similar
add a line similar to the following
<Command name="Translate DE to EN" Ctrl="no" Alt="no" Shift="no" Key="0">https://www.deepl.com/translator#de/en/$(CURRENT_WORD)</Command> you could add a keyboard shortcut here, if you know the KEYCODE for the given key; but I find it easier to follow the final step, below if you have other commands, do them similarlySave %AppData%\Notepad++\shortcuts.xml, close the file, then close Notepad++
Open Notepad++
The Run menu should contain Translate DE to EN. Highlight a German word in Notepad++; Run > Translate DE to EN. Your default browser should open a window or tab with the translation.
If you want to assign a keyboard shortcut,
go to Run > Modify shortcut/delete command (or Settings > Shortcut Mapper > Run Commands), select Translate DE to EN Modify Select your desired shortcut Ok Close