Skip to content
madteacher avatar

Flutter Internationalization

Comprehensive gen-l10n guide for adding, auditing, and maintaining Flutter internationalization with ARB files and generated AppLocalizations.

CCM score
64 of 100
skills.sh installs
552
GitHub stars
114
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full l10n workflow: l10n.yaml setup, ARB translations, plural and select messages, and locale-specific number and date formatting
  • Includes l10n.yaml, app_en.arb, and references for ARB format, config options, and number/date formats
  • Enforces current gen-l10n defaults by rejecting stale package:flutter_gen imports and synthetic-package configuration
  • Designed for Flutter teams adding locales, migrating legacy intl_translation setups, or fixing generated localization build errors

Install

$ npx -y skills add madteacher/mad-agents-skills --skill flutter-internationalization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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-l10n for new work, most migrations, ARB management, plural/select messages, generated AppLocalizations, and Material/Cupertino apps.
  • Use legacy intl_translation only when the project already uses Intl.message() plus generated messages_all.dart, or the user explicitly asks to keep that workflow. Confirm intl_translation is 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

Details

Repository
github.com/madteacher/mad-agents-skills
Category
Mobile Apps
First seen
Jun 3, 2026

More from madteacher/mad-agents-skills

All 11

Similar to Flutter Internationalization

More Mobile Apps