Skip to content
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

Translated captions #133

Open
tbee opened this issue May 4, 2024 · 1 comment
Open

Translated captions #133

tbee opened this issue May 4, 2024 · 1 comment

Comments

@tbee
Copy link

tbee commented May 4, 2024

It is common to write code in English even if the user interface is intended to run in a different language. So this result that CrudUI has english labels in a non-english application. What is the proper way to override the labels / column header?

I've dived into the code and saw the use of propertyIdToHumanFriendly, but I did not see an easy way to inject a different caption.

@tbee
Copy link
Author

tbee commented May 4, 2024

I have been partially successful by:

  • manually adding each column in the grid
  • manually setting the field captions on the form factory
  • manually replacing the button captions on the form factory

But the form titles seem out of reach.

I would expect a single place where to define the caption for a property, that is then used on both grid and form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant