Skip to content

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

next-i18next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const path = require("path");
2+
13
module.exports = {
24
i18n: {
35
// These are all the locales you want to support in
@@ -7,4 +9,5 @@ module.exports = {
79
// a non-locale prefixed path e.g. `/hello`
810
defaultLocale: "en",
911
},
12+
localePath: path.resolve("./public/locales"),
1013
};

0 commit comments

Comments
 (0)