Notoriously Pedantic Magistrate

    alfred-polyglot

    1.4.0 • Public • Published

    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

    Install

    npm i alfred-polyglot

    DownloadsWeekly Downloads

    3

    Version

    1.4.0

    License

    MIT

    Unpacked Size

    1.25 MB

    Total Files

    121

    Last publish

    Collaborators

    • nikersify