Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 3 Jahren •via X (Twitter)

7 Kommentare

Profilbild von Tom Lienard
Tom Lienardvor 3 Jahren

cc @alvarlagerlof, I think you were interested

Profilbild von Tom Lienard
Tom Lienardvor 3 Jahren

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 😅

Profilbild von Enyel Sequeira
Enyel Sequeiravor 3 Jahren

@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?

Profilbild von Tom Lienard
Tom Lienardvor 3 Jahren

@nextjs Currently yes, it might change/be configurable in the future

Profilbild von YetAnotherDev #_ 🇺🇦
YetAnotherDev #_ 🇺🇦vor 3 Jahren

@nextjs That’s dope!

Profilbild von Megamind
Megamindvor 3 Jahren

@nextjs This is crazy .

Profilbild von Damián Ricobelli
Damián Ricobellivor 3 Jahren

@nextjs What you did is amazing! Congratulations 🙌 By the way: is there any way to handle plurals?

Ähnliche Videos