What problem does it solve?
Developers need to reach global audiences by localizing a Next.js app, keeping UI strings, routing, and content synchronized across languages. This skill provides a structured workflow to add languages, translate messages, and translate blog content while preserving placeholders and formatting.
Core Features & Use Cases
- Locale management: define supported locales and add new ones in a single consistent workflow.
- Translation orchestration: manage translations in messages/[locale].json and translate blog content under bundled_static/content/blog for each locale.
- Blog content translation: update MDX frontmatter and body with translations while preserving structure and links.
- Use case: when a user requests a new language, update locale definitions, generate locale-specific message files, translate UI text and blog content, and update the language switcher indicators.
Quick Start
Add a new locale by updating the locale definitions, duplicating en.json into the new locale, translating all strings and blog MDX, and adjusting routing and fonts as needed.