Locale fixes
This commit is contained in:
@@ -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
@@ -18,7 +18,10 @@ const { i18n } = require("./next-i18next.config");
|
||||
|
||||
module.exports = withAxiom(
|
||||
withTM({
|
||||
i18n,
|
||||
i18n: {
|
||||
...i18n,
|
||||
localeDetection: false,
|
||||
},
|
||||
async rewrites() {
|
||||
return {
|
||||
afterFiles: [
|
||||
|
||||
Reference in New Issue
Block a user