我有一个iPad应用程序(XCode 5.1,iOS 7.0,ARC,Storyboards)。我在其中一个UIViews中有一个UITextView。如果我在UITextView中放置文本,它将不会本地化(至少这是我的经验)。所以,我做了以下操作,将此代码放在该页面的 viewDidLoad 方法中:
oMessage.text = NSLocalizedString(@"Tell us how we can make this a better app by leaving feedback. If you leave your email address, we will respond to your request. ",nil);
[super viewDidLoad];
其中一个LocalizedStrings看起来像这样(它与代码中的内容匹配):
/* No comment provided by engineer. */
"Tell us how we can make this a better app by leaving feedback. If you leave your email address, we will respond to your request. "
= "我々はフィードバックを残すことで、この優れたアプリを作ることができる方法を教えてください。あなたのメールアドレスのままにしておくと、私たちはあなたの要求に応答します。";
当我运行该应用时,它不显示任何语言的任何本地化。任何想法为什么以及如何解决这个问题?
答案 0 :(得分:0)
感谢您的帮助......感谢您的时间...... SD