CodenameOne
CodenameOne copied to clipboard
[RFE] Add support for client-side localization of Push notifications
As far as I know, currently the only way to send Push messages in the user's language is to have the server know the language to be used and translate the messages before sending them.
It would be useful to be able to localize them client-side. Could you evaluate whether it is possible to add this feature to Codename One?
Here are the instructions for iOS:
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CreatingtheNotificationPayload.html
And here is a discussion related to Android:
https://stackoverflow.com/questions/14958412/android-gcm-push-notification-for-localization-application
Thank you
Thanks for the links. I'm not sure when we'll be able to get around to this as the queue is pretty full. Personally localizing on the server-side seems easier, more flexible, and more modular than localization on the client - but that's just me.