Quantcast
Viewing all articles
Browse latest Browse all 4841

Re: MII Localization Javascript

Hello all.

 

I tried to do on this way : sap.ui.getCore().byId('teste').setLabel("{##teste}") but not works.

 

I created a bundle file on root project with this code and works fine.

 

var oBundle = jQuery.sap.resources({url : "/XMII/CM/projectTeste/i18n.properties",locale: lang });

 

sap.ui.getCore().byId('teste').setLabel(oBundle.getText("N.MassaReal"));

 

Thanks


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>