Multi-language push templates
Nexconn supports multi-language push notifications via push templates. The server matches the user's push language preference against template content to deliver localized push notifications.
info
Users must set their push language via the client SDK. Otherwise, the server uses the App Key's default push language.
Create a push template
Create multi-language push templates in the console (up to 100 templates).
- Go to Custom push content in the console.
- Set the Template ID, Template Name, and Push Content for each language.
Templates take effect 15 minutes after creation.
Use a push template
Set the templateId in message pushOptions to enable a multi-language push template. The server matches the recipient's push language preference.
warning
- Leave
pushTitleandpushContentempty when using templates, as they override template content. - The client's push language identifier must exactly match the console template identifier (e.g.,
en_USvsen-USwill not match).