makes i18n helper more configurable