I was try to localize my iOS App. And can't do this.
我试图本地化我的iOS应用程序。而且不能这样做。
- In info.plist I have:
- 在info.plist中我有:
Bundle Name = $(PRODUCT_NAME)
捆绑名称= $(PRODUCT_NAME)
Bundle Display Name = $(PRODUCT_NAME)
捆绑显示名称= $(PRODUCT_NAME)
- Created a infoPlist.strings file
- 创建了一个infoPlist.strings文件
- Localized this file.
- 本地化此文件。
- In each localized file I wrote:
- 在我写的每个本地化文件中:
"CFBundleDisplayName" = "My_App_Name";
“CFBundleDisplayName”=“My_App_Name”;
"CFBundleName" = "My_App_Name";
“CFBundleName”=“My_App_Name”;
- Added a Bool to info.plist named "Application has localized display name" and changed it to YES.
- 在info.plist中添加了一个名为“Application has localized display name”的Bool,并将其更改为YES。
I was changed iPhone language for infoPlist.strings localizations, but this doesn't take effect. App name doesn't change from name, that I wrote at the project creating.
我为infoPlist.strings本地化更改了iPhone语言,但这没有生效。应用程序名称不会改变我在项目创建时写的名称。
1 个解决方案
#1
9
The reason for bundle name doesn't localize was that I name localize file "infoPlist.strings". It should be "InfoPlist.strings" (I in upper case like in Info.plist).
捆绑名称未本地化的原因是我将本地化文件命名为“infoPlist.strings”。它应该是“InfoPlist.strings”(我在Info.plist中的大写字母)。
#1
9
The reason for bundle name doesn't localize was that I name localize file "infoPlist.strings". It should be "InfoPlist.strings" (I in upper case like in Info.plist).
捆绑名称未本地化的原因是我将本地化文件命名为“infoPlist.strings”。它应该是“InfoPlist.strings”(我在Info.plist中的大写字母)。