-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Milestone
Description
Is your feature request related to a problem? Please describe.
Users generally not only want to translate their schema labels, but also UI Schema labels
Describe the solution you'd like
The core library should invoke the already existing translation support also for UI Schema elements, e.g. Group
, Categorization
and Label
.
These translated labels need to be handed over in the respective bindings.
Examples:
type: Group
label: "My label"
should invoke the translator function
t('My label', 'My label', { uischema });
type: Group
label: "My label"
i18n: "my.group.key"
should invoke the translator function
t('my.group.key.label', 'My label', { uischema });
type: Group
i18n: "my.group.key"
should invoke the translator function
t('my.group.key.label', undefined, { uischema });
type: Group
label: false
i18n: "my.group.key"
should not invoke the translator function for the label
type: "Label"
text: "my.text"
i18n: "my.label.key"
should invoke the translator function
t('my.label.key.text', 'my.text', { uischema });
Describe alternatives you've considered
None
Framework
Core
RendererSet
Other (please specify in the Additional context field)
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels