You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generate JSON schemas based on thy applications metadata (Entity, Properties, Validation-Rules) etc. and then use ajv-i18n to get translated (german) messages out of AJV that get rendered into the otherwise translated UI.
This works great except that I don't see a way to translate the property names. I get messages like:
sollte das erforderliche Attribut firstName enthalten
The word "firstName" is English and should be "Vorname". I have this text already on hand when generating the JSON schema and even when validating.
How can I feed in my custom property name or let's better say "Property Caption" into the messages?
Btw: From PoV there are two things: a) propertyName (technical, internal) and b) propertyCaption (the thing to show to the user/message).
The text was updated successfully, but these errors were encountered:
I generate JSON schemas based on thy applications metadata (Entity, Properties, Validation-Rules) etc. and then use ajv-i18n to get translated (german) messages out of AJV that get rendered into the otherwise translated UI.
This works great except that I don't see a way to translate the property names. I get messages like:
The word "firstName" is English and should be "Vorname". I have this text already on hand when generating the JSON schema and even when validating.
How can I feed in my custom property name or let's better say "Property Caption" into the messages?
Btw: From PoV there are two things: a) propertyName (technical, internal) and b) propertyCaption (the thing to show to the user/message).
The text was updated successfully, but these errors were encountered: