i18n-date-patterns

Implement React i18n with react-i18next, ICU MessageFormat, and RTL support.

217|20|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/yonatangross/orchestkit --skill i18n-date-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-date-patterns
Source: https://github.com/yonatangross/orchestkit/tree/main/plugins/ork/skills/i18n-date-patterns
Command: npx skills add https://github.com/yonatangross/orchestkit --skill i18n-date-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the complexities of internationalizing React applications, ensuring all user-facing content, dates, and numbers are correctly formatted and displayed for any locale.

Core Features & Use Cases

  • Universal UI Strings: Manages all user-facing text using react-i18next.
  • Locale-Aware Formatting: Handles dates, times, currency, lists, and numbers with useFormatting and @/lib/dates.
  • Advanced Pluralization: Implements complex plural rules using ICU MessageFormat.
  • RTL Support: Ensures proper display for right-to-left languages like Arabic and Hebrew.
  • Use Case: Developing a SaaS product that needs to serve users in the US, Germany, and Israel. This Skill ensures all UI elements, dates (e.g., "January 6, 2026" vs. "6 בינואר 2026"), and currency (USD vs. ILS) are displayed correctly for each user's selected language.

Quick Start

Implement internationalization for all user-facing strings and date formatting in your React application.

Frequently Asked Questions about i18n-date-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement internationalization in a React application?

React internationalization involves managing UI strings with react-i18next, applying locale-aware date and currency formatting, and handling complex pluralization with ICU MessageFormat. This approach ensures consistent display across multiple languages and RTL support.

How does ICU MessageFormat work for pluralization in React?

ICU MessageFormat handles complex pluralization in React by defining rules for different locale categories. It allows you to write a single string that automatically adapts its grammar and plural form based on the user's selected language and count value.

What is the best way to format dates and currency for different locales in React?

The best way to format dates and currency in React is using custom formatting hooks like useFormatting. This approach applies locale-aware formatting to ensure values like USD and ILS, or varying date structures, display correctly for each user.

How do I add Right-to-Left (RTL) language support to my React app?

Add Right-to-Left (RTL) language support in React by configuring your i18n setup to adjust UI direction for languages like Arabic and Hebrew. This ensures proper layout and display of all user-facing content.

Does react-i18next handle locale-aware formatting for dates and numbers?

react-i18next manages universal UI strings, while locale-aware formatting for dates and numbers is handled through custom formatting hooks like useFormatting. This separation ensures accurate display for varying regional formats.

Can I use this approach to localize a SaaS product for users in the US, Germany, and Israel?

Yes, you can localize a SaaS product for users in the US, Germany, and Israel by applying these patterns. It ensures all UI elements, dates, and currency like USD and ILS display correctly for each user's selected language.