Push notification translation
Push notification translation allows your users to receive notifications in their preferred languages. Users can set up to four preferred languages. If messages are sent in one of those languages, the notifications won't be translated. If messages are sent in a language other than the preferred languages, the notifications will be translated into the user's first preferred language. In addition, the messages translated into other preferred languages will be provided in the sendbird
property of a notification payload.
Note: A specific user's preferred languages can be set with our Platform API's update a user action.
The current user's preferred languages can be set by passing the UserUpdateParams()
instance as an argument to a parameter in the updateCurrentUserInfo()
method as shown below.
If successful, the following notification payload will be delivered to the current user's device.