Skip to Content

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

Fallback of Text Translation File not called

Hi Experts

I have a small SAP Fiori App with an file to store texts for Translation.

Problem is, the Texts are not shown. Reason is, that the Compiler searches for an files but not for my file.

I have a similar App where the Compiler first searches also for the file, but as he cannot find one, he uses my fallback file.

I also tried to rename my file to but also my texts are not shown in this App.

Can anyone tell whats wrong?

Thanks and regards,


Former Member

ya for that in component.js or else in your controller you should add this code,


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

            bundleUrl: "i18n/"


        sap.ui.getCore().setModel(oI18nModel, "i18n");

        this.setModel(oI18nModel, "i18n");

0 View this answer in context

Helpful Answer

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