TranslationPlugin  by YiiGuxing

Translation plugin for IntelliJ-based IDEs/Android Studio

created 9 years ago
11,660 stars

Top 4.4% on sourcepulse

GitHubView on GitHub
Project Summary

This plugin provides real-time translation and text-to-speech capabilities within IntelliJ-based IDEs and Android Studio. It supports multiple translation engines (Microsoft, Google, DeepL, OpenAI, Youdao, Baidu, Alibaba) and TTS engines, catering to developers who frequently work with code or documentation in different languages.

How It Works

The plugin integrates directly into the IDE, allowing users to select text or hover over words for instant translation. It supports various translation actions, including replacing text with translations, translating entire documents, and toggling between original and translated content in quick documentation pop-ups. Users can configure preferred translation engines and TTS services, often requiring API keys for advanced features.

Quick Start & Requirements

  • Installation: Install directly from the JetBrains Plugin Marketplace or manually by downloading the plugin package from GitHub Releases or the JetBrains Plugin Repository. Restart IDE after installation.
  • Configuration: For services like OpenAI or DeepL, users need to obtain API keys and configure them within the plugin's settings (Preferences/Settings > Tools > Translation > General > Translation Engine).
  • Documentation: Plugin Features, Installation, Actions

Highlighted Details

  • Supports 8 translation engines and 3 TTS engines.
  • Features automatic word selection, word book, and document translation.
  • Offers extensive keyboard shortcuts for various translation actions.
  • Includes a "Word of the Day" feature.

Maintenance & Community

The project is actively maintained, with a list of code and financial contributors. Support and donations are encouraged via GitHub stars, feedback, PRs, and platforms like Open Collective, WeChat Pay, and Alipay.

Licensing & Compatibility

The plugin is available under the Apache License 2.0, which permits commercial use and linking with closed-source projects. It is compatible with a wide range of IntelliJ-based IDEs and Android Studio versions.

Limitations & Caveats

Some translation services require API keys and may incur costs. Network errors or proxy configurations can affect functionality. Garbled text may occur due to font limitations, requiring user configuration. Shortcut conflicts with other plugins or applications are possible.

Health Check
Last commit

5 days ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
4
Star History
114 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.