Currently my application stores information as plain text of the local day of week name. (e.g. Montag, Dienstag). This is quite error prone (upper, lower case). I know there is the DayOfWeek enum. How to get the localized version from the enum is well documented and covered in many questions.
Problem is the other way round. The German word to the enum. I know the primitive way a switch case. For multiple languages I may get the translations for each enum value and switch through them. Is there a native solution?