简体   繁体   English

如何本地化应用名称?

[英]How to localize the app name?

I wrote a game with cocos2d and translated all the image and text in the game in two different language.我用 cocos2d 写了一个游戏,并用两种不同的语言翻译了游戏中的所有图像和文本。

When the app launches, I load different resource according to the locale of the device and this worked all OK.当应用程序启动时,我根据设备的区域设置加载不同的资源,这一切正常。

Then when I upload this app for review, I first named it say "test".然后当我上传这个应用程序进行审核时,我首先将它命名为“测试”。 Then in the localization part I add a language "Japanese".然后在本地化部分,我添加了一种语言“日语”。

But I found that in the "Japanese meta data part", I can edit a lot of things except the "app name" which is "test".但是我发现在“日语元数据部分”中,我可以编辑很多东西,除了“应用程序名称”是“测试”。 But I want my app to show different names according to the locale of the device also.但我希望我的应用程序也根据设备的区域设置显示不同的名称。

Can somebody tell me how to get this work?有人可以告诉我如何完成这项工作吗? Thanks in advance...提前致谢...

您可以在每个特定于语言的目录中创建一个名为InfoPlist.strings的文件,并为CFBundleDisplayName设置一个特定于语言的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM