-
Precisely, how is the return of The reason I asked this is because - when I was developing my app, and using Say I have pages I might be missing something here, so I am currentlyt using discussion instead of issues. If the locale is something stored server-side and instance-dependent, does that mean I need to enable something to use Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The server side is stateless and changing the locale means that a cookie is set in the browser. Therefore any request from a browser that has received this cookie will use the latest locale. Your situation sounds similar to https://next-intl-example-next-13.vercel.app/, which also has two routes. Does the behavior of the example look correct to you? It's hosted on Vercel, which is completely stateless. |
Beta Was this translation helpful? Give feedback.
The server side is stateless and changing the locale means that a cookie is set in the browser. Therefore any request from a browser that has received this cookie will use the latest locale.
Your situation sounds similar to https://next-intl-example-next-13.vercel.app/, which also has two routes. Does the behavior of the example look correct to you? It's hosted on Vercel, which is completely stateless.