i18n in error messages more abstract