Skip to content

Enable to customize/internacionalize the DeleteDialog messages and button texts #1808

New issue

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

Closed
SharkSharp opened this issue Sep 24, 2021 · 1 comment

Comments

@SharkSharp
Copy link

Is your feature request related to a problem? Please describe.

My software is not in English so I can't use the dialogs even though it's a good feature

Describe the solution you'd like

Woud be nice to set the header, body and button texts in the options of the uischema

Describe alternatives you've considered

Add a way to customize/internacionalize the dialog messages and button texts in the uischema/config

Framework

React

RendererSet

Material

Additional context

image

@sdirix
Copy link
Member

sdirix commented Sep 29, 2021

Hi @SharkSharp, yes that is certainly an issue. At the moment you need to provide a custom renderer to replace those messages.

There is an open issue for that and we plan to target this issue in general at some point in the 3.x lifespan of JSON Forms. The solution will probably be based on allowing the developer to provide a custom translation function, so it should be easily integrate-able with all popular translation frameworks.

If you would like to customize the options in the mean time we would be willing to accept a contribution which allows the customization of these labels via the ui schema options.

I'll close this ticket in favor of the general ticket #1751

@sdirix sdirix closed this as completed Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants