[Action Request] Translate via DeepL

Sharing and discussing custom actions for LaunchBar
Post Reply
Rank 1
Rank 1
Posts: 24
Joined: Sun Jan 22, 2012 12:20 pm

[Action Request] Translate via DeepL

Post by Bogusmonkey » Thu Dec 14, 2017 8:29 am

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: https://github.com/pinae/DeepL-Console-Translator

Thank you in advance!

Rank 1
Rank 1
Posts: 36
Joined: Wed Jan 11, 2017 4:51 am

Re: [Action Request] Translate via DeepL

Post by mot » Tue Dec 19, 2017 2:43 am

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 201 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

Post Reply