flutter-localization

flutter-localization is a skill for Claude Code, Codex from yendangn/flutter-app-builder. It costs 65 tokens per session (560 once invoked), scanned A, original, MIT.

A guide for translating and formatting text in Flutter apps for different languages and regions. It covers translation files, plural forms, right-to-left languages, changing languages while the app runs, and dates, numbers, and currencies.

In plain words
What is it for?
Use it to add translation keys and locale files, switch languages, support right-to-left layouts, create plural messages, and format dates, numbers, and currencies.
Why use it?
It prevents user-facing text from being hardcoded in the app and keeps language changes consistent across screens. It also helps avoid incorrect plural, direction, date, number, or currency formatting.

Skill for Claude CodeCodex

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

Good fit Use it to add translation keys and locale files, switch languages, support right-to-left layouts, create plural messages, and format dates, numbers, and currencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yendangn/flutter-app-builder/flutter-localization
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 yendangn/flutter-app-builder --skill flutter-localization
Clone the repo
git clone --depth 1 https://github.com/yendangn/flutter-app-builder

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-localization"><img src="https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 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.
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.00065 $0.00560
Opus 5.5 $0.00026 $0.00224
Sonnet 5.5 $0.00013 $0.00112
Haiku 4.5 $0.00006 $0.00056

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

Security

Grade A, and why

flutter-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.

skills/flutter-localization/SKILL.md · 41 lines

How it starts

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

Flutter Localization

Full reference: template.md

Key rules

  • LocalizationService is the app-owned interface. Never import flutter_localization outside localization_service_impl.dart.
  • All user-facing strings live in assets/i18n/<locale>.json. No hardcoded strings in widget or cubit code.
  • Translation key access: context.tr('key') in build methods (auto-rebuilds on locale change via context.watch<LocaleCubit>()). Never call getIt<LocalizationService>().translate() directly in widgets — use context.tr().
  • Plural support: keys are key_zero, key_one, key_other. Call localizationService.plural('key', count).
  • Dynamic locale switch: LocaleCubit.setLanguage(locale) → safeEmit(locale) → all widgets calling context.tr() rebuild (via context.watch<LocaleCubit>()). Provide LocaleCubit at the app root. MaterialApp rebuilds via BlocBuilder<LocaleCubit, Locale>.
  • RTL: LocalizationService.isRtl → use Directionality widget or TextDirection.rtl for affected widgets.
  • Date/number/currency formatting: use AppFormatter (wraps intl) — never DateFormat(...) directly in widgets.
  • Validator error messages must use localization keys, never raw strings.
  • Add new locales: add <locale>.json, register locale in LocalizationServiceImpl, declare in MaterialApp.router.

Files

assets/i18n/
  en.json    ← source of truth for keys
  vi.json    ← secondary locale
lib/src/core/localization/
  localization_service.dart          ← interface
  localization_service_impl.dart     ← only file importing flutter_localization
  locale_cubit.dart                  ← Cubit<Locale> — drives reactive locale switching
  app_formatter.dart                 ← date/number/currency formatters (wraps intl)

Co-load with

  • flutter-di — LocalizationService + AppFormatter + LocaleCubit registration
  • flutter-storage — persist selected locale in KeyValueStore
  • flutter-theme — locale affects text direction
  • flutter-base-classes — LocaleCubit uses SafeEmitMixin

Read the full file on GitHub · 41 lines

Files

What ships with it

8 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. 1mo ago First seen · 41 lines · 65 tokens per session scan A 65ba3b1b9dba

Subscribe to this mod's changes

flutter-localization is a skill published in the GitHub repository yendangn/flutter-app-builder (6 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 560 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

intl-expansion

International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.

alirezarezvani/claude-skills · 46 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

edit-site

Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…

microsoft/power-platform-skills · 104 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens