简体   繁体   English

如何国际化iOS公共plist资源文件而不是“ info.plist”?

[英]How to internationalize iOS common plist resource file not “info.plist”?

I found many articles show me how to use especial key Apple give us like "NSCameraUsageDescription" to internationalize the info.plist, but I can't find the way to internationalize common plist resource file. 我发现很多文章向我展示了如何使用Apple给我们的特殊密钥(如“ NSCameraUsageDescription”)来国际化info.plist,但是我找不到国际通用的plist资源文件的方法。 Anyone can help me? 有人可以帮助我吗? Thanks. 谢谢。

You can make almost any file localised in Xcode. 您几乎可以使任何在Xcode中本地化的文件。 But you will you will not be able to do it in the way Apple does with the info.plist . 但是您将无法像Apple在info.plist

If you select your custom plist file, you will see an option in the property inspector to localize... the file. 如果选择自定义plist文件,则将在属性检查器中看到一个用于对文件进行localize...的选项。 If you click this button, Xcode will create copies of the per localisation. 如果单击此按钮,Xcode将创建每个本地化的副本。

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

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