We're excited to announce the stable release of Nuxt I18n v10. This update brings new features, performance improvements and better DX.
🌟 Highlights
- Improved Nuxt 4 Support: Better compatibility with the latest features in Nuxt v4.
- Reliable Server-Side Redirection: We've improved how server-side redirections are handled.
- Custom Routes with
definePageMeta
: A more flexible way to define custom routes for your localized pages. - Strict SEO Head Management: An experimental feature for more precise control over SEO head tags.
- Vue I18n: Upgraded to
vue-i18n
v11.
See the New Features page for more details.
⚡ Preview: Translation Key Stripping
This release includes progress on a feature that strips unused translation keys from the server-rendered HTML at runtime. This makes your HTML response smaller, leading to faster response times.
Note
This feature is experimental and undocumented, to try it out see the configuration option types.
🛠️ Under the Hood
A lot of time was spent on refactors which should make the module easier to maintain and contribute to.
This also works towards the vision outlined in the I18n Routing RFC, with the aim to make the routing logic more portable and potentially part of Nuxt's core in the future.
⬆️ Migrating to v10
The upgrade path should be straightforward for most users. Breaking changes in this version are mostly removals of deprecated options and the stabilization of previously experimental features.
For a complete list of breaking changes, please see the Migration Guide.
🙏 Sponsors
Thank you for your support!