The resource model is used as a wrapper for resource bundles. In data binding you use the resource model instance, for example, to bind texts of a control to language-dependent resource bundle properties.
A resource model is instantiated with a bundleName or a bundleURL. The bundle name is the name of the resource bundle and equals a SAPUI5 module name within the require/declare concept. The bundle URL points to a resource bundle. If you use the bundle name, the file must have the .properties suffix. If you do not specify a locale, the system uses the login language: var oModel = new sap.ui.model.resource.ResourceModel({bundleName:"myBundle",locale:"en"});
#!jsvar myBundle = oModel.getResourceBundle();
After the resource model has been instantiated, you have a model containing the resource bundle texts as data.