Jump to content

Polyglot - yet another Google Translate workflow


Recommended Posts

Hey,

 

I've made my own translation workflow, as the existing ones which I could find didn't quite suit my needs or lacked in some aspects.

 

Features:

  • "Natural language" input
  • Text auto correction, language auto correction
  • Easy setup
  • Configurable
  • 100% free

 

Preview:

1.png?raw=true

 

2.png?raw=true

 

3.png?raw=true

 

4.png?raw=true

 

preview.gif?raw=true

 

Dependencies:

node.js >=7.6

 

Installation:

Just run the following command in your terminal:

$ npm i -g alfred-polyglot

...or (not recommended) you can download it directly from the GitHub releases page if you don't want to use npm. Note that if you would like to use the npm way in the future you will have to uninstall the workflow completely first.

 

You can also go through the easy, but optional setup.

 

Have fun!

 

GitHub

 

Edited by Nikersify
add .alfredworkflow mention
Link to post
  • Replies 143
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hey,   I've made my own translation workflow, as the existing ones which I could find didn't quite suit my needs or lacked in some aspects.   Features: "Natural language" inp

Update v1.1.5   I've pushed a new version of the workflow to npm, you can upgrade by running $ npm install -g alfred-polyglot Notable changes since v1.1.3:   v1.1.5 - F

It's a JavaScript interpreter/platform. It does the same thing as Python and Ruby and Perl, just they are included with macOS.   In any case, this workflow won't run without Node…  

Posted Images

6 hours ago, Nutron said:

I Keep getting an error

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! alfred-polyglot@1.0.0 postinstall: `alfy-init`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the alfred-polyglot@1.0.0 postinstall script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

Can you send more log output? What's your node.js version?

Link to post
9 hours ago, Milly Bays said:

I get the same error, would love to have this workflow - it's exactly what I'm looking for. I'm using node.js 8.9.4.

 

Just tried installing it myself on 8.9.4 and works fine for me.

 

You can try prepending the command with sudo:

sudo npm install -g alfred-polyglot

...and if that doesn't work please do send the whole npm-debug.log file that gets generated. You can find the path to it in the output at the end of the failed installation, should look somewhat as the following:

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/nikersify/.npm/_logs/2018-02-22T11_45_12_806Z-debug.log

 

Edited by Nikersify
Link to post

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! alfred-polyglot@1.0.0 postinstall: `alfy-init`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the alfred-polyglot@1.0.0 postinstall script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/account/.npm/_logs/2018-02-22T13_37_52_418Z-debug.log

Link to post
1 minute ago, Mohammad Alotaibi said:

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! alfred-polyglot@1.0.0 postinstall: `alfy-init`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the alfred-polyglot@1.0.0 postinstall script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/account/.npm/_logs/2018-02-22T13_37_52_418Z-debug.log

 

cat /Users/account/.npm/_logs/2018-02-22T13_37_52_418Z-debug.log

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...