microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.29k stars 6.33k forks source link

[Run][New Plugin] Translation plugin #9095

Open c1earlove7 opened 3 years ago

c1earlove7 commented 3 years ago

Request integrated translation function for example: /t one to CH
return:"一" /t one to JP return:"一つ"

sanhuesoft commented 3 years ago

It would be so nice to have a plugin for this, but no one seems to care about it :'(

crutkas commented 1 year ago

removing in progress tag

Jay-o-Way commented 1 year ago

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();
 })();
N0I0C0K commented 1 year ago

Maybe you can take a look at this plugin. Note that this plugin requires networking.

ACupofAir commented 1 year ago

Maybe you can take a look at this plugin. Note that this plugin requires networking.

Awesome!

dog6o commented 2 months ago

Maybe you can take a look at this plugin. Note that this plugin requires networking.

Why hasn't a plugin that is equal to or better than this plugin been implemented even though it has been more than 3 years since this request was posted? I would like an explanation from Powertoys owners why they are unable to contact @N0I0C0K and incorporate or implement the feature in Powertoys. Don't you think so too?

N0I0C0K commented 2 months ago

Maybe you can take a look at this plugin. Note that this plugin requires networking.

Why hasn't a plugin that is equal to or better than this plugin been implemented even though it has been more than 3 years since this request was posted? I would like an explanation from Powertoys owners why they are unable to contact @N0I0C0K and incorporate or implement the feature in Powertoys. Don't you think so too?

I'm so glad that you likes this plugin, but as the author of the plugin, I believe there are several issues that need to be addressed before integrating the plugin into the official plugins:

At the same time, I also believe that a plugin that requires an internet connection to provide services is not very universal. I also attempted to train a small local translation model, but the results were not very accurate (haha 🤷‍♂️).