Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

i18n not working for extended app after deployment

Hello experts,

I have extended Shopping Cart Fiori app. I would like to use a custom text in my extended app. Following the standard method, I have added this text in my and files of my extended app under i18n folder. I am able to access this and the custom text is displayed as well when I run the app in eclipse environment.

But the problem occurs after deploying the app to ECC. Somehow, I am unable to get the right values. I see in the network tab there are 2 property files which returns 404 error :

Could this be an issue?

It's strange how the text is visible when I run it in my eclipse environment and doesn't work after deployment.

Below is how Component.js file looks like in my extended app:

Please let me know where i'm I wrong. Help much appreciated.



Former Member


config : {

            bundleName : "i18n/",



init : function() {

        sap.ui.core.UIComponent.prototype.init.apply(this, arguments);

        var mConfig = this.getMetadata().getConfig();

        // Always use absolute paths relative to our own component

        // (relative paths will fail if running in the Fiori Launchpad)

        var oRootPath ="NAMESPACE");

        // Set i18n model

        var i18nModel = new sap.ui.model.resource.ResourceModel({

            bundleUrl : [oRootPath, mConfig.resourceBundle].join("/")


        this.setModel(i18nModel, "i18n");

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question