Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Internationalization (i18n) in Next.js 13

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

9 Yorum

Frank Spin profil fotoğrafı
Frank Spin3 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 uzun3 yıl önce

don't forget this

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

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

Tomas Jansson profil fotoğrafı
Tomas Jansson3 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 🇬🇧3 yıl önce

These animations are siiiiilk 😍

KODMAN profil fotoğrafı
KODMAN3 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ı
MrMax3 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ı
LukeberryPi3 yıl önce

olha que foda @frontfabii @ducaswtf

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

Keep m coming ❤️

Benzer Videolar