sap.ui.define([
...
"sap/ui/model/resource/ResourceModel" ],
function (... ,
ResourceModel ) {
...
onInit : function () {
...
var i18nModel = new ResourceModel({
bundleName: "ui5.walkthrough.i18n.i18n"
});
this.getView().setModel(i18nModel, "i18n");
},
...
Aus controller/App.controller.js