Earlier this year I posted an Automator workflow that sent text to Google Translate. As I mentioned then, I work for a company with global offices and I have to make quick translations often. I used the workflow regularly. It rarely fails and has saved me a considerable amount of time. I can also translate text on my iOS devices but it requires more steps. I’m now running Apple Silicon Macs exclusively and macOS Monterrey includes the shortcuts app. It was relatively simple to build a translation shortcut that is cross platform.
The shortcut is fairly basic. It only uses built-in commands.
- Take selected text as input. Make it available in Share Sheet (iOS) and Quick Actions (macOS available in Services menu).
- Save the text to a variable.
- Use the built-in Microsoft translation function.
- Save the translated text to a variable.
- Save the translated text in the clipboard for later use if needed.
- Output the original text and the translated text.
I created a generic version that allows for a choice of translated language and a version for quick translation to English and German. These are my most frequently used languages.
Thanks to the cross platform support this is now also readily available on iOS in the share sheet which eliminates several steps and app changes.