Loading video...
Video Failed to Load
I've finally published a new version of next-international, my fully typesafe i18n library for Next.js This release adds initial support for the App Router, with both Client and Server Components:
42,459 views • 3 years ago •via X (Twitter)
7 Comments

Tom Lienard3 years ago
cc @alvarlagerlof, I think you were interested

Tom Lienard3 years ago
On the Server Components side, it uses the `cache` function from React to share the current user's locale to sub-components I've also tried Server Contexts but that seemed too complex for what I need. But I'm not sure if `cache` is really meant for this use case 😅

Enyel Sequeira3 years ago
@nextjs Does this changes the routes? Like mysite/en or mysite/es? I know next-i18 does this, just wondering if with this package we can avoid that?

Tom Lienard3 years ago
@nextjs Currently yes, it might change/be configurable in the future

YetAnotherDev #_ 🇺🇦3 years ago
@nextjs That’s dope!

Megamind3 years ago
@nextjs This is crazy .

Damián Ricobelli3 years ago
@nextjs What you did is amazing! Congratulations 🙌 By the way: is there any way to handle plurals?
