🚀 Flutter i18n Inline Editor - Translation Preview & Management

The ultimate VS Code extension for Flutter developers working with internationalization (i18n) and localization (l10n). Transform your translation workflow with inline previews, direct editing, and smart diagnostics - all without leaving your Dart code!
🎯 Perfect for Flutter teams building multilingual apps with .arb
files and Flutter's official i18n solution.
🌟 Why Choose This Extension?
Before: Switch between .dart
→ app_en.arb
→ app_zh.arb
→ back to .dart
😫
After: Edit all translations directly in your Dart code with visual previews! 🎉
💡 Boost Your Productivity by 3x
- ⚡ Zero Context Switching - Stay in your Dart files
- 👀 Visual Translation Preview - See translations as you code
- ✏️ One-Click Editing - Modify any language instantly
- 🔍 Smart Detection - Automatic missing translation alerts
- 🚀 Team Collaboration - Consistent workflow for all developers
✨ Core Features
🚀 Inline Translation Preview and Editing
Instantly view translations in your code without context switching. Click to edit any language's translation in place. This is the best way to boost Flutter localization efficiency.

Key Features:
- 👁️ Inline Translation Preview: In the Dart editor, your i18n key will display its translation text directly above via CodeLens.
- ✍️ Direct Editing in VS Code: Click the CodeLens to immediately modify the key's translation in any language without leaving the file. Changes auto-save to corresponding
.arb
files.
- 🌐 Multi-language Hover Preview: Hover over an i18n key to see its translations in all supported languages in a convenient popup.
- ❗ Missing Translation Diagnostics: The extension automatically detects and reports missing translation keys in certain language files in the Problems panel.
- 📁 Perfect Support for
.arb
Files: Tailored for Flutter's officially recommended .arb
-based internationalization solution.
🤔 Why Choose Flutter i18n VS Code Inline?
Traditional Flutter internationalization workflows are cumbersome. You write a key in Dart code, then switch to app_en.arb
for English, then to app_zh.arb
for Chinese... This process is inefficient and error-prone.
Flutter i18n VS Code Inline revolutionizes this workflow. It brings the entire translation management process into your Dart editor, making it a visual, seamless experience.
📦 Installation
- Open Visual Studio Code.
- Go to the Extensions view (
Ctrl+Shift+X
).
- Search for
Flutter i18n VS Code Inline
.
- Click Install.
You can also install from the VS Code Marketplace.
📖 Usage Guide
- Open a Flutter project configured with internationalization (using
.arb
files).
- Open a Dart file using i18n keys (e.g.,
S.of(context).myKey
).
- Witness the magic: A CodeLens appears above the key, showing the default language translation.
- How to Edit: Click the CodeLens. An input box appears, allowing you to modify translations for each language. Press
Enter
to save.
- View All Translations: Simply hover over the i18n key.
⚙️ Extension Configuration
(Search for "flutter-i18n-vscode-inline" in VS Code settings to configure:)
{
"flutter-i18n-vscode-inline.enableCodeLens": true,
"flutter-i18n-vscode-inline.enableHover": true,
"flutter-i18n-vscode-inline.previewLanguage": "en",
"flutter-i18n-vscode-inline.showTranslationStats": false,
"flutter-i18n-vscode-inline.customPatterns": {},
"flutter-i18n-vscode-inline.enableCustomPatterns": false,
"flutter-i18n-vscode-inline.showTranslationPreview": true
}
🤝 Contributing
We welcome contributions, bug reports, and feature requests! Please visit our GitHub Issues page.
🔗 Useful Links
Flutter Development: flutter
dart
mobile-development
cross-platform
app-development
Internationalization: i18n
l10n
internationalization
localization
translation
multilingual
locale
language
VS Code: vscode-extension
editor
productivity
developer-tools
coding
ide
Features: inline-preview
codelens
hover
diagnostics
arb-files
workflow
automation
Use Cases: flutter-i18n
translation-management
localization-workflow
developer-productivity
team-collaboration
Perfect for: Flutter developers, mobile app teams, internationalization specialists, localization managers, and anyone working with multilingual Flutter applications.
Made with ❤️ for the Flutter community. Star ⭐ this project if it helps you build amazing multilingual apps!