PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Run][New Plugin] Translation plugin

Open c1earlove7 opened this issue 4 years ago • 4 comments

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

c1earlove7 avatar Jan 14 '21 03:01 c1earlove7

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

sanhuesoft avatar Jan 24 '21 13:01 sanhuesoft

removing in progress tag

crutkas avatar Aug 01 '22 18:08 crutkas

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 avatar Aug 06 '22 09:08 Jay-o-Way

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

N0I0C0K avatar Mar 04 '23 03:03 N0I0C0K

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

Awesome!

ACupofAir avatar May 09 '23 15:05 ACupofAir