flutter-internationalization
CommunityAdd Flutter localization quickly and reliably.
System Documentation
What problem does it solve?
Flutter apps frequently struggle to support multiple languages and locale-specific formatting, leading to inconsistent UIs and maintenance headaches. This Skill provides a practical, end-to-end guide for adding internationalization using gen-l10n and the intl packages, enabling scalable translations and correct locale formatting across locales.
Core Features & Use Cases
- Guided localization setup: configure gen-l10n, ARB file structure, and localization delegates in MaterialApp.
- ARB-based translations: manage template and translation files to drive codegen.
- Locale-aware formatting: format numbers and dates per locale and switch UI strings at runtime.
- Use Case: onboarding a Flutter project with two languages (e.g., English and Spanish) including RTL support where needed.
Quick Start
Install Flutter, enable gen-l10n in pubspec.yaml, create lib/l10n with app_en.arb, add additional ARB files for each locale, run flutter pub get and flutter gen-l10n, then wire up LocalizationsDelegates and supportedLocales in MaterialApp and consume strings via AppLocalizations.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: flutter-internationalization Download link: https://github.com/Im5tu/claude/archive/main.zip#flutter-internationalization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.