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

Feature request: PowerToys run plugin to get word translations #18400

Closed
TROLlox78 opened this issue May 20, 2022 · 3 comments
Closed

Feature request: PowerToys run plugin to get word translations #18400

TROLlox78 opened this issue May 20, 2022 · 3 comments
Labels
Idea-Enhancement New feature or request on an existing product Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Run-Plugin Things that relate with PowerToys Run's plugin interface

Comments

@TROLlox78
Copy link

Description of the new feature / enhancement

I have never written nor seen what a request like this is supposed to look like. sorry in advance
I would like the ability to quickly see the translation of a word, say from german to English, by using PowerToys run. Example alt+space and type in 'frau' and PowerToys gives a result showing: 'translation from german: woman' You would be able to set the language you want the translations to to be looked up for.
I don't think this would be hard to integrate, there definitely has to be some dictionary website offering an API to use for this case. I don't know how does it work for programs like this one, a lot of apis require you to generate a key, maybe downloading some dictionary of the language you're interested in is a better option.

Scenario when this would be used?

This would be good for beginner to intermediate level speakers of a language they are learning. It would allow them to quickly check what a word means without breaking their flow of reading.

Example would be: You're reading something in a language you're studying, you don't know a word, you alt+space and type it into run and it gives you a translation or definition. 'Katze means Cat in english, a common pet animal'

There are probably extensions for web browsers that give quick word translations but using PowerToys would work universally across any program, not just in the browser.

Supporting information

No response

@TROLlox78 TROLlox78 added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label May 20, 2022
@Jay-o-Way
Copy link
Collaborator

There are probably extensions for web browsers that give quick word translations

Yes indeed. I found a small script on Wiktionary that can be saved as a bookmark. If there is text selected - and you click the bookmark - it immediately searches for the word(s). If no text selected yet, it opens a small pop-up window to type in.

javascript:(function()
 {function se(d) {
    return d.selection ?%20d.selection.createRange().text%20:%20d.getSelection()}%20s%20=%20se(document);%20for%20(i=0;%20i%3Cframes.length%20&&%20!s;%20i++)%20s%20=%20se(frames[i].document);%20if%20(!s%20||%20s==%27%27)%20s%20=%20prompt(%27Enter%20search%20terms%20for%20Wiktionary%27,%27%27);%20open(%27https://en.wiktionary.org%27%20+%20(s%20?%20%27/w/index.php?title=Special:Search&search=%27%20+%20encodeURIComponent(s)%20:%20%27%27)).focus();
 })();

@Jay-o-Way
Copy link
Collaborator

Hm, your issue is very elaborate, but also a duplicate of issue #9095. Somebody just created a pull request for the translation, and I'll link it (and this) to the other issue. Thanks for your input though.

@Jay-o-Way Jay-o-Way marked this as a duplicate of #9095 Jun 30, 2022
@Jay-o-Way Jay-o-Way added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Idea-New PowerToy Suggestion for a PowerToy Run-Plugin Things that relate with PowerToys Run's plugin interface Idea-Enhancement New feature or request on an existing product and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Idea-New PowerToy Suggestion for a PowerToy labels Jun 30, 2022
@ghost
Copy link

ghost commented Jul 1, 2022

This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes.

@ghost ghost closed this as completed Jul 1, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Run-Plugin Things that relate with PowerToys Run's plugin interface
Projects
None yet
Development

No branches or pull requests

2 participants