Skip to Content
Jul 24, 2017 at 05:46 PM

i18n SAPUI5 global translation in eclipse

679 Views Last edit Sep 01, 2017 at 06:48 PM 2 rev

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


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?