Show TOC

I18n Resource Text CustomizationLocate this document in the navigation structure

The resource model can be enhanced with custom resource bundles.

The sap.ui.model.resource.ResourceModel can be enhanced to add custom I18n resource texts. The enhanced ResourceModel tries to resolve the i18n texts from the customized bundle first. If a text does not exist there, it tries to look up the i18n text in the standard bundle.

The following code snippet shows an example for an enhanced resource model:

var oModel = new sap.ui.model.resource.ResourceModel({bundleUrl:"./testdata/"});

The additional resource bundles are not part of the customizing configuration, but can be added as part of a controller extension.