Creating a localized iPhone app but allowing the user to change language for the application

后端 未结 4 1618
面向向阳花
面向向阳花 2020-12-13 15:59

I\'m working on a localized app and everything is working fine. The problem is I want to allow the user to specifically select the lenguage for the specific app, in the app

4条回答
  •  Happy的楠姐
    2020-12-13 16:32

    The trick to use specific language by selecting it from the app is to force the NSLocalizedString to use specific bundle depending on the selected language ,

    here is the post i have written for this http://learning-ios.blogspot.com/2011/04/advance-localization-in-ios-apps.html

    and here is the code of one sample app https://github.com/object2dot0/Advance-Localization-in-ios-apps

提交回复
热议问题