Show TOC

Replacing Standard UI TextsLocate this document in the navigation structure

You can replace standard UI texts for the list report and object page views. There are generic texts available in the generic framework (for example, the button texts for draft concept) that belong to the template components (for example, list report and object page). The following sections describe how applications can replace texts in their generated apps.

When you have created your specific application component, for example, in the SAP Web IDE, standard texts are available from a specific template component (sap.suite.ui.generic.template) and from the generic template component (sap.ui.generic).

Texts in the list report or the object page can be overwritten by application-specific texts. Texts from the Generic Template Component and the Generic Application Component cannot be replaced.

How to Find the Resource File of Your Application Component

The following folders and files are generated by the SAP Web IDE when using the wizard and selecting Smart Templates:

  • <root-folder>

  • |—i18n

  • |—<shortened template component name>, for example, List Report and Object Page

  • |—<entitySet>

  • |—i18n.properties

The folder path to the Resource Model appears as shown below. Since the manifest.json file also refers to the title and description of the app, there is a general i18n.properties file on the top level:
  • i18n.properties
  • i18n/ListReport/<entitySet>/POHeaders/i18n.properties
  • i18n/ObjectPage/<entitySet>/i18n.properties
  • i18n/ObjectPage/<subEntitySet>/i18n.properties

The app descriptor (manifest.json file) of a purchase order application, for example, specifies the SAPUI5 models.

Example:
"sap.ui5": {
 
        ...
    "models": {
        "i18n": {                
            "type": "sap.ui.model.resource.ResourceModel",                
            "uri": "i18n/i18n.properties"           
      },
 
        "i18n|sap.suite.ui.generic.template.ListReport|POHeaders": {
            "type": "sap.ui.model.resource.ResourceModel",
            "uri": "i18n/ListReport/POHeaders/i18n.properties"
              },
        "i18n|sap.suite.ui.generic.template.ObjectPage|POHeaders": {
                    "type": "sap.ui.model.resource.ResourceModel",
                    "uri": "i18n/ObjectPage/POHeaders/i18n.properties"
              },
        "i18n|sap.suite.ui.generic.template.ObjectPage|POItems": {
                    "type": "sap.ui.model.resource.ResourceModel",
                    "uri": "i18n/ObjectPage/POItems/i18n.properties"

The URI reflects the folder path to the resource model. The model's name i18n|sap.suite.ui.generic.template.ObjectPage|POHeaders is separated by lines used to identify the specific template component and entity set for which the resource model can be enhanced by editing the i18n.properties file.