When we have a stand alone app that has index.html we can have something like data-sap-ui-xx-supportedLanguages="en,de" in the bootstrapping part to determine which languages are implemented in our app. In this case we will not see anymore an error like this:
https://webidetestingXXX.dispatcher.hana.ondemand.com/webapp/i18n/i18n_en_US.properties 404
because we determined that our app does not support en_US!
How can I do the same in a Fiori type application, I mean when we don't have any index.html and it has only Component.js as the starting point!
I remember in the past we set that in manifest.json, but I am not sure!
Hello @mjza,
Thank you for your question. I've created an internal incident 2080342342 with your question, so expect someone to help you.
Regards,
Nikolay Hristov
I remember in the past we set that in manifest.json, but I am not sure!
You are absolutely right! You can configure the supported languages as well as the default fallback in your applications manifest.json.
Please see the chapter "Supported Locales and Fallback Locale" in this documentation: https://openui5.hana.ondemand.com/topic/ec753bc539d748f689e3ac814e129563
@RandomByte Thanks. I set it, but still I see UI5 is looking for en_US, while when I used data-sap-ui-xx-supportedLanguages="en,de" it was not the case anymore.
I tested in version 1.71.19. It seems the effect is not the same!
I see. Yes, the mentioned manifest.json configuration is only supported since UI5 1.77.
For lower releases there is apparently no application-level configuration.
OK. Thanks anyway, good to know!