We have a React Native app that contains localized language logic. The app language depends on the user's device settings.
Is there a way to send a message to a user's device that depends on the device language? For example, could I call the API with a list of possible alerts, using only the alert that has a matching ua_locale_language tag (matching the device language)?
Our alternative would be to store a user's language when they create an account, but this is sub-optimal because the user could easily change the device language before opening their app again.
Any advice would be greatly appreciated!
Comments
1 comment