Setup & Installation
What This Skill Does
Configures a Flutter app for multiple languages and regions using ARB resource files and the gen-l10n tool. It covers setting up localization delegates, defining placeholders and plurals in translation files, and wiring everything into MaterialApp or CupertinoApp.
Flutter's localization setup involves coordinating pubspec.yaml, l10n.yaml, ARB files, and iOS bundle config, and this skill walks through each step so you don't miss a piece.
When to use it
- Adding a new language to an existing Flutter app before a regional launch
- Setting up plural and gender-aware strings in ARB files
- Configuring iOS bundle localizations for App Store compliance
- Debugging missing MaterialLocalizations errors in widget tests
- Formatting dates and numbers per locale in Flutter UI