on 06-10-2015 3:36 PM
Hi Experts
,
I have a small SAP Fiori App with an i18n.properties file to store texts for Translation.
Problem is, the Texts are not shown. Reason is, that the Compiler searches for an i18n_DE_de.properties files but not for my i18n.properties file.
I have a similar App where the Compiler first searches also for the i18n_DE_de.properties file, but as he cannot find one, he uses my fallback i18n.properties file.
I also tried to rename my file to i18n_DE_de.properties but also my texts are not shown in this App.
Can anyone tell whats wrong?
Thanks and regards,
Sebastian
Hi Sebastian
The i18n.properties file are the original texts defined in development that are used in the Fiori App.
You should find in the App, under the i18n the files for the different languages:
.....
Regards
Raquel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add this in your component.js
var oI18nModel = new sap.ui.model.resource.ResourceModel({
bundleUrl: "i18n/i18n.properties"
});
sap.ui.getCore().setModel(oI18nModel, "i18n");
this.setModel(oI18nModel, "i18n");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.