In some of my data objects, I have fields like “status”, defined as a multiple choice field in the schema.
In the UI, I want to use localized versions of the field choices, and since they will be called frequently, I want this to be fast and efficient. How can I, in an efficient manner:
- find the allowed values that the database schema allows, to use as values?
- populate the dropdown lists in the UI with the localized versions of the values to use as labels?
I guess that maybe using the localization framework will be the best for the last part, but not sure how to find out what values are allowed in the database so I have something to look for in the localization framework?