Show TOC

How Translated Texts Are Accessed at RuntimeLocate this document in the navigation structure

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:
    1. If a text is not available in the requested language, the English text is retrieved.

    2. If the English text is not available, the text in the default language is retrieved.

    3. If the text in the default language is not available, the default properties file from the SAPUI5 ABAP repository is retrieved.