Skip to content

patcher454/DeepLTranslatorPowerToys

Repository files navigation

DeepLTranslator PowerToys Plugin

This plugin allows you to use PowerToys Run for translations via the DeepL API. DeepL Plugin Introduce

How to Use

  1. Activate PowerToys Run: Press Alt + Space.

  2. Enter Translation Command: Type your translation request in the following format:

    @@{Target Language Code} {Sentences you want to translate}
    
    • Example for translating English to Korean:
      @@ko hello!
      
    • Example for translating Korean to English:
      @@en 안녕하세요!
      
  3. Paste the Translation Result: Press Enter to paste the result using Ctrl + V.

    Note: You can omit the @@ prefix if you enable the option to include results globally in the plugin settings.

Supported Languages and Codes

Code Language Code Language
ar Arabic it Italian
bg Bulgarian ja Japanese
cs Czech ko Korean
da Danish lt Lithuanian
de German lv Latvian
el Greek nb Norwegian Bokmål
en English nl Dutch
en_gb English (British) pl Polish
en_us English (American) pt Portuguese
es Spanish pt_br Portuguese (Brazilian)
et Estonian pt_pt Portuguese (all varieties except Brazilian)
fi Finnish ro Romanian
fr French ru Russian
hu Hungarian sk Slovak
id Indonesian sl Slovenian
sv Swedish tr Turkish
uk Ukrainian zh Chinese (simplified)

Creating a DeepL Account

  1. Sign Up for an Account: Visit DeepL API and Sign Up.
  2. Get Your API Key: Obtain your API key from your DeepL Account.

Installation Instructions

  1. Install PowerToys:

  2. Download and Extract the Plugin:

    • Download the plugin zip file from DeepLTranslator Plugin releases.
    • Extract the zip file to:
      C:\Program Files\PowerToys\RunPlugins
      
      OR
      C:\Users\{username}\AppData\Local\PowerToys\RunPlugins
      
  3. Restart PowerToys: Exit and restart PowerToys.

  4. Enter API Key:

    • In PowerToys settings, enter your API key in the format:
      DeepL-Auth-Key {API KEY}
      
      image

How to Build

  1. Locate the DLL Folder:
    Community.PowerToys.Run.Plugin.DeepLTranslator\DLL
    
  2. Replace the DLL File: Replace the DLL file in the folder with the one for your desired version (default build is x64; for ARM, use the ARM version).