
"One of the most requested features was compatibility with Turbopack. With Next.js 16 pushing for better build performance, we've updated next-translate-plugin to play nice with the Rust-based bundler. You get the speed of Turbopack without losing your localized content."
"Next.js 15 introduced a significant change: params and searchParams are now asynchronous. Version 3.0.0 handles this natively, ensuring your translations work perfectly in both Server and Client components without the dreaded "params is not a promise" errors."
"We've introduced a new createTranslation helper specifically designed for the app directory architecture. We've also stabilized the internal t function to prevent unnecessary re-renders and improved the overall DX for server-side translation."
Next-translate 3.0.0 marks a major release focused on modernity and stability after a year without updates. The update adds Turbopack compatibility for improved build performance with Next.js 16, natively handles asynchronous params and searchParams introduced in Next.js 15, and stabilizes the App Router with a new createTranslation helper. The release includes enhanced Trans component functionality with nested array support and improved pluralization, explicit formatElements export for custom formatting, and full TypeScript 5.3+ support with improved auto-completion. The maintainer commits to resuming regular maintenance and prioritizing the project going forward.
Read at Aralroca
Unable to calculate read time
Collection
[
|
...
]