skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
travisjneuman/.claude145 installs

i18n-localization

Internationalization and localization for global applications. Use when adding multi-language support, handling regional formats, or preparing apps for global markets.

How do I install this agent skill?

npx skills add https://github.com/travisjneuman/.claude --skill i18n-localization
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a set of educational resources and best practices for implementing internationalization (i18n) and localization (L10n) in web applications. It provides standard code examples for React and Node.js using well-known libraries and built-in JavaScript APIs. No security risks were identified.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    1/1 file flagged

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

Internationalization & Localization

Comprehensive guide for building globally-ready applications.

Key Concepts

Terminology

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

What Needs Localization?

CategoryExamples
TextUI labels, messages, errors
Numbers1,234.56 vs 1.234,56
DatesMM/DD/YYYY vs DD/MM/YYYY
Times12-hour vs 24-hour
Currency$1,234.56 vs €1.234,56
Plurals1 item vs 2 items vs 5 items
DirectionLTR vs RTL
ImagesCultural appropriateness
ColorsCultural significance
NamesOrder, formality

Text & Messages

Externalize All Strings

// 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}}"
}

Message Format

// 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}
}"

Pluralization

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

Reference files

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/).

TopicFileCovers
Date & Timereferences/date-and-time.mdJavaScript Intl API; Time Zones; Relative Time
Numbers & Currencyreferences/numbers-and-currency.mdNumber Formatting; Currency Formatting; Currency Best Practices
RTL (Right-to-Left) Supportreferences/rtl-right-to-left-support.mdRTL Languages; CSS for RTL; HTML Direction
Implementation (React)references/implementation-react.mdreact-intl Setup; Using Translations; Translation Files
Implementation (Node.js)references/implementation-node-js.mdi18next Setup; Express Middleware
Translation Workflowreferences/translation-workflow.mdFile Structure; Key Naming Convention; Translation Management
Testingreferences/testing.mdPseudo-Localization; Locale Testing Checklist
Best Practicesreferences/best-practices.mdDO:; DON'T:
Checklistreferences/checklist.mdInitial Setup; Per Feature; Launch

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/travisjneuman/.claude/i18n-localization">View i18n-localization on skillZs</a>