Update frontend/next-i18next.config.js
Browse files
frontend/next-i18next.config.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
|
|
|
|
|
| 1 |
module.exports = {
|
| 2 |
i18n: {
|
| 3 |
defaultLocale: 'en',
|
| 4 |
locales: ['en', 'ja', 'zh'],
|
| 5 |
},
|
| 6 |
-
localePath:
|
| 7 |
};
|
|
|
|
| 1 |
+
const path = require('path');
|
| 2 |
+
|
| 3 |
module.exports = {
|
| 4 |
i18n: {
|
| 5 |
defaultLocale: 'en',
|
| 6 |
locales: ['en', 'ja', 'zh'],
|
| 7 |
},
|
| 8 |
+
localePath: path.resolve('./locales'),
|
| 9 |
};
|