Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: Localization in MII using SAPUI5

$
0
0

Hi Harsh,

 

As mentioned by Christian, MII Catalog services will give you the encoded content of properties files, which cannot be used by the localization service of SAP UI5. This means to use the MII message bundle properties file with SAP UI5 application you could copy the same in your web folder and then use it as shown below:

 

jQuery.sap.require("jquery.sap.resources");

var oBundle = jQuery.sap.resources({url : "CM/<Project>/messages.properties", locale: "en"});

oBundle.getText("XLBL_KEY"); //this will give the localized value

 

Hope this help!

 

Do let us know if you find some other way for resolving this.

 

Thanks and Best Regards,

Ria


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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