CodenameOne icon indicating copy to clipboard operation
CodenameOne copied to clipboard

[RFE] Add support for client-side localization of Push notifications

Open jsfan3 opened this issue 3 years ago • 1 comments

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

jsfan3 avatar Nov 01 '21 10:11 jsfan3

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.

shannah avatar Feb 03 '22 14:02 shannah