diff --git a/examples/next-with-next-i18next-v13/next-i18next.config.js b/examples/next-with-next-i18next-v13/next-i18next.config.js index 371a0de..bc487d1 100644 --- a/examples/next-with-next-i18next-v13/next-i18next.config.js +++ b/examples/next-with-next-i18next-v13/next-i18next.config.js @@ -15,6 +15,8 @@ module.exports = { } : {}), serializeConfig: false, + // allows reloading translations on each page navigation / a hacky way to reload translations on the server at Next v13 + reloadOnPrerender: process.env.NODE_ENV === 'development', use: process.env.NODE_ENV !== 'production' ? typeof window !== 'undefined'