正在加载视频...

视频加载失败

Internationalization (i18n) in Next.js 13

201,794 次观看 • 3 年前 •via X (Twitter)

9 条评论

Frank Spin 的头像
Frank Spin3 年前

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 的头像
ibrahim uzun3 年前

don't forget this

JM 的头像
JM3 年前

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

Tomas Jansson 的头像
Tomas Jansson3 年前

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 🇬🇧 的头像
Daniel Cranney 🇬🇧3 年前

These animations are siiiiilk 😍

KODMAN 的头像
KODMAN3 年前

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 的头像
MrMax3 年前

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

LukeberryPi 的头像
LukeberryPi3 年前

olha que foda @frontfabii @ducaswtf

Bart Proost 的头像
Bart Proost3 年前

Keep m coming ❤️

相关视频