Video wird geladen...
Video konnte nicht geladen werden
Internationalization (i18n) in Next.js 13
201,740 Aufrufe • vor 2 Jahren •via X (Twitter)
9 Kommentare

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.

don't forget this

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

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.

These animations are siiiiilk 😍

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

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

olha que foda @frontfabii @ducaswtf

Keep m coming ❤️
Ähnliche Videos
Server-side search with Next.js 13 and server components
Alex Sidorenko
208,540 Aufrufe • vor 3 Jahren
