Translate Selected Text to English on Right Click for FREE
TL;DR;
Need instant translation right in context menu? You can accomplish it for free with one line of code in Automator, or you can proceed to the free download.
Tutorial
- Open “Automator.app” , which is installed on you mac by default.
- Then you click File -> New or with keyboard shortcut ⌘N.
- Choose Quick Action as a type for your document.
- Now under Library -> Utilities double click or drag from left pane Run JavaScript.
- Now write promised one line of code as is below:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function run(input, parameters) { | |
var output = "http://translate.google.com/#auto/en/" + encodeURIComponent(input) | |
return output; | |
} |
- Next under Library -> Internet select or drag Website Popup. You can adjust size of the window to fit your needs. And that’s it. Below is picture of what you should have.
Download
If you struggle to do it yourself, or you are lazy you can download it easily here:
Supported Languages
The following languages are supported and automatically detected in Google Translate.[14]