无法本地化iOS应用程序捆绑包的显示名称

无法本地化iOS应用程序捆绑包的显示名称

问题描述:

我已经按照某个SO问题的答案来定位我的应用名称.

I have followed the answers to some SO question to localize my app's name.

InfoPlist.strings(基础):

InfoPlist.strings (Base):

CFBundleDisplayName = "Name In English";
CFBundleName = "Name In English";

InfoPlist.strings(阿拉伯语(沙特阿拉伯)):

InfoPlist.strings (Arabic (Saudi Arabia)):

CFBundleDisplayName = "Name In Arabic";
CFBundleName = "Name In Arabic";

我还尝试在CFBundleDisplayNameCFBundleName

InfoPlist.strings文件位于我的app.next的根目录下,但在Info.plist文件之后,但是在本地化之后,它被移到了Base.lproj目录和ar-SA.lproj目录.

InfoPlist.strings file is located at the root directory of my app.next to Info.plist file, but after localized, it was moved to Base.lproj dir and ar-SA.lproj dir.

但是,我的应用程序未在iPhone主屏幕的图标下使用本地化名称.

However, my app is not using the localized name under its icon in the iPhone's home screen.

我为您做了示例项目:

https://github.com/jurajantas/localizationTest

希望有帮助.