on 06-11-2014 4:27 PM
Hello All,
I want to use a localization Meta-inf at workbench in the irpt page. Is it possible?
I created a bundle files in the root and i use the code below to get the text:
var oBundle = jQuery.sap.resources({url : "/XMII/CM/Test/i18n.properties"}); | |
oBundle.getText("Title"); |
But i want to use meta-inf in the workbench and i get a error if i use this location.
Regards,
Marcelo
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 });
|
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcelo,
Use Localization key like this in your IRPT page:
{##Title}
Also have a look at this link for information about Localization in MII:
SAP Library - MII Visualization Services
Regards,
Rohit Negi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.