on 10-24-2017 12:00 PM
Hello everyone,
I'm currently working on a SAPUI5 application which is holding its application data in client side json files (just like in the SAP Fiori webshop reference application).Now I plan to support different languages for the data in this json file. So what am i supposed to do on a best practice perspective?
Do I have to make a separate json file for each language? If yes, how do I load the right json file according to the current language?
Is this the point where I have to use a database instead of a json model?
In general: What is the right approach for this purpose?
I hope my question is comprehensible and could be answered. Thank you in advance!
regards,
Marvin
If the data is for labels for the app, then you should use the i18n framework of UI5. If it is actually app data, then you should use a database and service to provide the data in different languages.
Regards,
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You're running that app on Fiori Launchpad?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.