i18n configuration and view refactoring