crudui icon indicating copy to clipboard operation
crudui copied to clipboard

Translated captions

Open tbee opened this issue 9 months ago • 1 comments

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 avatar May 04 '24 06:05 tbee

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.

tbee avatar May 04 '24 07:05 tbee