At runtime, the translated texts are read directly from the table of the SAPUI5 text repository and sent to the browser.
-
The browser sends a request for the relevant properties file with a language extension to the back end, for example
i18n_en_US.properties
. -
The handler class in the back end analyzes the name of the properties file and extracts the language key.
-
All texts that fit to this language key are read, collected, and sent back to the browser. The following access sequence applies:
-
If a text is not available in the requested language, the English text is retrieved.
-
If the English text is not available, the text in the default language is retrieved.
-
If the text in the default language is not available, the default properties file from the SAPUI5 ABAP repository is retrieved.
-