Localize notification payload

北城以北 提交于 2019-12-18 09:11:09

问题


I am currently developing a localized application which uses push notifications. I would like to know if it is possible to localize the strings that are sent in the notification message, in the Text element for toast notification and in the Title element for a tile notification. I would like to use the localized resource strings I have created to localize the rest of the application.

I have seen that it is possible to localize the application title by using the '@' character in the main tile by following this guidance: http://msdn.microsoft.com/en-us/library/ff967550(v=VS.92).aspx but unfortunately I do not know if this behaviour can be reproduced whilst receiving a push notification. So finally, is there a way to localize push notifications?


回答1:


I also posted this issue on the msdn site:

http://forums.create.msdn.com/forums/t/96082.aspx

Therefore I will implement l8n on the server side as it seems to be the only way to localize notifications' payload.

Thank you Heinrich.



来源:https://stackoverflow.com/questions/8349117/localize-notification-payload

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!