Using i18n instead of custom methods for error messages