i18n-patterns

Community

Patterns for i18n and localization.

Authorqazuor
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Internationalization (i18n) and localization (l10n) patterns for web applications. Covers translation file structure, locale detection, pluralization, RTL support, number/date formatting, and framework-specific integration.

Core Features & Use Cases

  • Namespace-based translation structure: Organize translations by locale and feature areas (e.g., common, auth, errors).
  • Locale detection & switching: Detect user locale via URL, cookies, or headers and load appropriate messages.
  • Pluralization & ICU messages: Use ICU syntax for robust pluralization across languages and interpolations.
  • RTL support & CSS considerations: Implement direction-aware styling and layout with logical properties.
  • Use Case: Build a bilingual app that switches from English to Arabic and renders RTL layout without layout glitches.

Quick Start

Use i18n-patterns to structure your translation files and implement locale detection in your Next.js project.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: i18n-patterns
Download link: https://github.com/qazuor/claude-code-knowledge/archive/main.zip#i18n-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.