Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Re: Application Languages SAPUI5

$
0
0

Hi Axel,

 

I found this code snippet in a template (I don´t use it anymore because I set the i18n model in my manifest.json file):

// Always use absolute paths relative to our own component
// (relative paths will fail if running in the Fiori Launchpad)
var oRootPath = jQuery.sap.getModulePath("test_hanatrial.mockdata");
// Set i18n model
var i18nModel = new sap.ui.model.resource.ResourceModel({  bundleUrl: [oRootPath, mConfig.resourceBundle].join("/")
});

Please try this (of course adapted to your environment / paths). I guess the issue is related to wrong path.

 

Best regards,

Sebastian


Viewing all articles
Browse latest Browse all 3354

Trending Articles



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