🈚️ Translate text using Google Translate in Alfred 3
Clone or download
Latest commit eaaf68b Oct 20, 2018
Permalink
Failed to load latest commit information.
icons add esperanto flag Mar 18, 2018
lib prevent translating to and from the same language Apr 30, 2018
media init Feb 14, 2018
.editorconfig init Feb 14, 2018
.gitattributes init Feb 14, 2018
.gitignore init Feb 14, 2018
.npmrc init Feb 14, 2018
icon.png init Feb 14, 2018
index.js remove alfred notifier Mar 19, 2018
info.plist fix update notifier subtext not being shown Mar 19, 2018
license init Feb 14, 2018
package.json 1.2.1 Oct 20, 2018
readme.md update typo in readme Mar 29, 2018
update-config.js fix !set command not updating config (fixes #1) Mar 29, 2018

readme.md

alfred-polyglot npm

Translate text using Google Translate in Alfred 3

Preview gif

Alfred forum thread

Install

$ npm install --global alfred-polyglot

Requires Node.js 7.6+ and the Alfred Powerpack.

Setup

  1. Set the default language text will get translated to if to parameter is not specified.
trans !set default-language (language)
  1. Remove the default translate workflow. Navigate to

Alfred Preferences -> Features -> Web Search

...search for translate, and unset the tickbox under Enabled.

Usage

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.

Examples

1

2

3

4

License

MIT © nikersify