Setting up Mono repo #1172
Unanswered
BjoernRave
asked this question in
Q&A
Replies: 2 comments
-
Not sure if you found an answer but I think you might have to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
By the way, you trick of deleting |
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
-
I created a mono repo with turbo and pnpm and I have my main app in
apps/backend
which is a nextjs project using the pages router, my locales inpackages/locales
and I have a shared lib inpackages/shared
which is also using theuseTranslation
hook.I have a
i18n.js
file in my backend folder with the following content:The translations for the backend app are being loaded fine, however the translations for the comonents inside the shared folder are not being loaded. Is there a way to make it work?
Another weird thing is that in my second app in
apps/pds
which is another using nextjs project using the app router the translations for the shared components are loading fine, even though thei18n.js
file is the same in both.next.config.js
in backend:next.config.js
in pds:Beta Was this translation helpful? Give feedback.
All reactions