next-translate icon indicating copy to clipboard operation
next-translate copied to clipboard

How can I get correct locale in React SPA

Open jasonho1123 opened this issue 4 years ago โ€ข 1 comments

I try using next-translate v1.1.0๏ผ›next v10.0.5

I get correct locales('fr') in page localhost:3000/fr However when I use Router or Link (React SPA) to go page localhost:3000/fr/solution, I get defaultLocale('en') , but when I reload the page I get correct locales('fr')

jasonho1123 avatar Oct 06 '21 06:10 jasonho1123

It would be nice if you could share a repo reproducing the bug so we can help ๐Ÿ˜Š

aralroca avatar Oct 06 '21 07:10 aralroca