开发者

How to change application language without restart/closing app?

开发者 https://www.devze.com 2023-03-07 15:00 出处:网络
I have implemented language change after restarting my app but my question is can I change my application language without r开发者_C百科estarting/closing it?

I have implemented language change after restarting my app but my question is can I change my application language without r开发者_C百科estarting/closing it?

Any idea how to achieve this?


You can achieve this using the base functionalities of iOS, i.e. localization. What you can do is localizing your app in different languages, and let the iOS itself chose the right language to display when the application starts.

This way, if a user uses the iDevice in English, he/she will see your app in English (if you supported it as a localized language), if he/she uses the iDevice in French, he/she will see your app in French (again, if supported).

The official Apple page about Internationalization and Localization (also called i18n and l10n), can be of great help.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号