Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Internationalization (i18n) in Next.js 13

201,740 Aufrufe • vor 2 Jahren •via X (Twitter)

9 Kommentare

Profilbild von Frank Spin
Frank Spinvor 2 Jahren

Good introduction. But in the real world you also need translated slugs in the corresponding language. So you need redirects and rewrites. Also important to add the right canonical links.

Profilbild von ibrahim uzun
ibrahim uzunvor 2 Jahren

don't forget this

Profilbild von JM
JMvor 2 Jahren

It would be also nice to have /en/hello and /es/hola but quite nice 👌🏽

Profilbild von Tomas Jansson
Tomas Janssonvor 2 Jahren

Nice. We have a similar solution implemented. Not exactly the same since all countries have different host name. One thing I would do for the default one is rewrite instead of redirect, but I guess that is a matter of use case and requirement.

Profilbild von Daniel Cranney 🇬🇧
Daniel Cranney 🇬🇧vor 2 Jahren

These animations are siiiiilk 😍

Profilbild von KODMAN
KODMANvor 2 Jahren

It works perfectly for server components, but then you have a client component. It's really hard to maintain. Next-translate package handles both.

Profilbild von MrMax
MrMaxvor 2 Jahren

what is the hello page is for /en but for /es you call it ola, how would this work ?

Profilbild von LukeberryPi
LukeberryPivor 2 Jahren

olha que foda @frontfabii @ducaswtf

Profilbild von Bart Proost
Bart Proostvor 2 Jahren

Keep m coming ❤️

Ähnliche Videos