Jump to content
Florian

Google translate workflow

Recommended Posts

Hello,

 

hm, can´t find it „No translation found!“ it says …

What´s wrong?? Or isn´t it german - english?

 

thx for reply

 

Nope, Google changed their API, the current workflow will not work anymore. The good news is: I’ve patched my workflow to use the new Google Translate URL syntax; the basic functionality, i.e. single term translations, is thus functional again. Being rather constrained for time, I will leave implementing a multi-sentence patch to the reader (PRs welcome, external interpreters need not apply). Grab the revised workflow at the repo.

 

It looks like Translate Shell (which used the same path) found a new way to use it. It should easily be adaptable. So this means that they didn't close it; they just changed it....

 

Thanks to Shawn Rice for the above link, and to GitHub user @g0to for bringing this to my attention

 

In the future, please follow their example and open an issue on the repo for problems to ensure I can react swiftly – I barely ever visit the Alfred forums, but I keep close tabs on my repositories and their issue trackers.

 

EDIT: just pushed a quick update that fixes handling of multi-word (not multi-sentence) translation queries, which I broke when refactoring for the new API. Apologies to everybody who suffered from that – please download the updated version.

Edited by kopischke

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