diff --git a/internal/services/i18n.go b/internal/services/i18n.go index e7c0fac..0b9c36f 100644 --- a/internal/services/i18n.go +++ b/internal/services/i18n.go @@ -71,6 +71,7 @@ func (m *MessageCatalog) LookupErrorMessage( localizer *i18n.Localizer, ) string { fieldTag := fmt.Sprintf("%s-%s", field, tag) + message, ok := m.messages[fieldTag] if !ok { m.logger.WithField("field_tag", fieldTag).Info("no specific error message for field and tag")