🌐 Added full internationalization (i18n) support for 12 languages:
Languages supported:
- English (en) - default/fallback
- 简体中文 (zh) - Chinese Simplified
- 繁體中文 (zh-TW) - Chinese Traditional
- 日本語 (ja) - Japanese
- 한국어 (ko) - Korean
- Deutsch (de) - German
- Français (fr) - French
- Español (es) - Spanish
- Português (pt) - Portuguese
- Русский (ru) - Russian
- العربية (ar) - Arabic
- Tiếng Việt (vi) - Vietnamese
Changes:
- Integrated i18next with react-i18next for translation management
- Added browser language auto-detection with localStorage persistence
- Created LanguageSelector component for manual language switching
- Translated all UI components and strings
- All 22 components updated to use translation hooks
This fork provides complete i18n support that was not available in the
original opcode project, making the application accessible to a global
audience.
Original project: https://github.com/getAsterisk/opcode
Summary
This PR adds complete internationalization (i18n) support to opcode, enabling users worldwide to use the application in their native language.
Background & Motivation
I noticed that PR #405 introduced Chinese (zh-CN) i18n support, which was a great initiative. However, as opcode grows into a globally-used developer tool (currently 19,600+ stars!), I believe it deserves broader language coverage to serve the international developer community.
I've extended the i18n implementation to support 12 languages with complete translations for all UI components, making opcode truly accessible to developers worldwide.
Relationship to PR #405
This PR builds upon the same i18n architecture concept from #405 but provides significantly expanded coverage:
Recommendation: This PR can either:
Languages Supported
Technical Implementation
Architecture
Files Changed
Components Updated
Features
Testing
Dependencies Added
These are well-maintained, widely-used packages with minimal bundle size impact.
Why This Matters
opcode has become a popular tool for Claude Code users worldwide. By providing comprehensive i18n support, we can:
Checklist
🙏 Thank you for considering this contribution. I'm happy to make any adjustments based on feedback from the maintainers.
🤖 This internationalization effort was created to make opcode accessible to developers worldwide.
Pull Request opened by Augment Code with guidance from the PR author