diff --git a/next-i18next.config.js b/next-i18next.config.js index b1b50ec42..5d52e6dcf 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -1,3 +1,5 @@ +const path = require('path'); + module.exports = { // https://www.i18next.com/overview/configuration-options#logging i18n: { @@ -23,6 +25,7 @@ module.exports = { 'uk', 'zh', ], + localePath: path.resolve('./public/locales'), fallbackLng: 'en', localeDetection: true, returnEmptyString: false,