Hi expoerts,
I am facing with problem with translation using i18n. I was reading all tutorials, and nothing is working.
i created model in my controller
and using
----view-----
var oPage = new sap.m.Page({ title : "{i18n>shellTitle}", sap.ui.controller("dyn2.test", { content : [oTab] });
----- controler -------
onInit: function() { var oResourceModel = new sap.ui.model.resource.ResourceModel({ bundleName : "dyn2.i18n" }); // Assign the model object to the SAPUI5 core using the name "i18n" sap.ui.getCore().setModel(oResourceModel, "i18n");
any idea what is wrong?