We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Any plan to implement translation message on this package?
The text was updated successfully, but these errors were encountered:
Until the internalization is implemented, use messages:
messages := govalidator.MapData{ "username": []string{"required:আপনাকে অবশ্যই ইউজারনেম দিতে হবে", "between:ইউজারনেম অবশ্যই ৩-৮ অক্ষর হতে হবে"}, "phone": []string{"digits:ফোন নাম্বার অবশ্যই ১১ নম্বারের হতে হবে"}, }
Sorry, something went wrong.
@nipeharefa It would be great if the package support translation, can you please share some more information on how this can be achieved?
You can use MapData to translate the validation errors like @cyruzin shared an example.
MapData
No branches or pull requests
Hi,
Any plan to implement translation message on this package?
The text was updated successfully, but these errors were encountered: