on 02-13-2017 6:59 AM
Hi,
I'm working on an SAPUI5 application using SAP WEB IDE. And have deployed the said application in our backend server. Unfortunately, it does not read my i18n.properties in my i18n folder so all my label text are blank.
I have set my resourceroots as follow.
I am referencing the i18n correctly? Here is how I call it via manifest.json
It's working properly if I instantiate in my controller.js but I want to do it in my manifest.json.
Thanks in advance.
Hello Melanie,
In your definition of models, you have defined it correctly. I notice you have named your model as "i18n1" are you sure you are calling the correct model in your view, you need to refer to your model as "{i18n1>key}" . if you are referring to the correct model in your view and still facing the issue, can you share the project structure that you are using.
regards
GB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav,
Yes I am referring to my model as {i18n1>headerTitle}. Here is our project structure
Also would like to add, that when I deployed the app to our server it cannot find the resources folder. So I had to edit the bootstrap script as above.
The original bootstrap script was below and it is working in SAP WEB IDE but not in our server. The above does not work in SAP WEB IDE but only works in our server.
Thanks!
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.