Page 1 of 1

[Action Request] Translate via DeepL

Posted: Thu Dec 14, 2017 8:29 am
by Bogusmonkey
Hi all

Would be great to have someone using his PC-Kun-Fu skills to beat up a script to translate via DeepL.

What I found so far on the interwebs is a Python script on GitHub:

Thank you in advance!

Re: [Action Request] Translate via DeepL

Posted: Tue Dec 19, 2017 2:43 am
by mot

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:

Code: Select all

brew install translate-shell

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:
(7.28 KiB) Downloaded 196 times

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 ( 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).

– Tom