internationalization-i18n

internationalization-i18n is a skill for Claude Code, Codex from soulcodex/agentic. It costs 72 tokens per session (908 once invoked), scanned A, original, MIT.

A guide for making a frontend available in multiple languages and regions. Internationalization prepares the application for different languages, while localization adapts it to each region.

In plain words
What is it for?
Use it to audit or add translation support, organise locale files, choose message formats, detect a user's language, and set up translation checks in continuous integration.
Why use it?
It helps find untranslated text and handle differences such as plurals, language-specific formatting, and right-to-left layouts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to audit or add translation support, organise locale files, choose…

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

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 internationalization-i18n

README.md
[![agentmods](https://agentmods.dev/badge/skills/soulcodex/agentic/internationalization-i18n.svg)](https://agentmods.dev/skills/soulcodex/agentic/internationalization-i18n)
Your own site
<a href="https://agentmods.dev/skills/soulcodex/agentic/internationalization-i18n"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/internationalization-i18n.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 908 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.00072 $0.00908
Opus 5 $0.00036 $0.00454
Sonnet 5 $0.00014 $0.00182
Haiku 4.5 $0.00007 $0.00091

Measured 6d ago against content hash 4bc69a419885, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

internationalization-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 6d 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/ui/internationalization-i18n/SKILL.md · 116 lines

How it starts

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

Internationalization (i18n) Skill

Step 1 — Audit Existing Setup

  • Identify any hardcoded strings in templates, components, and error messages.
  • Check whether an i18n library is already configured (vue-i18n, react-i18next, etc.).
  • Note the target locales and RTL requirements (Arabic, Hebrew, etc.).

Step 2 — Choose Message Format

Use ICU Message Format for all translation strings. It handles pluralization, gender, and select cases in a portable way supported by most i18n libraries.

# Simple
"greeting": "Hello, {name}!"

# Plural
"item_count": "{count, plural, one {# item} other {# items}}"

# Select
"status": "{status, select, active {Active} inactive {Inactive} other {Unknown}}"

Step 3 — Organise Locale Files

locales/
  en.json          ← source of truth (all keys must exist here)
  es.json
  ar.json          ← RTL locale
  fr.json

Rules:

  • One flat or namespaced JSON file per locale.
  • Key names use snake_case or namespaced dot notation consistently.
  • The source locale (en.json) is the authoritative key list.

Step 4 — Locale Detection

Detect locale in this priority order:

  1. User preference stored in a cookie or localStorage.
  2. Accept-Language HTTP header (server-side rendering).
  3. Browser navigator.language.
  4. Fallback to the source locale.

Step 5 — Pluralization and Formatters

Use the Intl.* browser APIs for locale-sensitive formatting — do not hardcode format strings in translation messages:

// Numbers
new Intl.NumberFormat(locale, { style: 'currency', currency: 'USD' }).format(amount)

// Dates
new Intl.DateTimeFormat(locale, { dateStyle: 'medium' }).format(date)

// Relative time
new Intl.RelativeTimeFormat(locale, { numeric: 'auto' }).format(-1, 'day')

Step 6 — RTL Layout

For RTL locales:

  • Set dir="rtl" on <html> or the root layout element.
  • Use CSS logical properties throughout: margin-inline-start not margin-left, padding-inline-end not padding-right, text-align: start not text-align: left.
  • Test bidirectional text (mixed LTR/RTL strings) in UI components.
  • Flip icons and directional UI elements (arrows, carets) using [dir="rtl"] CSS selectors.

Read the full file on GitHub · 116 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. 6d ago First seen · 116 lines · 72 tokens per session scan A 4bc69a419885

Subscribe to this mod's changes

internationalization-i18n is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 2d ago), licensed MIT. It adds 72 tokens to every session and 908 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories