Repolode
YiiGuxing

YiiGuxing/TranslationPlugin

A translation plugin for IntelliJ-based IDEs and Android Studio that translates words, documentation and text inside the editor.

Open-source alternative to:DeepL

Stars
11,864
Forks
810
Open issues
42
Last commit
2 days ago

What is it?

TranslationPlugin adds translation features to JetBrains IDEs and Android Studio. Developers can translate selected words or words under the cursor, replace identifiers with their translations (for example in camel case when the output is English), and view translated Quick Documentation and inline documentation without leaving the editor.

The plugin supports several translation engines, including Microsoft Translator, Google Translate, DeepL, OpenAI, Youdao, Baidu and Alibaba Translate, and can switch between them from the status bar. Text-to-speech is available through Microsoft Edge TTS, Google TTS and OpenAI TTS. It also includes a translation dialog, a word book and a word-of-the-day feature.

The plugin is compatible with a wide range of IDEs, including IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider, CLion, RustRover and HUAWEI DevEco Studio.

Key features

  • 01Translate selected words or the word under the cursor from the editor context menu or shortcuts.
  • 02Replace text with its translation, with camel case or custom separators for English output.
  • 03Translate Quick Documentation and inline documentation.
  • 04Switch among multiple translation and text-to-speech engines.
  • 05Includes a translation dialog, word book and word-of-the-day feature.

Use cases

  • Naming variables, methods or classes in a non-English language and converting them to English identifiers.
  • Reading foreign-language API documentation directly inside the IDE.
  • Looking up unfamiliar words while coding without switching to a browser.
  • Translating comments or UI strings during development.

Quick start

  1. 1

    Install the plugin from the IDE Marketplace (Settings > Plugins > Marketplace, search 'Translation')

  2. 2

    Restart the IDE after installation

  3. 3

    Optionally bind an authentication key for a translation service in Settings > Tools > Translation > General

Things to know

  • Most translation engines require registering for an account and an API key to work fully.
  • Only works inside IntelliJ-based IDEs and Android Studio, not as a standalone app.

Topics

FAQ

What is TranslationPlugin?
A translation plugin for IntelliJ-based IDEs and Android Studio that translates words, documentation and text inside the editor. TranslationPlugin adds translation features to JetBrains IDEs and Android Studio. Developers can translate selected words or words under the cursor, replace identifiers with their translations (for example in camel case when the output is English), and view translated Quick Documentation and inline documentation without leaving the editor.
Is TranslationPlugin free to use? What license does it have?
TranslationPlugin is open source under the MIT license. Check the license terms before using it in commercial products.
Is TranslationPlugin still maintained?
Actively maintained. The last commit to TranslationPlugin was on Oct 20, 2026.
What can I use TranslationPlugin for?
Naming variables, methods or classes in a non-English language and converting them to English identifiers. Reading foreign-language API documentation directly inside the IDE. Looking up unfamiliar words while coding without switching to a browser. Translating comments or UI strings during development.
How do I install TranslationPlugin?
Install the plugin from the IDE Marketplace (Settings > Plugins > Marketplace, search 'Translation') Restart the IDE after installation Optionally bind an authentication key for a translation service in Settings > Tools > Translation > General
Where can I get TranslationPlugin?
The source code and installation instructions are on GitHub: https://github.com/YiiGuxing/TranslationPlugin

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects