Hello,
I need your advice on how to carry out this operation:
When a user makes a choice on a drop-down menu, the information is stored in the database. For example, the user must choose a language: French, English, Spanish, etc.
This information stored in the database can’t be sent exactly as it is to the API, because the API only understands the terms: FRE (for French), ENG (for English), SPA (for Spanish), etc.
So I’m trying to understand how, when a user makes a choice on a drop-down menu, the information communicated to the API can be different (French → FRE).
Obviously, the user can change his choice at a later date, so it has to be saved (french, english, spanish, etc).
Matthieu