简体   繁体   English

iOS应用程序中调试和发布模式的语言是否不同?

[英]Different language for debug and release mode in iOS app?

I'm developing ann app that supports Swedish language that is not my native language. 我正在开发一款支持瑞典语而非我的母语的应用程序。 so if i put all the text in swedish from starting than it will be very difficult for me to debug the app. 因此,如果我从一开始就将所有文本都置为瑞典语,那么调试该应用程序将非常困难。 So is there a way that i can debug my app in English and release in Swedish? 那么,有什么方法可以调试英语的应用程序并以瑞典语发布? Like put text in .plist and check for debug mode?but i don't really know how to do that.Any help would be appreciated. 就像将文本放在.plist中并检查调试模式一样?但我真的不知道该怎么做。任何帮助将不胜感激。

You should use localisation. 您应该使用本地化。 take a look at the following tutorial: It was very helpful for me: http://www.appcoda.com/ios-programming-tutorial-localization-apps/ 请看以下教程:这对我很有帮助: http : //www.appcoda.com/ios-programming-tutorial-localization-apps/

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

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