From nuxt-skills
Internationalizes Nuxt apps with @nuxtjs/i18n: locale config, message translation, localized routing, browser detection, and locale SEO.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nuxt-skills:nuxt-i18nThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Nuxt I18n owns locale messages, localized routes, language detection, and locale metadata. Nuxt owns the surrounding page, rendering, and server lifecycle.
Nuxt I18n owns locale messages, localized routes, language detection, and locale metadata. Nuxt owns the surrounding page, rendering, and server lifecycle.
@nuxtjs/i18n version, nuxt.config.*, i18n/i18n.config.*, locale files, and affected pages. The setup is understood when locale codes, files, defaultLocale, and the routing strategy agree.nuxt.config, Vue I18n options in i18n.config, and translated messages in locale files.nuxi prepare and the project's typecheck, then visit the affected route in the default and one secondary locale. The change is complete when both locales render the expected message, URL, language metadata, and fallback behavior.| Task | Open |
|---|---|
| Installation, locale objects, file layout, browser detection, or Vue I18n config | Configuration |
| Translation keys, interpolation, plurals, dates, numbers, or runtime message loading | Messages |
| Route strategies, localized links, switchers, custom paths, dynamic slugs, or SEO | Routing and SEO |
| Nuxt pages, middleware, data fetching, SSR state, or server routes | nuxt skill |
npx nuxi@latest module add @nuxtjs/i18n
export default defineNuxtConfig({
modules: ['@nuxtjs/i18n'],
i18n: {
defaultLocale: 'en',
locales: [
{ code: 'en', language: 'en-US', name: 'English', file: 'en.json' },
{ code: 'fr', language: 'fr-FR', name: 'Français', file: 'fr.json' },
],
},
})
{
"welcome": "Welcome"
}
Locale files resolve from i18n/locales/ by default. Use the same locale code in configuration, route helpers, locale files, and fallback rules.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub onmax/nuxt-skills --plugin nuxt-skills