on 2018 Dec 12 11:19 AM
I'm enhancing the main i18n file in my application like this:
var i18n = this.getCallbackAPI().getView().getModel('i18n');
i18n.enhance({bundleUrl:"/sap/bc/ui5_ui5/sap/workspace/webapp/app/i18n/i18n.properties"});
I have two different .properties files in my bundleUrl:
1. i18n_de.properties
2. i18n_en.properties
For some reason, the application only accesses the english file, even if the language is explicitly set to German in the URL.
I feel like I'm missing some part that enables the dynamic usage of the correct file.
(In the main application, there are two .properties files as well and the application always uses the correct language.)
What am I missing?
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.