Next.js Discord

Discord Forum

Trying to make my app localized

Unanswered
Karim Alomar posted this in #help-forum
Open in Discord
When I deploy my app on Vercel and switch between languages, the locale does not update correctly. As shown in the video, switching languages causes a black screen to briefly appear before the form is rendered. This behavior doesn't occur in local development and seems specific to the deployed environment.

so how can fix this issue?

3 Replies

Asiatic Lion
which package are u using for internationalizaiton ?
@Asiatic Lion which package are u using for internationalizaiton ?
I didn't use any external packages; I simply followed the approach outlined in the official Next.js documentation.
https://nextjs.org/docs/app/guides/internationalization