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 comment
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 comment
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 comment

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 comment
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 comment

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...