used new version of require i18next plugin to get a working build