flutter-internationalization

flutter-internationalization is a skill for Claude Code, Codex from MADTeacher/mad-agents-skills. It costs 98 tokens per session (1,490 once invoked), scanned A, original, MIT.

A workflow for translating Flutter app text and formatting into different languages and regional conventions. It uses ARB translation files and generated Dart code for localized messages, dates, numbers, plurals, and right-to-left languages.

In plain words
What is it for?
Use it to add or repair Flutter localization, generate AppLocalizations, manage translated messages, format locale-specific values, and support plural, selection, and right-to-left layouts.
Why use it?
It avoids hard-coded text and helps prevent build or formatting problems when an app supports multiple locales.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add or repair Flutter localization, generate AppLocalizations, manage translated messages, format locale-specific values, and support plural, selection, and right-to-left layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madteacher/mad-agents-skills/flutter-internationalization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MADTeacher/mad-agents-skills --skill flutter-internationalization
Clone the repo
git clone --depth 1 https://github.com/MADTeacher/mad-agents-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flutter-internationalization

README.md
[![agentmods](https://agentmods.dev/badge/skills/madteacher/mad-agents-skills/flutter-internationalization/github.svg)](https://agentmods.dev/skills/madteacher/mad-agents-skills/flutter-internationalization)
Your own site
<a href="https://agentmods.dev/skills/madteacher/mad-agents-skills/flutter-internationalization"><img src="https://agentmods.dev/badge/skills/madteacher/mad-agents-skills/flutter-internationalization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flutter-internationalization

Your own site · 80×15
<a href="https://agentmods.dev/skills/madteacher/mad-agents-skills/flutter-internationalization"><img src="https://agentmods.dev/badge/skills/madteacher/mad-agents-skills/flutter-internationalization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 1 May 2026
  • Snyk pass 1 May 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01490
Opus 5 $0.00049 $0.00745
Sonnet 5 $0.00020 $0.00298
Haiku 4.5 $0.00010 $0.00149

Measured 12d ago against content hash 3d2c8764754f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

flutter-internationalization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

flutter-internationalization/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Inspect pubspec.yaml, l10n.yaml, existing *.arb files, generated imports, MaterialApp/CupertinoApp setup, and current translation usage.
  2. Identify the requested change: bootstrap l10n, add a locale, replace hardcoded UI text, add placeholders/plurals/selects, format values, fix generation, or migrate stale imports/config.
  3. Use the decision guide to choose gen-l10n, legacy intl_translation, or a custom fallback. Prefer the smallest change that fits the existing project.
  4. Read only the routed references needed for the task.
  5. Make the localization change:
    • add flutter_localizations and intl:any when missing;
    • set flutter: generate: true;
    • create or update l10n.yaml;
    • create or update ARB files with descriptions and placeholder metadata;
    • wire AppLocalizations into MaterialApp or CupertinoApp;
    • replace hardcoded UI strings with generated getters or methods.
  6. Generate and validate with flutter gen-l10n. Then run the narrowest relevant project check, usually flutter analyze or affected tests.
  7. Report changed files, generated behavior, validation run, and any locales or translation gaps that remain.

Read the full file on GitHub · 157 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 157 lines · 98 tokens per session scan A 3d2c8764754f

Subscribe to this mod's changes

flutter-internationalization is a skill published in the GitHub repository MADTeacher/mad-agents-skills (108 stars, last pushed 4mo ago), licensed MIT. It adds 98 tokens to every session and 1,490 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.