@patricio0312rev/i18n-frontend-implementer

Comprehensive library of +100 production-ready development skills covering every aspect of modern software engineering. From project setup to production deployment, from security hardening to performance optimization.

View in AI SkillSafe app
Scanned · no findings
0 downloads
0 stars
0 demos
SKILL.md
namei18n-frontend-implementer
descriptionAdds internationalization (i18n) infrastructure with translation plumbing, scalable key strategy, formatters for dates/numbers/currency, plural rules, and language switching. Use when implementing "internationalization", "translations", "multi-language support", or "i18n".

i18n Frontend Implementer

Implement internationalization with next-intl, react-i18next, or similar libraries.

Core Setup

1. Install: npm install next-intl or react-i18next 2. Create dictionaries: locales/en.json, locales/es.json 3. Provider setup: Wrap app with IntlProvider 4. Translation keys: Hierarchical namespace structure 5. Formatters: Date, number, currency formatting 6. Language switcher: Dropdown or flags UI

Translation Structure

{
  "common": { "nav": { "home": "Home", "about": "About" } },
  "auth": { "login": "Sign In", "logout": "Sign Out" },
  "errors": { "required": "{field} is required" }
}

Usage Examples

const t = useTranslations('common');
<h1>{t('nav.home')}</h1>

// With plurals
t('items', { count: 5 }) // "5 items"

// With formatting
<p>{formatDate(date, { dateStyle: 'long' })}</p>

Best Practices

Use namespaces for organization, extract all text to translations, handle plurals properly, format dates/numbers per locale, provide language switcher, support RTL languages, lazy-load translations.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@patricio0312rev/i18n-frontend-implementer/verified)](https://skillsafe.ai/skill/@patricio0312rev/i18n-frontend-implementer/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@patricio0312rev/i18n-frontend-implementer/installs)](https://skillsafe.ai/skill/@patricio0312rev/i18n-frontend-implementer/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@patricio0312rev/i18n-frontend-implementer/scan)](https://skillsafe.ai/skill/@patricio0312rev/i18n-frontend-implementer/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@patricio0312rev/i18n-frontend-implementer/eval)](https://skillsafe.ai/skill/@patricio0312rev/i18n-frontend-implementer/)