dev-i18n

dev-i18n is a skill for Claude Code from christopherlouet/claude-base. It costs 79 tokens per session (2,784 once invoked), scanned A, original, MIT.

A guide to adding multiple languages and regional formats to web and mobile applications. It covers translated text, plural forms, dates, and numbers.

In plain words
What is it for?
Use it to choose an internationalization library, organize translation files, extract text, and support localized web or mobile interfaces.
Why use it?
It helps prevent scattered translations and incorrect language or regional formatting as an application grows.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/check-i18n.js.

Good fit Use it to choose an internationalization library, organize translation files, extract text, and support localized web or mobile interfaces.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base
agentmods
npx agentmods add skills/christopherlouet/claude-base/dev-i18n

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/dev-i18n"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/dev-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,784 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 327
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 357
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 371
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00079 $0.02784
Opus 5.5 $0.00032 $0.01114
Sonnet 5.5 $0.00016 $0.00557
Haiku 4.5 $0.00008 $0.00278

Measured 20d ago against content hash 5b4be08bcc43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-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 20d 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.

.claude/skills/dev-i18n/SKILL.md · 421 lines

How it starts

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

Internationalization (i18n)

Choosing your lib

Web

Lib Stack Strength Avoid
next-intl Next.js 13+ App Router Server Components first, type-safe, localized routes Pages Router projects (use next-i18next)
react-i18next React vanilla / SPA Mature, large ecosystem, plugins Heavy for SSR without effort
formatjs (react-intl) React ICU MessageFormat standard More verbose boilerplate
vue-i18n Vue 3 / Nuxt Native, Composition API, lazy load Vue-specific
svelte-i18n / paraglide Svelte/SvelteKit Lean, compile-time (paraglide) Smaller ecosystem

Mobile

Lib Stack
flutter_localizations + intl Flutter official, ARB files
slang Flutter alternative, type-safe, code-generation
react-native-localize + i18next React Native

next-intl (Next.js App Router)

Setup

npm install next-intl
messages/
  fr.json
  en.json
app/
  [locale]/
    layout.tsx
    page.tsx
middleware.ts
i18n/
  request.ts
  routing.ts

Config

// i18n/routing.ts
import { defineRouting } from "next-intl/routing";

export const routing = defineRouting({
  locales: ["fr", "en"],
  defaultLocale: "fr",
  localePrefix: "as-needed",  // /en/about, /about (default locale)
});
// middleware.ts
import createMiddleware from "next-intl/middleware";
import { routing } from "./i18n/routing";

export default createMiddleware(routing);

export const config = {
  matcher: ["/", "/(fr|en)/:path*"],
};

Server Component usage

// app/[locale]/page.tsx
import { getTranslations } from "next-intl/server";

export default async function Page() {
  const t = await getTranslations("home");
  return <h1>{t("title")}</h1>;
}

Client Component usage

"use client";
import { useTranslations } from "next-intl";

export function Greeting() {
  const t = useTranslations("home");
  return <p>{t("welcome", { name: "Alice" })}</p>;
}

Read the full file on GitHub · 421 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. 20d ago Changed · +4 lines 5b4be08bcc43
  2. 27d ago Changed · -2 lines cacf37e265be
  3. 28d ago Changed · -6 lines 4f858a75260b
  4. 29d ago Changed · -1 lines f33d2f6483ae
  5. 1mo ago First seen · 426 lines · 79 tokens per session scan A dabbe21fe854

Subscribe to this mod's changes

dev-i18n is a skill published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed 7d ago), licensed MIT. It adds 79 tokens to every session and 2,784 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-09-03.