Locale fixes

This commit is contained in:
zomars
2022-10-14 13:16:46 -06:00
parent d38015c737
commit 7708ee83a1
2 changed files with 5 additions and 5 deletions
+1 -4
View File
@@ -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"),
};
+4 -1
View File
@@ -18,7 +18,10 @@ const { i18n } = require("./next-i18next.config");
module.exports = withAxiom(
withTM({
i18n,
i18n: {
...i18n,
localeDetection: false,
},
async rewrites() {
return {
afterFiles: [