在Xcode 4中本地化iPhone App名称 [英] Localize iPhone App name in Xcode 4

查看:108
本文介绍了在Xcode 4中本地化iPhone App名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我选择Info.plist文件以便可以对应用程序名称进行本地化并尝试构建项目时,构建失败并显示错误,指出无法找到Info.plist文件。

When I select the Info.plist file so that the App name can be localized and try to build the project, the build fails with an error saying that the Info.plist file cannot be found.

如果我将Info.plist文件路径更改为 PROJECTNAME / en.lproj / Info.plist 它会构建,但应用程序的名称未本地化;如果我在Portugues iPhone上运行它有英文名称。

If I change the Info.plist file path to PROJECTNAME/en.lproj/Info.plist it builds, but the App's name is not localized; if I run on a Portugues iPhone it has the English name.

为什么?

谢谢,

RL

推荐答案

添加 InfoPlist.strings 到您的项目并进行本地化。用不同的语言表示:

Add InfoPlist.strings to your project and localize it. Put this in different languages:

"CFBundleDisplayName" = "App Name";

这篇关于在Xcode 4中本地化iPhone App名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆