Jump to content
Nikersify

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

Share this post


Link to post
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?

Share this post


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

Share this post


Link to post
3 minutes ago, Mohammad Alotaibi said:

 

 

yea.

 

Please run the following commands and paste the output here.

node -v
which node
ls -l /usr/local/bin/npm
echo $PATH

 

Share this post


Link to post

 

16 minutes ago, Mohammad Alotaibi said:

v8.9.4

 

lrwxr-xr-x  1 root  admin  38 Feb 22 07:00 /usr/local/bin/npm -> ../lib/node_modules/npm/bin/npm-cli.js

 

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

 

sudo /usr/local/bin/npm install -g alfred-polyglot

Share this post


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

Share this post


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

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...