Open robin-gustafsson opened 2 years ago
Hi
yeah this would happen if you try to use the t
or any i18n functions in a client component. If you have use client
in the component or a parent component, you will face this error.
I wouldn't call this repo as "solution", consider it just fiddling around trying Next 13 with i18n. The real solution should come from Next team here, https://github.com/vercel/next.js/issues/41980
Thanks! Sorry I missed that part. I've tried your solution with Storyblok and it works well in the dev environment.
Looking forward to find a way to get i18n working with Next 13 Server components.
Hi, tried you solution but got this error on build. Any thoughts?
Using node version ^16