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
My intention is to have customizable translation of property names depending on validated model. It could be smth like:
ValidationRules.ensure('myProp').on(target).setDisplayName((propertyName) => { return i18next.t(propertyName); })
The text was updated successfully, but these errors were encountered:
check out the customizing messages section in the docs. There's an example showing how to override getDisplayName.
getDisplayName
Sorry, something went wrong.
Also related: #328
@jdanyow setting getDisplayName on MessageProvider is useful but too global.
ok- this sounds like it's a duplicate of #328 - please add any thoughts/use-cases there.
Thanks!
No branches or pull requests
My intention is to have customizable translation of property names depending on validated model.
It could be smth like:
The text was updated successfully, but these errors were encountered: