Skip to content

[Bug]: no translation for "alphaunicode" #1480

@hu3bi

Description

@hu3bi

What happened?

Use translations for Problems with alphaunicode tag.
There are no registered translations for it, thus nothing gets translated.

I looked at the code and noticed, that they are missing:
https://github.com/go-playground/validator/blob/master/translations/en/en.go (other languages are missing as well)

Version

github.com/go-playground/validator/v10 v10.28.0

Example Code

type Data struct{
  Name string `validate:"required,max=15,alphaunicode"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions