thomashempel / AlfredGoogleTranslateWorkflow

A workflow for Alfred that implements translation from any language to any other language that is supported by google
MIT License
401 stars 41 forks source link

Command to open browser window #22

Closed alexreg closed 8 years ago

alexreg commented 8 years ago

Referring to this screenshot:

screenshot

Would it be possible to get the command labelled Translate 'en>es hello' to do the following?

a) Only display Translate 'hello', or perhaps Translate 'hello' from EN to ES or even Translate 'hello' from English to Spanish b) Open the query with the correct languages pre-selected, and hello in the textbook. As a fallback, if there is no x>y or x<y parameter before the text, just leave the source language at 'Detect automatically' and the destination language as default.

Thanks for your great work!

thomashempel commented 8 years ago

Hi alexreg,

this is already possible. Type in your command and press [ALT]+[RETURN] -> Opens the request on the Google Translate Website. In your example that would be https://translate.google.com/#en/es/hello

Best wishes, Thomas

alexreg commented 8 years ago

Okay, I see. Maybe just change the text though, at least? So it says something like `Translate ‘hello’ from EN to ES’. Cheers.

On 18 Sep 2015, at 05:47, Thomas Hempel notifications@github.com wrote:

Hi alexreg,

this is already possible. Type in your command and press [ALT]+[RETURN] -> Opens the request on the Google Translate Website. In your example that would be https://translate.google.com/#en/es/hello https://translate.google.com/#en/es/hello Best wishes, Thomas

— Reply to this email directly or view it on GitHub https://github.com/thomashempel/AlfredGoogleTranslateWorkflow/issues/22#issuecomment-141343288.