Strategy to display value for a html select
I have a spring boot, application. On the client side, I use JQuery
I would like to know the strategy to display "static value" for a html select.
In the table communicationType I have:
1 - mobile 2 - fix 3 - email
Actually, I put directly the data in the html select.
Not nice for internationalization. Maybe it's not good to put this in a database.
Maybe it's better to don't have a table for this kind of data? Is it better to create an enum, put enum value in a properties file? Put value in db but use a kind of key for the string and put this key in a properties file?