Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support translation direction #23

Open
sigito opened this issue Sep 19, 2020 · 6 comments
Open

Support translation direction #23

sigito opened this issue Sep 19, 2020 · 6 comments
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@sigito
Copy link
Owner

sigito commented Sep 19, 2020

Using source= query parameter a translation direction can be specified. E.g., source=english would look for translations from English.

Add an abilitiy to force the translation direction.

@sigito sigito added this to the Backlog milestone Sep 19, 2020
@sigito sigito modified the milestones: Backlog, 1.0.0 Sep 20, 2020
@sigito sigito added the enhancement New feature or request label Sep 20, 2020
@ww7
Copy link

ww7 commented Jan 28, 2021

Why translation direction still not supported?

@sigito
Copy link
Owner Author

sigito commented Jan 28, 2021

Hi @ww7, unfortunately I did not have much time to finish this. If time allows, I might do it this or next week.

@sigito sigito modified the milestones: 1.0.0, 0.6.0 Jan 28, 2021
@sigito
Copy link
Owner Author

sigito commented Jan 30, 2021

Hi @ww7, could you explain a use case you have in mind with the forced translation direction? Is it to only ever tranlate from one language to another? Or is it to be set per query?

@sigito sigito modified the milestones: 0.6.0, Backlog Feb 2, 2021
@sigito sigito added the question Further information is requested label Feb 6, 2021
@ww7
Copy link

ww7 commented Oct 5, 2022

@sigito for ability to have separate Script Filter for different translation directions, to translate from/to another language.

Some way to change source_language and destination_language variables with Script Filter.
(For Hotkey we can change variable with Arg and Vars)

You already asked:
https://www.alfredforum.com/topic/15755-set-an-environment-variable-for-script-filter/

@ww7
Copy link

ww7 commented Oct 5, 2022

It works with Keyword (press Enter) → Arg and VarsScript Filter

Issue can be closed.
Thank you for great Workflow!
Hope Linguee will add Ukrainian someday!

@sigito
Copy link
Owner Author

sigito commented Oct 16, 2022

@ww7, cool, thanks for confirming there is a solution. Though, this bug was more about forcing the translation direction. Currently, the workflow would attempt to translation from both languages that it is configured with. E.g., for an English-German pair, searching for "Bus" would give results for both en→de and de→en. And when a direction is force, the translation should only happen from the source language (or destination if the feature would support that).

Hope Linguee will add Ukrainian someday!

They have recently added Ukrainian to DeepL, so there is a pretty high chance of having it on Linguee too 🤞 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants