问题描述
我已经按照某个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";
我还尝试在CFBundleDisplayName
和CFBundleName
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
希望有帮助.
这篇关于无法本地化iOS应用程序捆绑包的显示名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!