Guides building globally-ready applications with i18n and L10n. Covers externalizing strings, ICU message format, pluralization, and locale-specific formatting for dates, numbers, and currency.
Ships in tjn-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive guide for building globally-ready applications.
i18n (Internationalization):
- Engineering for multiple languages/regions
- Building the infrastructure
- Happens once, during development
L10n (Localization):
- Adapting for specific locale
- Translation, formatting, content
- Happens per locale, ongoing
Locale:
- Language + Region combination
- Format: language-REGION (e.g., en-US, pt-BR)
- Determines formatting rules
| Category | Examples |
|---|---|
| Text | UI labels, messages, errors |
| Numbers | 1,234.56 vs 1.234,56 |
| Dates | MM/DD/YYYY vs DD/MM/YYYY |
| Times | 12-hour vs 24-hour |
| Currency | $1,234.56 vs €1.234,56 |
| Plurals | 1 item vs 2 items vs 5 items |
| Direction | LTR vs RTL |
| Images | Cultural appropriateness |
| Colors | Cultural significance |
| Names | Order, formality |
// DON'T: Hardcoded strings
const message = "Welcome back, " + username;
// DO: Externalized, translatable
const message = t('welcome_back', { name: username });
// Translation file (en.json)
{
"welcome_back": "Welcome back, {{name}}"
}
// Translation file (es.json)
{
"welcome_back": "Bienvenido de nuevo, {{name}}"
}
// ICU Message Format (recommended)
// Handles plurals, select, dates, numbers
// Simple
"greeting": "Hello, {name}!"
// Plural
"items_count": "{count, plural, =0 {No items} one {# item} other {# items}}"
// Select (gender, etc.)
"notification": "{gender, select, male {He} female {She} other {They}} liked your post"
// Nested
"cart": "{itemCount, plural,
=0 {Your cart is empty}
one {You have # item in your cart}
other {You have # items in your cart}
}"
Languages have different plural rules:
English: 1 (one), 2+ (other)
French: 0-1 (one), 2+ (other)
Russian: Complex rules for 1, 2-4, 5-20, 21, etc.
Arabic: 6 plural forms!
Chinese: No plural forms
Always use library pluralization, never DIY:
- react-intl / formatjs
- i18next
- Intl.PluralRules API
Detailed material is in separate files so this overview stays short. Read only the file whose topic matches the task; each one is self-contained. Paths are relative to the folder that holds this SKILL.md (in the full toolkit install, ~/.claude/skills/i18n-localization/).
| Topic | File | Covers |
|---|---|---|
| Date & Time | references/date-and-time.md | JavaScript Intl API; Time Zones; Relative Time |
| Numbers & Currency | references/numbers-and-currency.md | Number Formatting; Currency Formatting; Currency Best Practices |
| RTL (Right-to-Left) Support | references/rtl-right-to-left-support.md | RTL Languages; CSS for RTL; HTML Direction |
| Implementation (React) | references/implementation-react.md | react-intl Setup; Using Translations; Translation Files |
| Implementation (Node.js) | references/implementation-node-js.md | i18next Setup; Express Middleware |
| Translation Workflow | references/translation-workflow.md | File Structure; Key Naming Convention; Translation Management |
| Testing | references/testing.md | Pseudo-Localization; Locale Testing Checklist |
| Best Practices | references/best-practices.md | DO:; DON'T: |
| Checklist | references/checklist.md | Initial Setup; Per Feature; Launch |
references/best-practices.md (opens in a new tab)references/checklist.md (opens in a new tab)references/date-and-time.md (opens in a new tab)references/implementation-node-js.md (opens in a new tab)references/implementation-react.md (opens in a new tab)references/numbers-and-currency.md (opens in a new tab)references/rtl-right-to-left-support.md (opens in a new tab)references/testing.md (opens in a new tab)references/translation-workflow.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
i18n, l10n, internationalization, localization, globalization, multi-language
/tjn-skills:i18n-localizationfrom tjn-skills
npx claudepluginhub travisjneuman/.claude --plugin tjn-skills183 skills in this plugin
/accessibility-a11yWCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing/agent-accessibility-expertSpecialist subagent: WCAG compliance, screen reader compatibility, and inclusive design patterns. Use when auditing accessibility, fixing a11y issues, or designing inclusive UIs./agent-android-developerSpecialist subagent: Expert Android developer specializing in Kotlin, Jetpack Compose, and modern Android architectureOther plugins' skills for the same job