initializing i18next in core.js