i18n

i18n is a skill for Claude Code from sonature-lab/timsquad. It costs 50 tokens per session (1,017 once invoked), scanned A, original, MIT.

A guide to adding multiple languages and regional formats to Flutter apps. It covers translation files, right-to-left layouts, plural and gender-aware messages, and changing the language while the app runs.

In plain words
What is it for?
Use it to configure Flutter localization, manage ARB translation files, handle plural or gendered text, support RTL languages, and persist language choices.
Why use it?
It prevents user-facing text from being scattered through code and helps avoid missing translations or layouts that break in languages written right to left.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to configure Flutter localization, manage ARB translation files, handle plural or gendered text, support RTL languages, and persist language choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sonature-lab/timsquad/i18n
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 sonature-lab/timsquad --skill i18n
Clone the repo
git clone --depth 1 https://github.com/sonature-lab/timsquad

Made for: Claude Code.

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 i18n

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonature-lab/timsquad/i18n/github.svg)](https://agentmods.dev/skills/sonature-lab/timsquad/i18n)
Your own site
<a href="https://agentmods.dev/skills/sonature-lab/timsquad/i18n"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/i18n/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 i18n

Your own site · 80×15
<a href="https://agentmods.dev/skills/sonature-lab/timsquad/i18n"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 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.00050 $0.01017
Opus 5 $0.00025 $0.00508
Sonnet 5 $0.00010 $0.00203
Haiku 4.5 $0.00005 $0.00102

Measured 9d ago against content hash 48be3be0196d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

i18n 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 9d 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.

templates/base/skills/tsq-flutter/i18n/SKILL.md · 79 lines

How it starts

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

Internationalization (i18n) & Localization

Flutter 다국어 지원 통합 가이드. ARB 파일 기반 번역 관리, ICU MessageFormat, RTL 대응, 런타임 로캘 전환.

Philosophy

  • 텍스트는 코드에 없다 — 모든 사용자 노출 문자열은 ARB 파일에
  • 로캘은 상태 — Riverpod provider로 관리, SharedPreferences로 영속화
  • RTL은 기본 — Directionality 위젯 활용, 하드코딩된 padding/margin 금지
  • 번역은 프로세스 — 개발자 → 번역가 → 검수, CI에서 누락 키 자동 감지

Resources

5개 규칙 + 1개 참조. i18n 파이프라인 전체를 커버.

Priority Type Resource Description
CRITICAL rule localization-setup flutter_localizations, intl, l10n.yaml, pubspec generate
CRITICAL rule arb-files ARB 파일 구조, @placeholder, 네이밍 컨벤션, gen-l10n
HIGH rule text-direction RTL 대응, EdgeInsetsDirectional, AlignmentDirectional
HIGH rule plural-gender ICU MessageFormat, plural, select, ordinal
MEDIUM rule locale-switching LocaleNotifier, SharedPreferences, 런타임 전환
ref i18n-architecture 디렉토리 구조, 번역 워크플로우, CI 검증

Quick Rules

설정

  • pubspec.yamlgenerate: true + flutter_localizations, intl 의존성
  • l10n.yaml 로 ARB 디렉토리, 출력 클래스, 기본 로캘 지정
  • MaterialApp.localizationsDelegates + supportedLocales 필수 설정

ARB 파일

  • app_en.arb 가 기본 (template ARB), app_ko.arb 등 로캘별 추가
  • 키 네이밍: featureName_context (예: matchDetail_inviteButton)
  • @placeholder 메타데이터로 동적 값 타입 명시
  • flutter gen-l10n 으로 자동 생성 (AppLocalizations 클래스)

RTL 대응

  • EdgeInsetsDirectional.only(start: 16) (left/right 대신 start/end)
  • AlignmentDirectional.centerStart (centerLeft 대신)
  • 아이콘 미러링: Directionality 감지 후 조건부 Transform

복수형/성별

  • ICU {count, plural, =0{no items} =1{1 item} other{{count} items}}
  • {gender, select, male{his} female{her} other{their}}
  • ARB 파일에 직접 ICU 구문 작성, intl이 자동 파싱

로캘 전환

  • LocaleNotifier (Riverpod StateNotifier) → 현재 로캘 관리
  • SharedPreferences 로 선택 로캘 영속화
  • 앱 재시작 없이 MaterialApp.locale 변경으로 즉시 반영

Read the full file on GitHub · 79 lines

Files

What ships with it

6 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. 9d ago First seen · 79 lines · 50 tokens per session scan A 48be3be0196d

Subscribe to this mod's changes

i18n is a skill published in the GitHub repository sonature-lab/timsquad (11 stars, last pushed 9d ago), licensed MIT. It adds 50 tokens to every session and 1,017 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

localization-testing

Internationalization (i18n) and localization (l10n) testing for global products including translations, locale formats, RTL languages, and cultural appropriateness. Use when launching in new markets or building multi-language products.

summarybotng/summarybot-ng · 48 tokens

i18n-date-patterns

Implements internationalization (i18n) in React applications. Covers user-facing strings, date/time handling, locale-aware formatting, ICU MessageFormat, and RTL support. Use when building multilingual UIs or formatting dates/currency.

yonatangross/orchestkit · 53 tokens

tongwen

Use when translating engineering CAD drawings between languages — DWG text extraction, translation workspace with terminology management, quality-checked write-back. TongWen (同文): local-first CAD/BIM lossless translation suite for AutoCAD 2019-2026.

znlgis/opengis-skills · 55 tokens

raqam

Teaches the raqam React number-input library — headless NumberField compound components, useNumberFieldState/useNumberField hooks, Intl presets, locale plugins (fa/ar/bn/hi/th), raqam/server formatting, validation, ScrubArea, accessibility, and form integration. Use when building or debugging currency/percent/unit…

47vigen/raqam · 102 tokens

internationalization-i18n

Audits and implements internationalization (i18n) and localization (l10n) for a frontend application. Covers message format selection, locale file organisation, pluralization, RTL layout, and CI extraction workflows. Invoked when the user asks to add i18n support, set up translations, or make the UI multilingual.

soulcodex/agentic · 72 tokens

Internationalization Testing

You are an expert QA engineer specializing in internationalization testing. When the user asks you to write, review, debug, or set up i18n related tests or configurations, follow these detailed instructions.

PramodDutta/qaskills · 31 tokens