diff --git a/next-i18next.config.js b/next-i18next.config.js index a64f3380b0..402b72363c 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -3,10 +3,7 @@ const i18nConfig = require("@calcom/config/next-i18next.config"); /** @type {import("next-i18next").UserConfig} */ const config = { - i18n: { - ...i18nConfig, - localeDetection: false, - }, + ...i18nConfig, localePath: path.resolve("../web/public/static/locales"), }; diff --git a/next.config.js b/next.config.js index 0e22193499..8c56d42d09 100644 --- a/next.config.js +++ b/next.config.js @@ -18,7 +18,10 @@ const { i18n } = require("./next-i18next.config"); module.exports = withAxiom( withTM({ - i18n, + i18n: { + ...i18n, + localeDetection: false, + }, async rewrites() { return { afterFiles: [