简体   繁体   English

iphone,本地化,info.plist

[英]iphone, localization, info.plist

If I declare "Japanese, French, German, Simplified Chinese, Thai" in the "Localization" field of my app's myApp-info.plist file, will the iTunes Store detect this and correctly advertise these (together with the "Localization native development region" of "English") as the languages in which my app is available? 如果我在我的应用程序的myApp-info.plist文件的“本地化”字段中声明“日语,法语,德语,简体中文,泰语”,iTunes Store会检测到这些并正确地宣传这些(以及“本地化本机开发区域”) “英语”)作为我的应用程序可用的语言?

If not, what should I do to make sure these localizations are advertised? 如果没有,我该怎么做才能确保广告这些本地化?

Should I replace the "Localization" entry with comma-separated string of ISO_639-1 codes "en, fr, de, ja, th, zh-Hans"? 我应该用逗号分隔的ISO_639-1代码“en,fr,de,ja,th,zh-Hans”替换“Localization”条目吗?

Thanking you in advance. 提前感谢你。

In your Info.plist, you need a "Localizations" (CFBundleLocalizations is the raw key name) entry of array type. 在Info.plist中,您需要数组类型的“本地化”(CFBundleLocalizations是原始密钥名称)条目。 Add all the supported languages to the array as separated items of the form "English", "German", etc. You don't need to use ISO codes. 将所有支持的语言添加到数组中,作为“英语”,“德语”等形式的分隔项。您不需要使用ISO代码。

On iTunes Connect, you will also want to localize the description of your app when you do the submission. 在iTunes Connect上,您还需要在提交时本地化应用程序的说明。

At the end of the document iOS User Experience - Internationalization Programming Topics it says that the words English, French, Portuguese,... are now deprecated and their ISO codes should be used instead. 在文档的最后, iOS用户体验 - 国际化编程主题,它说英语,法语,葡萄牙语,......现在已被弃用,而应使用其ISO代码。

(I wanted to add this as a comment to the most voted post, and that's why I registered in the first place, but apparently I don't have enough reputation to do so yet. Oh! And thank you, Julio, your answer helped me a lot. ;) ) (我想把这个评论添加到评论最多的帖子中,这就是我首先注册的原因,但显然我还没有足够的声誉这么做。哦!谢谢你,Julio,你的回答有帮助我很多。;))

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

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