Loading video...
Video Failed to Load
Announcing next-international 1.0.0! ✨ Still fully typesafe i18n keys, params, and plurals 💻 New documentation website 🚀 Static Rendering support for App Router 🔥 New `rewriteDefault` strategy
20,949 views • 2 years ago •via X (Twitter)
11 Comments

💻 We now have a brand new documentation website that covers both App and Pages Router:

🚀 Static Rendering with the App Router is now fully supported! Your localized websites can be even faster by pre-generating the HTML at build-time:

🔥 We have a new `rewriteDefault` strategy to only hide the locale in the URL for the default locale: /en/about → /about /fr/about → /fr/about

This release also includes some bug fixes and minor breaking changes to some specific APIs. Follow the upgrade guide here!

great work buddy! Thanks for redirect one :) much appriciated!

Thanks a lot @tomlienard , your library was the only one working with my app router project, the only thing I"m missing is the compatibility with the 18n Ally VScode extension.

Thanks! @baptisteArno actually made a PR last week to add support for next-international to i18n-ally:

Hey tomi… let me be the first to say this… I am working fully with next international for @transcribefy and we are shipping with multi language out of the box soon. Thanks for the amazing work you and the contributors did. Its a great package.

amazing work

Does it supports static export?

It should, but I think Static Export disables middlewares, so you won’t be able to redirect to the default locale or rewrite the URL to hide the locale
