Translate text using Google Translate in Alfred
$ npm install --global alfred-polyglot
Requires Node.js 7.6+ and the Alfred Powerpack.
- Set the default language text will get translated to if
to
parameter is not specified.
trans !set default-language (language)
- Remove the default translate workflow. Navigate to
Alfred Preferences -> Features -> Web Search
...search for translate
, and unset the tickbox under Enabled
.
trans (text) [from (language)] [to (language)]
The output will be translated text
. Both from
and to
parameters are optional, and can be used anywhere in input.
MIT © nikersify