Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Internationalization (i18n) in Next.js 13

201,740 görüntüleme • 2 yıl önce •via X (Twitter)

9 Yorum

Frank Spin profil fotoğrafı
Frank Spin2 yıl önce

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.

ibrahim uzun profil fotoğrafı
ibrahim uzun2 yıl önce

don't forget this

JM profil fotoğrafı
JM2 yıl önce

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

Tomas Jansson profil fotoğrafı
Tomas Jansson2 yıl önce

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.

Daniel Cranney 🇬🇧 profil fotoğrafı
Daniel Cranney 🇬🇧2 yıl önce

These animations are siiiiilk 😍

KODMAN profil fotoğrafı
KODMAN2 yıl önce

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

MrMax profil fotoğrafı
MrMax2 yıl önce

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

LukeberryPi profil fotoğrafı
LukeberryPi2 yıl önce

olha que foda @frontfabii @ducaswtf

Bart Proost profil fotoğrafı
Bart Proost2 yıl önce

Keep m coming ❤️

Benzer Videolar