Skip to content

Full translation customization #1751

@sdirix

Description

@sdirix

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]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions