import i18n from 'i18next';
import Backend from 'i18next-http-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
.use(initReactI18next) // bind react-i18next to the instance
escapeValue: false, // not needed for react!!
// react i18next special options (optional)
// override if needed - omit if ok with defaults
bindI18n: 'languageChanged',
transSupportBasicHtmlNodes: true,
transKeepBasicHtmlNodesFor: ['br', 'strong', 'i'],