Translate API documentation that appears in Quick Documentation panels without switching to a browser tab.
Rename a variable by selecting it, translating it to English, and replacing it in camel case to match code naming conventions.
Read library comments written in Chinese or Japanese in real time while coding in IntelliJ IDEA.
Save useful translations to the Word Book feature for later review when studying an unfamiliar API.
Most translation services require a free API key from the provider, Microsoft Translator and Google Translate work without one for basic use.
TranslationPlugin is a translation plugin for JetBrains IDEs, including IntelliJ IDEA, Android Studio, PyCharm, WebStorm, GoLand, CLion, Rider, and about a dozen others. It lets developers translate text without leaving the editor, using keyboard shortcuts or the right-click context menu. The plugin connects to multiple translation services: Microsoft Translator, Google Translate, DeepL, OpenAI, Youdao, Baidu, and Alibaba Translate. Most of these require an API key that the user obtains by registering with the respective service and then entering in the plugin settings. Microsoft Translator and Google Translate can be used without configuration for basic use. Text-to-speech is also available through Microsoft Edge TTS, Google TTS, and OpenAI TTS, so words and phrases can be read aloud. The most common use cases are: selecting a word or phrase in the editor and translating it in a popup, translating API documentation that appears in Quick Documentation panels, and replacing a selected piece of text with its translation. The replace feature is particularly useful when renaming variables or identifiers, since it can output the translation in camel case or with a configurable word separator to match code naming conventions. Documentation can also be set to translate automatically whenever it is opened. The plugin is written in Kotlin and can be installed from within any supported IDE by searching for Translation in the JetBrains Marketplace. Manual installation from a downloaded file is also possible. The active translation engine can be switched quickly from the status bar at the bottom of the IDE window. A Word Book feature lets users save translations for later review.
← yiiguxing on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.