无法本地化 iOS 应用程序包显示名称 [英] Could not localize iOS app bundle display name
问题描述
我已按照一些 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 应用程序包显示名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!