The vitality of Push Notifications is augmented by the fact that they are the most popular and trusted form for user engagement. Your app users could belong to any religion, age and demography, and it is imperative that they be targeted in their local language for better conversions, after all what’s better way to make someone read your message than in their native language. The usual messages that are sent via push notifications are about any product update, new features, discount offers, chats etc. With App42 Push Notification Service, it is extremely convenient to send multilingual push notifications to your app users across all platforms.
Let’s figure how you can achieve that with App42:
Kindly follow the steps put forth to send multilingual push notifications in your app:
- Register with App42 platform and create your app with
- Download the App42 SDK
- Follow the steps to enable push notifications in your Android app (GCM) registration & configuration of android phone’s process in App42 Console
Later, sticking with a few steps stated above, developers can send the multilingual push notification using the below code snippet. Here, users can send their messages in the terminology they want and set the meta headers where the data encoding is true.
[code java]String userName = "Nick";
String message = "消息,你必须发送";
HashMap<String,String> otherMetaHeaders = new HashMap<String,String>();
otherMetaHeaders.put("dataEncoding", "true");
pushNotificationService.setOtherMetaHeaders(otherMetaHeaders)
pushNotificationService.sendPushMessageToUser(userName, message, new App42CallBack() {
public void onSuccess(Object response)
{
PushNotification pushNotification = (PushNotification)response;
System.out.println("userName is " + pushNotification.getUserName());
System.out.println("Message is " + pushNotification.getMessage());
System.out.println("Expiry is"+pushNotification.getExpiry());
}
public void onException(Exception ex)
{
System.out.println("Exception Message"+ex.getMessage());
}
});[/code]
In the above code snippet, we have sent a Chinese character in the message. Similarly, you can send messages in other languages like Russian, Italian etc. Moreover, you can also send multilingual push notifications right from our AppHQ Managament Console using the following steps:
- Click on Unified Notifications once you have logged in AppHQ with product selected as App42 Cloud API
- Click on channels or users
- Click on Send Push
- Now to send message in language other than English, click on Non-English and simply type in the language of your choice
If you have queries or need further assistance, please feel free to reach us at support@shephertz.com
La viralidad de push está aumentando por el hecho que muchos más usuarios están usando Smartphones, además por más tiempo durante el día. Usuarios de móviles pertenecen a cualquier religión, edad y demografía, haciendo así Push un medio efectivo de comunicación. Los datos enviados vía push pueden ser en la forma de actualización de un producto, nuevas funciones, descuentos, chats, etc. si esta información llega en un formato el cual un usuario puede interpretarlo de manera fácil, esto comprometerá de gran manera a los usuarios de su aplicación. Debido a que los usuarios de su aplicación pueden pertenecer a diversas geografías, sería conveniente enviarle notificaciones push en su lenguaje regional. App42 soporta Notificaciones Push Multilingüe y puede ser fácilmente configurado para ello.
Por favor siga los siguientes pasos para enviar notificaciones push multilingüe en su aplicación
- Regístrese con la plataforma App42 y cree su aplicación con App42
- Descargue el SDK App42
- Siga los siguiente pasos para permitir notificaciones push en su aplicación Android (GCM) registro y configuración de procesos para teléfonos Android en App42 Console
Luego de haber seguido los pasos anteriores, desarrolladores pueden enviar notificaciones push multilingüe usando el fragmento de código de abajo. Aquí, los usuarios pueden enviar sus mensajes en la terminología que deseen y establecer los encabezados donde la codificación de datos es verdadera.
String userName = "Nick";
String message = "消息,你必须发送";
HashMap otherMetaHeaders = new HashMap();
otherMetaHeaders.put("dataEncoding", "true");
pushNotificationService.setOtherMetaHeaders(otherMetaHeaders)
pushNotificationService.sendPushMessageToUser(userName, message, new App42CallBack() {
public void onSuccess(Object response)
{
PushNotification pushNotification = (PushNotification)response;
System.out.println("userName is " + pushNotification.getUserName());
System.out.println("Message is " + pushNotification.getMessage());
System.out.println("Expiry is"+pushNotification.getExpiry());
}
public void onException(Exception ex)
{
System.out.println("Exception Message"+ex.getMessage());
}
});
En el código anterior, hemos enviado un carácter en chino en el mensaje. Similarmente, puede enviar mensajes en otros lenguajes como en ruso, italiano, etc. Además, también puede enviar mensajes usando nuestros métodos como sendPushToAll, sendPushToChannel, etc.
Por favor contáctenos a support@shephertz.com en caso de alguna duda o sugerencia.
Leave A Reply