i18n-frontend-implementer

i18n Frontend Implementer

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "i18n-frontend-implementer" with this command: npx skills add monkey1sai/openai-cli/monkey1sai-openai-cli-i18n-frontend-implementer

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

rate-limiting-abuse-protection

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

readme-generator

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

data-retention-archiving-planner

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

modal-drawer-system

No summary provided by upstream source.

Repository SourceNeeds Review