For DeepL now you can also use Translate Shell
. The author has added support for DeepL just a couple of days ago.
You can easily install Translate Shell via Homebrew
Translate Shell has the advantage that it works with all major engines (Google, Bing, DeepL, Yandex and some more).
Here is a quick-and-dirty LB Action:
It takes a string from an Instant Send selection, or you can type in the string in LB. As usual.
Open the "default.scpt" to change the target language and/or the engine in the first two lines. You can’t miss it.
Note that currently Translate Shell has an encoding bug with DeepL on the Mac. The author said he has fixed it
but apparently it is not yet in the Homebrew build (0.9.6.6). The script in the LB action contains a workaround for that, so it should work fine.
In case you are also using Keyboard Maestro, you find my macro here
. It has a couple of features more than the LB Action (at the moment).