diff --git a/next-i18next.config.js b/next-i18next.config.js index 74dc519..5e1ff69 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -1,14 +1,11 @@ +// eslint-disable-next-line @typescript-eslint/no-require-imports +const path = require('path'); + module.exports = { i18n: { locales: ['ko', 'en'], defaultLocale: 'ko', }, reloadOnPrerender: true, - localePath: './public/locales', - fallbackLng: { - default: ['ko'], - }, - interpolation: { - escapeValue: false, - }, + localePath: path.resolve('./public/locales'), // 절대 경로 사용 };