HomeiOS Developmentios - The right way to set i18n default translation language for...

ios – The right way to set i18n default translation language for notification language utilizing Swift


I am implementing a hybrid app on iOS and utilizing i18n to regulate the notification language, supporting English (EN) and French (FR).

At present, once I set the language in Common/Language & Area, the app works within the corresponding language.

Nevertheless, I would like the default notification language to be primarily based on the code obtained from the backend. For instance, if the Language & Area is ready to EN and the backend returns FR, I would like the app to obtain notifications in FR.

I’ve looked for an answer to this subject, however I have never discovered any related documentation on setting the notification language. Can anybody assist me discover a answer for this drawback?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments