npm install -g alfred-google-translate.
Alfred workflow Keyword:
tr [word or sentence]
tr kitchen sink or
tr Hello, my name is Alfred
When translating a word you will see the translation as well as alternate translations if available.
With the first two results (which are the input word and the translation) you can…
The workflow will attempt to correct spelling mistakes which can be accepted with enter.
|domain||https://translate.google.com||if you cannot access the default domain, you can config this.
remote: fetch voice from google,
local: use macOS local voice (notice: maybe only works on English),
none: dont use voice
|save_count||20||limit the translation history, see alfred-translate-history.
a value of 0 will keep no history
|socks_proxy||-||not turned by default. you can specify local or remote socks proxy. format:
If you download the workflow, you may have to manually set the hotkey yourself.
press enter to read or cmd+C to copy
press shift to open the translation website
press cmd+L to show the translation in large text like this.