secondsky avatar

Internationalization I18n

This handles multi-language support across the full stack, from i18next and React-Intl for frontend work to Python's gettext for backend apps. You get translation workflows with interpolation and pluralization, proper date and currency formatting with the Intl API, and RTL language support using logical CSS properties. The examples are practical, covering everything from basic string translation to relative time formatting. One thing worth noting: it pushes you toward logical properties and pseudo-localization testing from the start, which saves you from painful refactoring later when you add Arabic or Hebrew support. Good coverage of the boring but critical details that make internationalization actually work in production.

skills.sh installs
455
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill internationalization-i18n --agent claude-code

Installs into .claude/skills of the current project.

Files

Internationalization (i18n)

Implement multi-language support with proper translation management and formatting.

i18next Setup (React)

import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';

i18n
  .use(LanguageDetector)
  .use(initReactI18next)
  .init({
    fallbackLng: 'en',
    interpolation: { escapeValue: false },
    resources: {
      en: { translation: { welcome: 'Welcome, {{name}}!' } },
      es: { translation: { welcome: '¡Bienvenido, {{name}}!' } }
    }
  });

// Usage
const { t } = useTranslation();
<h1>{t('welcome', { name: 'John' })}</h1>

Pluralization

// Translation file
{
  "items": "{{count}} item",
  "items_plural": "{{count}} items",
  "items_zero": "No items"
}

// Usage
t('items', { count: 0 })  // "No items"
t('items', { count: 1 })  // "1 item"
t('items', { count: 5 })  // "5 items"

Date/Number Formatting

// Dates
new Intl.DateTimeFormat('de-DE', {
  dateStyle: 'long',
  timeStyle: 'short'
}).format(new Date());

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
Backend & APIs, Automation & Workflows
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1bobmatnyc avatargolang-http-frameworksbobmatnyc/claude-mpm-skillsGo HTTP API development with net/http, Chi, Gin, Echo, and Fiber frameworks453skills.sh installs
2tencentcloudbase avatarcloudbase-guidelinestencentcloudbase/skillsEssential CloudBase (TCB, Tencent CloudBase, 云开发, 微信云开发) development guidelines. MUST read when working with CloudBase projects, developing web apps, mini progr453skills.sh installs
3manutej avatarfastapi-developmentmanutej/luxor-claude-marketplaceModern Python API development with FastAPI covering async patterns, Pydantic validation, dependency injection, and production deployment452skills.sh installs
4dotneet avatargoogle-calendardotneet/claude-code-marketplaceAccesses the Google Calendar and Tasks API. Use this skill to view or manage calendars, events, schedules, or Google tasks.451skills.sh installs
5bobmatnyc avatarhono-rpcbobmatnyc/claude-mpm-skillsHono RPC - end-to-end type-safe API client generation with hc client and TypeScript inference450skills.sh installs
6bobmatnyc avatarflaskbobmatnyc/claude-mpm-skillsFlask - Lightweight Python web framework for microservices, REST APIs, and flexible web applications with extensive extension ecosystem449skills.sh installs