getting wrong locale #1974
Unanswered
gigi-beridze
asked this question in
Q&A
Replies: 2 comments
-
@amannn can u help me with that.. thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i have e-commerce nextjs project where im using next-intl,
but i dont want to use middleware becouse i need all my components be SSG or static..
i follow documentation but the problem which i have is that sometimes its taking wrong language let's say if i have selected english lang its using second one, in one page maybe 2 component using right lang but 1 component using wrong lang.. if someone has same example, please give me way how i can fix it becouse there isnt nothing about this topic.. (i found one way to write setRequestLocale() in every page and layout but i think this is not best way, there will be some problems again..)
also there is console logs: (its calling 2 times, first time its right becouse its getting locale, I think becouse of that first its reading layout..) after that its undefined..)
Beta Was this translation helpful? Give feedback.
All reactions