aj-geddes avatar

Internationalization I18n

Covers the full stack of making your app work in multiple languages, from setting up i18next or React-Intl to handling the tricky stuff like pluralization rules that vary by language, RTL layouts for Arabic and Hebrew, and locale-aware formatting for dates and currencies. Includes references for both frontend (JavaScript/TypeScript) and backend (Python gettext) approaches, plus practical guides on translation workflows and locale detection. The best practices are solid reminders about text expansion and why you shouldn't concatenate translated strings. If you're building anything that needs to support international users beyond just swapping out a few English strings, this gives you the roadmap and gotchas to avoid.

skills.sh installs
642
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill internationalization-i18n --agent claude-code

Installs into .claude/skills of the current project.

Files

Internationalization (i18n) & Localization

Table of Contents

Overview

Comprehensive guide to implementing internationalization and localization in applications. Covers message translation, pluralization, date/time/number formatting, RTL languages, and integration with popular i18n libraries.

When to Use

  • Building multi-language applications
  • Supporting international users
  • Implementing language switching
  • Formatting dates, times, and numbers for different locales
  • Supporting RTL (right-to-left) languages
  • Extracting and managing translation strings
  • Implementing pluralization rules
  • Setting up translation workflows

Quick Start

Minimal working example:

// i18n.ts
import i18next from "i18next";
import Backend from "i18next-http-backend";
import LanguageDetector from "i18next-browser-languagedetector";

await i18next
  .use(Backend)
  .use(LanguageDetector)
  .init({
    fallbackLng: "en",
    debug: process.env.NODE_ENV === "development",

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
10xhubed avatarmarket-regimes0xhubed/agent-trading-arenaMarket regime detection and regime-specific trading strategies. Use when analyzing market conditions to select appropriate strategy.641skills.sh installs
2aj-geddes avatarinformation-architectureaj-geddes/useful-ai-promptsOrganize and structure information for clarity and discoverability. Design navigation systems, hierarchies, and mental models that match user needs.641skills.sh installs
3charon-fan avatarapi-documentercharon-fan/agent-playbookapi documenter641skills.sh installs
4jwynia avatarsystemic-worldbuildingjwynia/agent-skillsBuild worlds through cascading consequences from speculative changes. Use when introducing new technologies, species, or alternate histories and need to trace r640skills.sh installs
5shopify avatarshopify-merchant-onboardingshopify/shopify-ai-toolkitSet up and connect a Shopify store from your AI assistant. Use when the user wants to: set up my Shopify store, connect my store, install Shopify plugin, get st640skills.sh installs
6charon-fan avatarapi-designercharon-fan/agent-playbookapi designer639skills.sh installs