aralroca / next-translate-plugin

Next-translate plugin for i18n in Next.js 🌍 - Load page translations and use them in an easy way!
MIT License
30 stars 17 forks source link

Label are not rendered after page reload #57

Closed brunoscopelliti closed 1 year ago

brunoscopelliti commented 1 year ago
"next": "^13.4.8"
"next-translate": "^2.4.4"
"next-translate-plugin": "^2.4.4"
node v18.15.0
macOS Ventura

It seems useTranslations after page reload does't work for server components.

I've created this repro.zip where you can reproduce the issue.

brunoscopelliti commented 1 year ago

Can't replicate with version 2.5.0-canary.1.

aralroca commented 1 year ago

@brunoscopelliti thanks to report it and share the repro example. I close it since we fixed this problem with conflicts with layout namespaces or loading pages and with 2.5.0-canary.3 I see that it is working fine again.