如何在Info.plist文件中本地化CFBundleDisplayName的值?

时间:2022-01-24 23:28:10

When I look inside the Info.plist file in Xcode, the Property List Editor shows me an value that looks like an variable:

当我查看Xcode中的Info.plist文件时,属性列表编辑器显示了一个看起来像变量的值:

${PRODUCT_NAME}

How / where can I set up localized names for my app?

如何/在哪里可以为我的应用设置本地化名称?

1 个解决方案

#1


You can create a localized file named InfoPlist.strings, containing the name of your application:

您可以创建名为InfoPlist.strings的本地化文件,其中包含应用程序的名称:

CFBundleDisplayName = "Name of the App";

(Just like Localizable.strings)

(就像Localizable.strings一样)

#1


You can create a localized file named InfoPlist.strings, containing the name of your application:

您可以创建名为InfoPlist.strings的本地化文件,其中包含应用程序的名称:

CFBundleDisplayName = "Name of the App";

(Just like Localizable.strings)

(就像Localizable.strings一样)