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
Offer the possibility to translate any part of JSON Forms
At the moment form labels can only be translated via exchanging JSON Schemas or UI Schemas. Errors can only be translated using ajv-errors. Some parts of the off-the-shelf renderers can't be translated at all.
Describe the solution you'd like
Offer a customization option which allows the user to translate any shown string. This is a simple string -> string transformation. It will be called with the determined label as input. If no translation is given the simple id function is used.
This allows the integration of any translation framework with JSON Forms.
Describe alternatives you've considered
We could also hand over more information to this translation function.
Describe for which setup you like to have the improvement
Framework: [all]
RendererSet: [all]
The text was updated successfully, but these errors were encountered:
Offer the possibility to translate any part of JSON Forms
At the moment form labels can only be translated via exchanging JSON Schemas or UI Schemas. Errors can only be translated using
ajv-errors
. Some parts of the off-the-shelf renderers can't be translated at all.Describe the solution you'd like
Offer a customization option which allows the user to translate any shown string. This is a simple
string -> string
transformation. It will be called with the determined label as input. If no translation is given the simple id function is used.This allows the integration of any translation framework with JSON Forms.
Describe alternatives you've considered
We could also hand over more information to this translation function.
Describe for which setup you like to have the improvement
Framework: [all]
RendererSet: [all]
The text was updated successfully, but these errors were encountered: