diff --git a/frontend/next-i18next.config.js b/frontend/next-i18next.config.js index bc66d834a..df089c27c 100644 --- a/frontend/next-i18next.config.js +++ b/frontend/next-i18next.config.js @@ -1,7 +1,9 @@ /** @type {import('next-i18next').UserConfig} */ +const path = require('path'); module.exports = { i18n: { locales: ['en', 'zh-CN'], defaultLocale: 'en', + localePath: path.resolve('./public/locales') }, };