1. There should be ONLY ONE default message-resources attribute, otherwise it will find no message. If there are more than one resource files, we need to use key attribute to take part of them. For example:
<message-resource parameter="ApplicationResources" />
<message-resource key="Image" parameter="ApplicationImageResources"/>
<message-resource key="Sound" parameter="ApplicationSoundResources"/>more needed to be added...
本文介绍了如何正确配置多个资源文件的方法,确保应用程序能够正确加载所需的资源。通过使用 key 属性指定不同的资源文件,可以实现对不同类型的资源进行管理和加载。
519

被折叠的 条评论
为什么被折叠?



