flutter-setup-localization

flutter-setup-localization is a skill for Claude Code from flutter/agent-plugins. It costs 52 tokens per session (1,439 once invoked), scanned A, original, BSD-3-Clause.

A setup guide for adding multiple-language support to a Flutter app. Flutter is a toolkit for building mobile and web apps, while localization adapts an app's text to different languages and regions.

In plain words
What is it for?
Use it when starting language support in a new Flutter project, including adding the required packages and creating the localization configuration.
Why use it?
It removes the manual setup needed before an app can store translated text and generate code to use those translations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dart-flutter plugin — 31 skills shipped together

Good fit Use it when starting language support in a new Flutter project, including adding the required packages and creating the localization configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flutter/agent-plugins/flutter-setup-localization
About the project

Flutter Agent Plugins is a collection maintained by the Flutter team that extends coding agents with Flutter-specific skills, rules, MCP configuration, and bundled workflows. Flutter developers use it to help agents perform tasks such as testing and building widget previews. The catalogue entries are components of these agent plugins.

flutter/agent-plugins · 3,069 stars · on GitHub

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 flutter/agent-plugins --skill flutter-setup-localization
Clone the repo
git clone --depth 1 https://github.com/flutter/agent-plugins

Made for: Claude Code.

Or install dart-flutter, the plugin that ships this one along with the rest of its 31 skills.

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-setup-localization

README.md
[![agentmods](https://agentmods.dev/badge/skills/flutter/agent-plugins/flutter-setup-localization/github.svg)](https://agentmods.dev/skills/flutter/agent-plugins/flutter-setup-localization)
Your own site
<a href="https://agentmods.dev/skills/flutter/agent-plugins/flutter-setup-localization"><img src="https://agentmods.dev/badge/skills/flutter/agent-plugins/flutter-setup-localization/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-setup-localization

Your own site · 80×15
<a href="https://agentmods.dev/skills/flutter/agent-plugins/flutter-setup-localization"><img src="https://agentmods.dev/badge/skills/flutter/agent-plugins/flutter-setup-localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,439 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 13 Jul 2026
  • Snyk pass 13 Jul 2026
  • NVIDIA SkillSpector pass 7 Sept 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.00052 $0.01439
Opus 5.5 $0.00021 $0.00576
Sonnet 5.5 $0.00010 $0.00288
Haiku 4.5 $0.00005 $0.00144

Measured 1mo ago against content hash dda4ef8b7497, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-setup-localization 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/flutter-setup-localization/SKILL.md · 211 lines

How it starts

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

Internationalizing Flutter Applications

Contents

Core Concepts

Flutter handles internationalization (i18n) and localization (l10n) via the flutter_localizations and intl packages. The standard approach uses App Resource Bundle (.arb) files to define localized strings, which are then compiled into a generated AppLocalizations class for type-safe access within the widget tree.

Setup Workflow

Copy and track this checklist when initializing internationalization in a Flutter project:

  • Task Progress
    • 1. Add dependencies to pubspec.yaml.
    • 2. Enable the generate flag.
    • 3. Create the l10n.yaml configuration file.
    • 4. Configure MaterialApp or CupertinoApp.

1. Add Dependencies

Add the required localization packages to the project. Execute the following commands in the terminal:

flutter pub add flutter_localizations --sdk=flutter
flutter pub add intl:any

Verify your pubspec.yaml includes the following under dependencies:

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  intl: any

2. Enable Code Generation

Open pubspec.yaml and enable the generate flag within the flutter section to automate localization tasks:

flutter:
  generate: true

3. Create Configuration File

Create a new file named l10n.yaml in the root directory of the Flutter project. Define the input directory, template file, and output file:

arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
synthetic-package: true

4. Configure the App Entry Point

Import the generated localizations and the flutter_localizations library in your main.dart. Inject the delegates and supported locales into your MaterialApp or CupertinoApp.

Read the full file on GitHub · 211 lines

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. 1mo ago First seen · 211 lines · 52 tokens per session scan A dda4ef8b7497

Subscribe to this mod's changes

flutter-setup-localization is a skill published in the GitHub repository flutter/agent-plugins (3,069 stars, last pushed today), licensed BSD-3-Clause. It adds 52 tokens to every session and 1,439 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

asc-localize-metadata

Automatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI. Use when asked to localize an app's App Store listing, translate app descriptions, or add new languages to App Store Connect.

rorkai/app-store-connect-cli-skills · 60 tokens

asc-metadata-sync

Sync, validate, and apply App Store metadata and store assets with asc. Use when updating localizations, keywords, App Clip or preview assets, Asset Library media and placements, or migrating legacy fastlane metadata.

rorkai/app-store-connect-cli-skills · 47 tokens

asc-in-app-events

Create and localize App Store in-app events, upload event media, and submit or recover event review submissions with asc. Use when managing in-app events, event card or details page assets, or event-specific submission errors.

rorkai/app-store-connect-cli-skills · 49 tokens

maui-localization-theming

Implement MAUI localization and theming. USE FOR: RESX/AppResources, runtime culture switching, RTL/FlowDirection, platform language metadata, AppThemeBinding, DynamicResource, light/dark/system themes, UserAppTheme. DO NOT USE FOR: general layout, accessibility audits, icon/splash assets.

dotnet/maui-labs · 73 tokens

localization-l10n

Implement localization (l10n) best practices to adapt applications for specific regions, languages, and cultural preferences.

Mindrally/skills · 28 tokens

android-resources

Organize Android strings, drawables, fonts, themes, localization, and concrete resource-backed Compose values such as MaterialTheme colors. Use for resource declarations and their direct UI lookup; defer design-system token architecture, network image loading, lint-rule configuration, and general Compose…

HoangNguyen0403/agent-skills-standard · 59 tokens