Posts

Showing posts from June, 2015

Localizing Azure Push Notification in Server end

  Suppose you mobile application supports localization. And you need to send localized push notifications for your mobile app users. In that case now Azure push notification has templates which supports localization. See the following link which gives good guidance on it. Use Notification Hubs to send localized breaking news In this post I will show how we can use resource files and localize some messaged to be sent. 1. First Configure the Resource file as you want with the messages. 2. Configure the supported languages for the notification. public const string LangzhSG = "zh-sg" ;        public const string LangenUS = "en-us" ;        public const string LangenGB = "en-gb" ;        public const string LangitIT = "it-it" ;        public const string LangsiLK = "si-lk" ;   public static List < string > SupportedLanguages      {          get { return new List < string > { Langzh