If you’re building with Next.js, we’ve got good news: @transifex/react now works out of the box with the newer App Router.
What’s new
- Drop-in support for
T,UT,LanguagePicker,TXProvider,and our hooks in App Router projects - no extra setup needed. - A documented way to show translations on pages that render on the server, so your first render arrives already translated (better for SEO and initial load speed).
- A documented way to keep interactive pieces (like the language switcher) working smoothly for visitors moving between pages.
Nothing to migrate
If you’re on the older Pages Router, nothing changes for you since this is purely additive.
Get started: update to @transifex/react@8.0.2 and check out the updated guide for step-by-step examples.