简体   繁体   English

如何更改iPhone中的应用程序语言

[英]How to change the language of application in iphone

I am developing an application, in which i am giving user to select other language , by default the application will be in English , if user selects other language from the list. 我正在开发一个应用程序,在该应用程序中,我允许用户选择其他语言,如果用户从列表中选择其他语言,则默认情况下该应用程序将为英语。 The application language should be get changed to the respective language. 应将应用程序语言更改为相应的语言。 I know the concept of Localization, but if there any way to do that, if i want to do that using localization please suggest me proper steps for that. 我知道本地化的概念,但是如果有任何方法可以做到,如果我想使用本地化来做到这一点,请为我建议适当的步骤。 please suggest me solution for that. 请为我建议解决方案。

Well, usually the language of the application is set from the language of the system (in phone settings), that's how most iPhone apps operate. 好吧,通常应用程序的语言是从系统的语言(在电话设置中)设置的,这就是大多数iPhone应用程序的操作方式。 If you go with that route - you get 'locale switching' for free, and NSLocalizedString method takes care of picking correct strings for you. 如果使用该路由,则可以免费获得“语言环境切换”, NSLocalizedString方法将为您选择正确的字符串。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM