crudui
crudui copied to clipboard
Translated captions
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.
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.