Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit d01b578

Browse files
committed
Adds localPath fix to address missing locale issues on build
1 parent e8fedce commit d01b578

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/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
defaultLocale: 'en',
@@ -16,5 +18,6 @@ module.exports = {
1618
'zh-HK',
1719
'zh-TW',
1820
],
21+
localePath: path.resolve('./public/locales'),
1922
},
2023
};

0 commit comments

Comments
 (0)