A plugin for PowerToys Run.
The plugin has been updated to use Youdao translation, which supports translation for all languages supported by Youdao translation.
-
The default trigger key is
|
.- Press
alt+space
to open PowerToys Run, and enter^[text to be translated]
. - Press
Enter
to copy the translation result to the clipboard.
- Press
-
Chinese with pinyin: Refer to the above demo for translating '命令'.
-
Quickly translate the clipboard:
-
Specify the target language of translation:
- Use
^[words]->[target language]
, for example,^你好->ja
means translate '你好' into Japanese. Common language codes:Language Code Note Chinese(Simplified) zh-CHS Simplified Chinese Chinese(Traditional) zh-CHT Traditional Chinese Japanese ja Japanese English en English Korean ko 한국어 French fr En français Russian ru русск
- Use
-
Search suggestions:
-
Read content:
-
History record:
- Typing
h
or having no translation target in the clipboard will display translation history. - Default 15 records.
- Why doesn't it support customizing the upper limit entry? Because the official only provides a bool type custom parameter, the current version does not support customizing the upper limit of translation history. I will update it when it is supported later. Or you can download the source code and modify it yourself.
- Typing
-
Second Language
- Close PowerToys.
- Download Translator.zip.
- Extract it to
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins
. As shown in the figure: - Start PowerToys.
Refer to official documents, Third-Party plugins for PowerToy Run
Installation-upgrade detailed tutorial
- If there is a trigger key conflict, modify the default trigger key (it is recommended to modify it to "`" and check for conflicts).
- It is recommended to check
Clear previous query at startup
, which can solve the problem that clipboard quick translation cannot be triggered. - It is recommended to check
Smooth input
, which can optimize the input experience. - Toggles the default target translation language, which defaults to 'auto'
If you find translation failure, unknown errors, or need new features, please submit an issue. I will fix or improve it in time.
- .NET SDK
- Fork this repository.
- Clone the forked repository to your local machine.
- Run
dotnet restore
(optional). - Open with Visual Studio Code (or any other IDE).
- Start coding!