flutter-localizing-apps

Installation
Summary

Multi-language support for Flutter apps using ARB files and code generation.

  • Configure pubspec.yaml with flutter_localizations and intl, then define an l10n.yaml file to enable the gen-l10n code generator
  • Store localized strings in Application Resource Bundle (.arb) JSON files; the template file defines all keys, and locale-specific files provide translations
  • Integrate localizations into MaterialApp or CupertinoApp by adding AppLocalizations.delegate and platform-specific delegates to localizationsDelegates, then access strings via AppLocalizations.of(context)
  • Support dynamic content with placeholders, plurals, selects, and formatted dates/numbers using ICU message syntax in ARB metadata
  • iOS requires additional bundle configuration in Xcode to register supported languages with the App Store
SKILL.md

Localizing Flutter Applications

Contents

Core Configuration

Configure the project to support code generation for localizations.

  1. Add required dependencies to pubspec.yaml:
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
Related skills
Installs
8.5K
Repository
flutter/skills
GitHub Stars
1.9K
First Seen
Mar 13, 2026