generator.client.common.i18n.i18n.ts Maven / Gradle / Ivy
import i18n from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import { homeTranslations } from './home/HomeTranslations';
import { toTranslationResources } from './Translations';
i18n.use(LanguageDetector).init({
fallbackLng: 'en',
debug: false,
interpolation: {
escapeValue: false,
},
resources: toTranslationResources(homeTranslations),
});
export default i18n;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy