Making i18n in the validation class optional, closes #5085