i18n-frontend-implementer

Implements frontend internationalization with translation keys, formatters, and language switching.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/alecanche04-cyber/examenprograma --skill i18n-frontend-implementer-alecanche04-cyber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-frontend-implementer
Source: https://github.com/alecanche04-cyber/examenprograma/tree/main/EXAMEN_PROGRA_2-master/.agents/skills/i18n-frontend-implementer
Command: npx skills add https://github.com/alecanche04-cyber/examenprograma --skill i18n-frontend-implementer-alecanche04-cyber

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires next-intl, react-i18next.

What problem does it solve? Adding multi-language support to a frontend application requires setting up translation infrastructure, organizing keys, handling plurals, and formatting locale-specific values, which is error-prone when done ad hoc. ## Core Features & Use Cases - Translation Infrastructure: Sets up next-intl or react-i18next with provider wrapping and dictionary files like locales/en.json and locales/es.json. - Scalable Key Strategy: Organizes translations into hierarchical namespaces such as common, auth, and errors for maintainability. - Locale Formatting & Plurals: Provides date, number, and currency formatters plus plural rule handling and a language switcher UI. - Use Case: When building a React or Next.js app that must ship in English and Spanish, use this Skill to scaffold the dictionaries, wire the IntlProvider, and replace hardcoded strings with translation hooks. ## Quick Start Add internationalization to my React app with English and Spanish translations, plural support, and a language switcher.

Frequently Asked Questions about i18n-frontend-implementer

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

FAQPage Schema
How do I add internationalization to a React app?

Install react-i18next or next-intl, create dictionary files like locales/en.json, wrap your app with the IntlProvider, and replace hardcoded strings with the useTranslations hook. Organize keys into namespaces such as common, auth, and errors.

next-intl vs react-i18next for multi-language support?

next-intl is tailored for Next.js with server component and routing integration, while react-i18next works across any React setup with a mature plugin ecosystem. Both support namespaced keys, plurals, and locale formatting.

How do I handle pluralization in translations?

Pass a count parameter to the translation function, such as t('items', { count: 5 }), and define plural variants in the dictionary. The i18n library selects the correct plural form based on the active locale's rules.

Does i18n formatting support dates and currency per locale?

Yes, locale-aware formatters handle dates, numbers, and currency using the active locale, for example formatDate(date, { dateStyle: 'long' }). This ensures values render correctly for each language without manual formatting logic.

How do I support RTL languages in my frontend?

Set the document direction attribute based on the active locale and use logical CSS properties instead of physical ones. The i18n setup should detect RTL languages like Arabic and switch layout direction automatically.