Translating dynamic pages with Nexti18-next is not working on production only #2177
-
In my codebase, dynamic SSG pages (static pages that do not require backend data) are not translated in production, it returns the variable_value in For example: Here is my code: package.json:
pages/services/[type].tsx
Here are the resources I've used to create |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Follow this: https://locize.com/blog/next-i18n-static/ If it still does not work, please provide a minimal reproducible example github repository. |
Beta Was this translation helpful? Give feedback.
Follow this: https://locize.com/blog/next-i18n-static/
And compare your code with: https://github.com/i18next/next-i18next/tree/master/examples/ssg
If it still does not work, please provide a minimal reproducible example github repository.