无法本地化iOS应用程序捆绑包的显示名称 [英] Could not localize iOS app bundle display name

查看:127
本文介绍了无法本地化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

希望有帮助.

这篇关于无法本地化iOS应用程序捆绑包的显示名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆