-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[Run][New Plugin] Translation plugin #9095
Comments
It would be so nice to have a plugin for this, but no one seems to care about it :'( |
removing in progress tag |
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();
})(); |
Maybe you can take a look at this plugin. Note that this plugin requires networking. |
Awesome! |
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'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 🤷♂️). |
Request integrated translation function
for example:
/t one to CH
return:"一"
/t one to JP
return:"一つ"
The text was updated successfully, but these errors were encountered: