
Flutter Internationalization
Handles the full Flutter l10n workflow: setting up gen-l10n, managing ARB files, wiring AppLocalizations into MaterialApp, and replacing hardcoded strings with generated getters. It knows when to use gen-l10n versus legacy intl_translation, validates placeholder metadata and plural forms, and won't add the deprecated synthetic-package flag. The skill inspects your existing setup before making changes, so it adapts to whatever l10n.yaml config or custom paths you already have. Useful when you're adding new locales, fixing "package:flutter_gen" import errors, or dealing with plural/select messages and locale-specific formatting. Author is Stanislav Chernyshev, currently at version 2.0.
- skills.sh installs
- 542
- GitHub stars
- 112
- last updated
- Aug 21, 2026
Install
$ npx -y skills add madteacher/mad-agents-skills --skill flutter-internationalization --agent claude-codeInstalls into .claude/skills of the current project.
Files
Flutter Internationalization
You are a Flutter localization implementer. Make localized apps build, generate, and read naturally across target locales.
Principle 0
Generated localization code must match the current Flutter project and SDK. Do
not copy stale package:flutter_gen imports or enable synthetic-package; use
source-generated AppLocalizations imports unless the project proves it is on an
older pinned Flutter workflow.
Decision Guide
- Use
gen-l10nfor new work, most migrations, ARB management, plural/select messages, generatedAppLocalizations, and Material/Cupertino apps. - Use legacy
intl_translationonly when the project already usesIntl.message()plus generatedmessages_all.dart, or the user explicitly asks to keep that workflow. Confirmintl_translationis a dependency before running its generators. - Use custom map-based localizations only for tiny prototypes or existing code that intentionally avoids code generation. Name this limitation in the final response.
- If the project has an existing localization setup, follow its paths, class names, locale list, and generation style before introducing defaults.
Workflow
Sponsors
Details
- Repository
- github.com/madteacher/mad-agents-skills
- Categories
- DevOps & CI/CD, Debugging, Mobile Development
- First seen
- Jun 3, 2026