i18n configuration and some errors fixed