Для локализации я использую i18next в своем приложении create response. Я получаю ошибку перевода i18next :: translator: missingKey en в консоли. Здесь может кто-нибудь помочь?
Ниже мой i18n. js файл
import i18n from 'i18next';
import Backend from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
import { TRANSLATE_FILE_PATH } from 'constants/AppConstants';
i18n
.use(Backend)
.use(LanguageDetector)
.use(initReactI18next)
.init({
backend: {
loadPath: TRANSLATE_FILE_PATH,
},
fallbackLng: 'en',
debug: true,
interpolation: {
escapeValue: false,
},
});
export default i18n;
введите описание изображения здесь