CFBundleDisplayName没有任何功能

时间:2011-03-30 02:03:00

标签: iphone

我添加了代码

CFBundleDisplayName="MyAppInFrench";

到fr.lproj的文件Localizable.strings

我还设置了'应用程序已本地化显示名称'进行检查。

但法语环境中的应用名称仍显示“MyAppInEnglish”,

它看起来像CFBundleDisplayName不起作用

欢迎任何评论

1 个答案:

答案 0 :(得分:0)

按照简单步骤在 Info.plist 文件中本地化CFBundleDisplayName的值...

1->如果您的项目还没有,请创建 en.lproj 目录。

2->在 en.lproj 目录中创建一个名为 InfoPlist.strings的文件。

3->将此行添加到文件中:“CFBundleDisplayName”=“YourNewAppName”;

将您的文件名Localizable.strings更改为InfoPlist.strings