如何在Info.plist文件中本地化CFBundleDisplayName的值? [英] How can I localize the value of CFBundleDisplayName in the Info.plist file?
本文介绍了如何在Info.plist文件中本地化CFBundleDisplayName的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在Xcode中查看Info.plist文件时,属性列表编辑器向我显示了一个看起来像变量的值:
When I look inside the Info.plist file in Xcode, the Property List Editor shows me an value that looks like an variable:
${PRODUCT_NAME}
如何/在哪里为我的应用设置本地化名称?
How / where can I set up localized names for my app?
推荐答案
您可以创建一个名为InfoPlist.strings的本地化文件,其中包含应用程序的名称:
You can create a localized file named InfoPlist.strings, containing the name of your application:
CFBundleDisplayName = "Name of the App";
(就像Localizable.strings)
(Just like Localizable.strings)
这篇关于如何在Info.plist文件中本地化CFBundleDisplayName的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文