How to translate push notifications message


when sending a picture through the chat, a push notification “[User] has sent you a picture” is sent to the other user device in English language.

We need to translate that message to Spanish by default (or if it is not possible, to modify that message).


Hello @ProjectMarket,
We have recently added an option in the push notifications module where you can send the text that needs to be displayed along with the message. For this you need to add the text in the metadata for the message. In the metadata field of the message, you need to add the pushNotification key before sending the message.
The push notification extension will check if this key exists in the metadata of the message and if it does, it will set the same text for the push notification. If the key is not present, it will display the default text.

Hope this helps.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.