work with templates and i18n