Skip to content

Scheduling infrastructure for absolutely everyone.

Locale fixes

zomars7708ee83a118
diff --git a/next-i18next.config.js b/next-i18next.config.js
index a64f3380b00..402b72363cf 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 0e22193499f..8c56d42d09a 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: [