We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b7a148 commit 9146f8cCopy full SHA for 9146f8c
1 file changed
next-i18next.config.js
@@ -1,14 +1,15 @@
1
module.exports = {
2
i18n: {
3
+ localeDetection: false, // Disable locale detection for now. It prevents next to redirect user to /<locale> on /
4
defaultNS: "messages",
5
defaultLocale: "en",
- fallbackLng: "en",
6
locales: ["en", "fr"],
7
- pluralSeparator: "___",
8
- // This option will reload your translations whenever serverSideTranslations is called
9
- reloadOnPrerender: true,
10
-
11
- // allow an empty value to count as invalid (by default is true)
12
- returnEmptyString: false,
13
},
+ fallbackLng: "en",
+ pluralSeparator: "___",
+ // This option will reload your translations whenever serverSideTranslations is called
+ reloadOnPrerender: true,
+
+ // allow an empty value to count as invalid (by default is true)
14
+ returnEmptyString: false,
15
};
0 commit comments