Home

Awesome

TranslationPlugin TranslationPlugin

Plugin Homepage Build Status License GitHub releases Version Downloads Financial Contributors on Open Collective

<p align="center"><b>Translation plugin for IntelliJ based IDEs/Android Studio.</b></p> <p align="center"><img src="https://yiiguxing.github.io/TranslationPlugin/img/ext/screenshots.gif" alt="screenshots"></p>

<br/><br/><br/>

Getting Started 开始使用 はじめに 시작하기


Microsoft Translator <span>    </span> Google Translate <span>    </span> OpenAI Translator <span>    </span> DeepL Translator <span>    </span> Youdao Translate <span>    </span> Baidu Translate <span>    </span> Alibaba Translate


Features

Compatibility

Installation

<a href="https://plugins.jetbrains.com/plugin/8579-translation" target="_blank"> <img src="https://yiiguxing.github.io/TranslationPlugin/img/ext/installation_button.svg" height="52" alt="Get from Marketplace" title="Get from Marketplace"> </a>

Restart the IDE after installation.

Using The Plugin

  1. Sign up for a translation service (optional)

    Most translation services require user registration to access their services (such as OpenAI, DeepL, Youdao Translate, etc.). Therefore, you may need to create an account, obtain an Authentication Key, and then bind the Authentication Key within the plugin:<kbd>Preferences(Settings)</kbd> > <kbd> Tools</kbd> > <kbd> Translation</kbd> > <kbd>General</kbd> > <kbd>Translation Engine</kbd> > <kbd>Configure...</kbd>

  2. Begin translating

    <kbd>Select a text or hover the mouse over the text</kbd> > <kbd>Right-click</kbd> > <kbd>Translate</kbd>

    Or use shortcuts for translation, as detailed in Actions.

  3. Translate and replace

    Translate the target text and replace it. If the target language is English, the output has several formats: in camel case, with a word separator (when the output contains multiple words, the separator can be configured in the plugin configuration page: <kbd>Translation Settings</kbd> > <kbd>Translate and replace</kbd> > <kbd>Separator</kbd>) and in the original format.

    Instructions: <kbd>Select a text or hover the mouse over the text</kbd> > <kbd>Right-click</kbd> > <kbd>Translate and Replace...</kbd> (Or use shortcuts for translation, as detailed in Actions).

  4. Translate documents

    <kbd>Preferences(Settings)</kbd> > <kbd>Tools</kbd> > <kbd>Translation</kbd> > <kbd>Other</kbd> > <kbd>Translate documents</kbd>: When you check this option, the document will be automatically translated when you view it.

  5. Switch engines

    Click the engine widget in the status bar or use the shortcut <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd> (Mac OS: <kbd>Control</kbd> + <kbd>Meta</kbd> + <kbd>Y</kbd>) to switch between the translation engine and the TTS engine quickly.

Actions

FAQ

If you have any questions, please ask here.

  1. What should I do if there is a network error or the network connection times out?

    A:

    • Check the network environment and make sure the network is running smoothly.
    • Check whether a proxy is preventing the plugin from accessing the translation API.
    • Check the IDE proxy configuration to see if that is the cause of the problem.
  2. What should I do if the translated content appears garbled?

    A: Garbled code generally appears when there is a lack of corresponding characters in the font. You can go to the Settings page of the plugin to modify the font in order to fix the garbled code (as shown below).

    screenshots

  3. What if I can't save the application key?

    A: You can try changing the way passwords are saved to In KeePass (<kbd>Settings</kbd> > <kbd>Appearance & Behavior</kbd> > <kbd>System Settings</kbd> > <kbd>Passwords</kbd>). For more details:

    • For macOS, please refer to #81
    • For Linux, please refer to #115
  4. What if the shortcuts don't work?

    A: The shortcut keys are most likely not working because they are being used in other plugins or external applications. You can reset shortcut keys for the corresponding operations.

Support and Donations

You can contribute and support this project by doing any of the following:

Thank you for your support!

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute]. <a href="https://github.com/YiiGuxing/TranslationPlugin/graphs/contributors"><img src="https://opencollective.com/translation-plugin/contributors.svg?width=890&button=false" /></a>

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Backers

Thank you to all our backers! ❤️ [Become a backer]

<a href="https://opencollective.com/translation-plugin/donate" target="_blank"><img src="https://opencollective.com/translation-plugin/individuals.svg?width=800"></a>

Sponsors

Support this project by becoming a sponsor! Your logo will show up here with a link to your website. [Become a sponsor]

<a href="https://opencollective.com/translation-plugin/organization/0/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/0/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/1/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/1/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/2/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/2/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/3/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/3/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/4/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/4/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/5/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/5/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/6/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/6/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/7/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/7/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/8/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/8/avatar.svg?avatarHeight=128"></a> <a href="https://opencollective.com/translation-plugin/organization/9/website" target="_blank"><img src="https://opencollective.com/translation-plugin/organization/9/avatar.svg?avatarHeight=128"></a>

Donors

NameWebsiteAmount
丿初音425.00 CNY
剑平120.00 CNY
山有扶苏github.com/fobgochod110.00 CNY
丁云波100.00 CNY
逆行100.00 CNY
Kimmy100.00 CNY
LiMingjun100.00 CNY
DarknessTMgithub.com/darknesstm100.00 CNY
Sunlife95100.00 CNY
马强@咔丘互娱100.00 CNY

More donors