Hello,
I am working in a .NET environment where the system occasionally generates log entries for a customer. Messages are then appended to a customer log which can be reviewed at a later time.
For example, if a customer is subscribing to a new service, or a customer has a failed payment attempt, these messages gets appended to the customer log.
At the moment, all messages are hardcoded into the code, e.g "Customer failed to finish payment of XX".
The problem is now that these messages need to be localized in a smart way, such that when a English user reviews the customer log, he gets the messages in English, and when a foreign user reviews the log, he gets them in his language.
What would be the best way to handle this scenario?