Internationalization with supportedLocales and fallbackLocale configuration
In this blog post you will learn how to configure the supportedLocales and the fallbackLocale
in your app's manifest to avoid '404 Not Found' network responses and control t...
Hi Matthijs,
if you just support one language you could use the data-sap-ui-language parameter in the script tag which loads sap-ui-core.js.
For multiple languages you could either replicate the language files, e.g. having "i18n_en.properties...
It might depend on the server,some server’s are configured to always answer the request for a pattern (e.g. ending with .properties) although the actual file does not exist.E.g.https://sapui5.hana.ondemand.com/test-resources/sap/suite/ui/commons/demo...
Cool, that it worked out
The raw locale "" is not explicitly mentioned here to avoid confusion.
But your solution is perfect:
The supportedLocales should always match the i18n file suffixes in the filesystem
E.g.
"de" - "i18n/i18n_de.prop...