The server side detect events and store the information to notify the user. When the user opens one of the multiple clients (web, Android, iOS) it sees a indication that there are new notifications. The user can read the notification message.
The clients support multiple languages.
We got stuck searching for a good solution to solve the internationalization of the notifications. Our current possible solutions are:
- Generate already translated notification on server based on user information (last accessed language or profile preference).
- Generate notifications with an identifier and parameters and i18n on clients.
There are any best practices on this? Is there any proven solution on this?