If necessary, you can replace standard UI texts for apps that you have created with SAP Fiori elements.
Standard texts are available in the generic framework (for example, the button texts for draft concepts) and belong to the template components (for example, list report and object page). The following sections describe how you replace texts in your generated apps.
Standard texts can be overwritten by application-specific texts.
Perform the following steps to replace the standard UI texts:
-
Find or add a resource file to your application.
-
Search for the text that you would like to change.
-
Copy the corresponding key and text to your resource file.
-
Adapt the text as required.
To save translation costs, don't copy and redefine more texts than needed.
You can override the texts that come from annotations. To do so, the annotation must refer to the i18n key that is used in the application’s i18n file:
XML Annotation
<Annotation Term="UI.LineItem"> <Collection> <Record Type="UI.DataFieldForAction"> <PropertyValue Property="Label" String="Add random item"/> <PropertyValue Property="Action" String="com.c_salesordermanage_sd.AddRandomItem"/> </Record> <Record Type="UI.DataFieldForAction"> <PropertyValue Property="Label" String="{@i18n>CopyActionText}"/> <PropertyValue Property="Action" String="com.c_salesordermanage_sd.CopyItem"/> </Record> </Collection> </Annotation>
ABAP CDS Annotation
@UI.lineItem: [ { label: 'Add random item', dataAction: 'PUSHDOWN:com.c_salesordermanage_sd.AddRandomItem', type: #FOR_ACTION, position: 1 }, { label: '{@i18n>CopyActionText}', dataAction: 'PUSHDOWN:com.c_salesordermanage_sd.CopyItem', type: #FOR_ACTION, position: 2 } ];
CAP CDS Annotation
LineItem : [ { $Type : 'UI.DataFieldForAction', Label : 'Add random item', Action : 'com.c_salesordermanage_sd.AddRandomItem' }, { $Type : 'UI.DataFieldForAction', Label : '{@i18n>CopyActionText}', //i18n key referred here Action : 'com.c_salesordermanage_sd.CopyItem' }, . . . ]
For the annotation example above, the application’s i18n properties file must have the key CopyActionText=Copy Selected Item
. In addition, the model should have the @i18n
model defined within the manifest.json
file.
manifest.json
"models": { … … "@i18n": { "type": "sap.ui.model.resource.ResourceModel", "uri": "i18n/i18n.properties" }, … … }
The annotation modification described above is done in a local annotations file if the back-end generated file does not have the corresponding annotation segment.
For example, if the back-end system is based on SAP NetWeaver 7.51 or lower (SAP S/4HANA) or on SAP NetWeaver 7.67 or lower (SAP S/4HANA Cloud), you can't add
UI.ReferenceFacet
via the back end. In such a case, a modification to the Reference Facet label is only possible by modifying the local annotation file as described above.
When you have created your specific application component, for example in SAP Fiori tools, standard texts are available from a specific template component (for example, i18n file within sap.suite.ui.generic.template.ListReport
) and from the generic template component (for example, i18n file within sap.suite.ui.generic.template.lib
).
Texts from the Generic Application Component can't be replaced.
Applications can choose to override any key that are mentioned in the following table. You can do so by using the custom i18n
file approach.
Keys You Can Override
Key |
Default Text in SAP Fiori Elements |
Used In |
---|---|---|
List Report Specific Key from |
||
|
Create |
Label for creating buttons in the list report. |
|
New Object |
Title for the Create dialog if |
|
{0} of {1} objects updated ?? |
Used in a message box that is displayed in the list report after a partial update, in case of mass edit. |
|
Create Object |
Title for the |
|
Continue |
Label for a button within the |
|
Edit ({0}) |
Title for mass edit dialog in the list report page. Users can change titles to for example "Edit Purchase Orders ({0})". |
List Report Specific Key from |
||
|
Also delete objects with unsaved changes. |
This message is displayed in a delete confirmation dialog when a user select multiple objects, out of which few have unsaved changes from other users. This confirmation dialog offers a check box to include or exclude the objects with unsaved changes from other users. |
|
Delete the selected objects? |
Text displayed within the delete confirmation dialog that comes up when a user selects all active or own draft objects from the list report. |
|
Another user edited this object without saving the changes: {1} Delete anyway? |
Text displayed within the delete confirmation dialog that comes up when a user selects an object that include unsaved changes made by another user. The user can still delete the object. |
|
Other users have edited the selected objects without saving the changes. Delete them anyway? |
Text displayed within the delete confirmation dialog that comes up when a user selects more than one object that includes unsaved changes made by another user. The user can still delete the object. |
|
This object cannot be deleted. It is currently locked by {1} |
Message text used in the confirmation message box when a user selects an object that is locked by another user. |
|
This object cannot be deleted. |
Message text used in the confirmation message box when a user tries to delete an object that is non-deletable. |
|
The selected objects are currently locked by other users and cannot be deleted. |
Message text used in the confirmation message box when a user select multiple objects that are all locked by another user and tries to delete them. |
|
{0} of {1} objects cannot be deleted. |
Text displayed within the delete confirmation dialog when a user tries to delete the selected records, out of which some objects can’t be deleted. |
|
{0} of {1} objects are currently locked by other users and cannot be deleted. |
Text displayed within the delete confirmation dialog when some of the selected objects are locked by other users and can’t be deleted. |
|
Do you still want to delete the remaining object? |
Text displayed within the confirmation dialog when a user select some objects that are either locked or cannot be deleted. However, one of the selections can be deleted. |
|
Do you still want to delete the remaining {0} objects? |
Text displayed within the confirmation dialog when a user select some objects that are either locked or cannot be deleted. However, some of the selections can be deleted. |
|
The remaining object has unsaved changes. Do you still want to delete it? |
Text displayed within the confirmation dialog when a user select some objects that are either locked or cannot be deleted. However, one of these selections can be deleted but it includes unsaved changes made by another user. |
|
The remaining objects have unsaved changes by other users. Do you still want to delete them? |
Text displayed within the confirmation dialog when a user select some objects that are either locked or cannot be deleted. However, some of these selections can be deleted but it includes unsaved changes made by another user. |
|
Objects were deleted. |
Message toast text when deletion of multiple objects is successful. |
|
The selected object cannot be deleted. |
Message toast text when an object can’t be deleted from back end. |
Key from |
||
|
Another user edited this object without saving the changes: {0} If you take over, any changes will be lost. |
Text displayed within the confirmation dialog when a user clicks Edit on the object page that was locked and the lock expired. |
|
Your changes have been saved |
Message toast text when a user chooses to save and the object gets saved successfully. |
|
Item created |
Message toast text when a user successfully creates a sub object or an item. |
|
Please wait while the data is loading... |
Appears in the smart table within the object page when data is loading. |
|
You haven't made any changes |
Message toast text when a user clicks on Save and the object has no unsaved changes. |
|
Object was created. |
Message toast text when an object is successfully created. |
|
Delete this object ({1} {2})? |
Text displayed within the delete confirmation dialog with both the title and description is available for the object and the app is open in the flexible column layout mode. |
|
Delete Object {0}? |
Text displayed within the delete confirmation dialog when the app is open in the full screen mode and a title is available for the object. |
|
Show Details |
Used as a label to show the side content button when the side content is hidden. |
|
Hide Details |
Used as a label to hide the side content button when the side content is being displayed. |
|
Delete Item? |
Text displayed within the delete confirmation dialog when a user select items (that don't have a title and description defined in the sub object page) from smart table in the object page, and press delete on the smart table toolbar. |
|
Delete Item {1} ({2})? |
Text displayed within the delete confirmation dialog when the title and description is available and the sub object page is open in the flexible column layout mode. |
|
Delete Item {0}? |
Text displayed within the delete confirmation dialog when a user select items in the object page smart table in the full screen mode, and the title is defined. |
|
Delete the selected items? |
Text displayed within the delete confirmation dialog when a user select items in the object page smart table and choose to delete it. |
|
{0} items have been deleted. |
Message toast text when a user successfully deletes multiple items from the object page smart table. |
|
{0} item has been deleted. |
Message toast text when a user successfully deletes a single item from the object page smart table. |
|
{0} items cannot been deleted. |
Text displayed when a few of the selected items cannot be deleted. |
|
{0} item cannot been deleted. |
Text displayed when a selected item cannot be deleted. |
|
The selected item cannot be deleted. |
Text displayed when only one record was selected for deletion and the operation failed to execute. |
|
Item deleted |
Message toast text when an item is successfully deleted from the object page table. |
|
{0} of {1} items cannot be deleted. |
Message text used in the confirmation message box when a user has selected multiple items and a few cannot be deleted. |
|
This item cannot be deleted. |
Message text used in the confirmation message box when a user selects a single item that cannot be deleted. |
|
Enter a value for field: {0} |
Text displayed in a message popover when a user has configured the |
|
New Item |
Title text displayed for the create dialog if |
|
Previous Item |
Tooltip text that is displayed when the focus is on the previous paginator button on a subobject page. |
|
Next Item |
Tooltip text that is displayed when the focus is on the next paginator button on a subobject page. |
Object Page and Sub Object Page Keys from |
||
|
Delete this object? |
Text displayed within the delete confirmation dialog when a user deletes an object (without an object title) by clicking Delete on the object page header. |
|
Another user edited this object without saving the changes: {1} If you take over, any changes will be lost. |
Text displayed within the confirmation dialog when a user selects an object to edit that is locked by another user. |
|
Delete Object {0}? |
Text displayed within the delete confirmation dialog when a user deletes an object that has a defined object title. |
|
Object was deleted. |
Message toast text upon the successful deletion of the object. |
|
Enter a value. |
Text displayed when the value for a required field is missing and so the draft cannot be created. The required field is highlighted with a red border. |
List Report, Object Page and Analytical List Page Keys from |
||
|
You cannot edit this object at the moment. It is locked by {0} |
Text displayed when a user tries editing an object that is locked by another user. |
|
This object has unsaved changes by {0}. |
When an object has unsaved change from another user, it is indicated by an icon shown in the key field column of the list report, and next to the title in the object page. When the user clicks on the icon, a pop up appears that is shown in this text. |
|
Unnamed Object |
This is the header title for a newly created object. |
|
No items available. |
No data text is displayed when there is no data available in the smart table of the object page. |
|
No items available. Try adjusting the search or filter parameters. |
Text displayed when there is no data available in the smart table of the object page after applying filter. |
|
There are no items for the selected filter criteria and table view. |
Text displayed when there is no data available in the smart table of the object page with segmented button. |
|
No data found. |
Text displayed in charts on the analytical list page and object page when no data is found without applying any filters. |
|
There is no data for the selected filter criteria and chart view. |
Text displayed in the list report chart when no data is found. |
|
No data found. Try adjusting the filter parameters. |
Text displayed in charts on the analytical list page and object page when no data is found even after applying filters. |
|
To start, set the relevant filters and choose "Go". |
Text displayed in the list report chart when no search is triggered. |
|
No data found. |
Text displayed in the list report table, when the table is empty after clicking "Go" without setting any filters. |
|
To start, set the relevant filters and choose "Go". |
Text displayed in the list report table, when no search is triggered. |
|
No data found. Try adjusting the search or filter criteria. |
Text displayed in the list report table when no data is found after applying filters. |
|
There is no data for the selected filter criteria and table view. |
Text displayed in the list report table when no data is found for a view in case of multi view application. |
|
Hint: To ignore warnings, delete the objects individually. |
Warning message text on the delete popover when a user tries to delete some of the selected objects in case of multi select delete. |
|
{0} of {1} objects can't be deleted. |
Warning message text on the delete popover informing the user that some of the objects are not deletable as the deletion has failed at backend in case of multi select delete. |
|
Some of the objects you selected can't be deleted. Try deleting the objects individually instead. |
Warning message text on the delete popover in case of multi select delete, informing the user that the deletion has failed at backend for some of the objects and the complete batch is failed as a result of a generic error. |
|
{0} of {1} objects can't be processed. |
Message text displayed in case of multi select function import actions, if the action fails at backend. |
|
The selected objects can't be processed. |
Message text displayed in case of multi select function import actions, if the action fails at backend for some of the selected objects and as a result, the complete batch has failed. |
|
Hint: To ignore warnings, process the objects individually. |
Message text displayed in case of multi select function import actions, if the action shows a warning for some of the selected objects and as a result, the complete batch has failed. |
|
The filter \"{0}\" isn't relevant for the tab \"{1}\". Setting this filter has no effect on the results. |
Text displayed in the message strip above the smart table in the list report when a user set filters that are not relevant for the selected tab in a multi view application, on a desktop or a large screen device. |
|
You can't filter by \"{0}\" on the \"{1}\" tab. |
Text displayed in the message strip above the smart table in the list report when a user set filters that are not relevant for the selected tab in a multi view application, on a mobile or a small screen device. |
|
Some of the filters aren't relevant for the tab \"{1}\" ({0}). Settings these filters has no effect on the results. |
Text displayed in the message strip above the smart table in the list report when a user select a filter that is not relevant for the selected tab in a multi view application, on a desktop or a large screen device. |
|
You can't use the following filters on the \"{1}\" tab\: \"{0}\" |
Text displayed in the message strip above the smart table in the list report when a user select a filter that is not relevant for the selected tab in a multi view application, on a mobile or a small screen device. |
|
You haven't made changes to this object. What would you like to do? |
Text displayed within the discard confirmation dialog when a user navigates away from edit draft that has unsaved changes. |
|
You haven't created this object yet. What would you like to do? |
Text displayed within the discard confirmation dialog when a user navigates away from a new draft that has unsaved changes. |
|
Confirm this action ? |
Text within the confirmation dialog that comes up when a user clicks on an action that requires confirmation. The key can also be interpreted as Add the key value pair and the message text to the i18n.properties file of your application, as follows:
|
Key from |
||
|
To start, set the relevant filters and choose "Go". |
Text displayed in the analytical list page smart chart when no search is triggered. |
|
To start, set the relevant filters and choose "Go". |
Text displayed in the analytical list page smart table when no search is triggered. |
|
Some of the filters aren’t relevant for the tab \"{1}\" ({0}). Settings these filters has no effect on the results. |
Text displayed in the message strip when a user select filters and a few of them are not relevant for the selected tab in a multi view application, on a desktop or a large screen device. |
|
You can't use the following filters on the \"{1}\" tab\: \"{0}\" |
Text displayed in the message strip when a user select filters and a few of them are not relevant for the selected tab in a multi view application, on a mobile or a small screen device. |
SAP Fiori generator automatically generates the following initial folders and files when you create an app with SAP Fiori elements:
-
<root-folder>
-
|--webapp
-
|----i18n
-
|—i18n.properties
The required folder structure to the resource model appears as shown here. You can create it as required by your application structure and the texts that need adaptation. 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/i18n.properties
-
i18n/ListReport/<entitySet>/i18n.properties
-
i18n/ObjectPage/<entitySet>/i18n.properties
-
i18n/ObjectPage/<subEntitySet>/i18n.properties
For object pages, the number of
i18n
files corresponds to the number of object pages defined in the app.
The app descriptor (manifest.json
file) of an application 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 URL 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.
When you have created your specific application component, standard UI texts are available from a specific template component (sap.fe.templates
).
You can also use the building blocks provided by SAP Fiori elements in applications built without using one of our floorplans. If none of our floorplans suit your use case, you can build a custom app that still runs on the SAP Fiori elements framework, but where all pages are treated like custom pages. For more information about how to override the standard UI texts when you're using building blocks, see Adapt i18n.
Applications can currently choose to override any key from the list below. Check the last column in the following table for a recommendation about which default texts to override. Only the keys given in the table are allowed to be overridden by application developers using the custom i18n file approach:
Keys You Can Override
Key |
Default Text in SAP Fiori Elements |
Used In |
Recommendation |
---|---|---|---|
|
Confirm this action? |
Text within the confirmation dialog that comes up when a user clicks on an action that requires confirmation. |
Applications should overwrite the default text with a shorter version, or should specify the concrete action. |
|
OK |
Button text to confirm the action parameter dialog only when no action label has been defined. |
Applications should overwrite with the action name. |
|
Invalid entry |
Error message for the field left empty in the action parameter dialog. |
Applications should overwrite the default text with a more specific message. |
|
Cancel |
Cancel button text on the action parameter dialog. |
|
|
1 selected object can't be processed. |
Message text used in the warning message box when the action cannot be performed for one of the selected objects. |
Applications should overwrite the default text with the concrete object. Example: 1 selected sales order can't be processed. |
|
{0} selected objects can't be processed. |
Message text used in the warning message box when a user tries to perform an action (deletion, for example) for multiple selected objects, only some of which can be processed. |
Applications should overwrite the default text with the concrete object. Example: 2 selected sales orders can't be processed. |
|
This action may not work. Refresh the data to work with the most recent version. |
Indication to the user to first refresh the data and then trigger the action again. |
Applications can choose to overwrite the default message with the concrete action name. |
(deprecated key: |
This object is currently being edited by {0}. |
Draft information text displayed to a user for an object that is already being edited by another user, provided that the information about the owner is available. Parameter: {0} = user who is editing the object |
Applications should overwrite the default text with the concrete object that is being edited. |
deprecated key: |
This key has been deprecated. The scenario no longer occurs. |
Draft information text displayed to a user for an object that is already being edited by another user, provided that the information about the owner isn't available. |
Applications should overwrite the default text with the concrete object that is being edited. |
(deprecated key: |
This object has unsaved changes made by {0}. |
Information about the user who has made the unsaved changes or who is currently editing the draft, provided that the information about the user making the changes is available. Parameter: {0} = user who is editing the object |
Applications should overwrite the default text with the concrete object that is being edited. |
(deprecated key: |
This object has unsaved changes made by another user. |
Information about the user who has made the unsaved changes or who is currently editing the draft, when no information about the user making the changes is available. |
Applications should overwrite the default text with the concrete object that is being edited. |
deprecated key: |
This key has been deprecated. The regular message handling flow will be invoked in case of any errors. |
Error message while saving an object. |
|
deprecated key: |
This key has been deprecated. The regular message handling flow will be invoked in case of any errors. |
Error message short text when a user enters a value in the field of an object page but the back-end update cannot be done due to availability or connection issues. This key has been deprecated. |
|
deprecated key: |
This key has been deprecated. The regular message handling flow will be invoked in case of any errors. |
Error message description/detail text when a user enters a value in the field of an object page but the back-end update cannot be done due to availability or connection issues. This key has been deprecated. |
|
(deprecated key: |
This object is currently locked by {0} so it cannot be deleted. |
Message to indicate that the object is currently locked and cannot be deleted. Parameter: {0} = user who has locked the object |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Delete object {0} "{1}"? |
Message text used in the confirmation message box when a user clicks the Delete button after selecting exactly one object that has a title (and optionally a description). Parameters: {0} = The following logic is applied:
|
Applications should overwrite the default text with the concrete object. |
|
Delete object {0}? |
Message text used in the confirmation message box when a user clicks the Delete button after selecting exactly one object that has a title (and optionally a description). Parameter: {0} = |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Delete this object? |
Message text used in the confirmation message box when a user clicks the Delete button to delete a single selected object that has no title. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Delete the selected objects? |
Message text used in the confirmation message box when a user clicks the Delete button to delete multiple selected objects. |
Applications should overwrite the default text with the concrete objects. |
(deprecated key: |
The selected object has unsaved changes by {0}. Delete anyway? |
Message text used in the confirmation message box when a user clicks the Delete button to delete a single selected object that has unsaved changes from another user. Parameter: {0} = user name |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
The selected objects have unsaved changes by other users. Delete anyway? |
Message text used in the confirmation message box when a user clicks the Delete button to delete multiple selected objects that have unsaved changes from another user. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Delete the remaining objects? |
Message text used in the confirmation message box when a user clicks the Delete button for multiple selected objects, some of which cannot be deleted. |
Applications should overwrite the default text with the concrete objects. |
(deprecated key: |
Delete the remaining objects? |
Message text used in the confirmation message box when a user clicks the Delete button for multiple selected objects, only one of which can be deleted. |
Applications should overwrite the default text with the concrete object. |
|
1 out of {0} selected objects has delete restrictions so it cannot be deleted. |
Message text used in the confirmation message box when a user clicks the Delete for multiple selected objects, of which one cannot be deleted. Parameter: {0} = number of selected objects |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
{0} out of {1} selected objects have delete restrictions so they cannot be deleted. |
Message text used in the confirmation message box when a user clicks the Delete button for multiple selected objects, only some of which can be deleted. Parameters: {0} = number of objects that cannot be deleted, {1} = total number of selected objects |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
{0} out of {1} objects are currently locked so they cannot be deleted. |
Message text used in the confirmation message box when a user clicks the Delete button. Parameters: {0} = number of objects that are locked, {1} = number of selected objects |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
1 out of {0} selected objects is currently locked by {1} so it cannot be deleted. |
Message text used in the confirmation message box when a user clicks the Delete button. Parameters: {0} = number of selected objects, {1} = user who has the lock on the object |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
The remaining object has unsaved changes made by {0}. Do you still want to delete it? |
Warning message text on the delete popover when a user tries to delete an object that has unsaved changes from another user. Parameters: {0} = user who has unsaved changes on the object. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
The remaining objects have unsaved changes made by other users. Do you still want to delete them? |
Warning message text on the delete popover when a user tries to delete multiple selected objects out of which more than one have unsaved changes from other users. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Also delete objects with unsaved changes by {0}? |
Text used for the checkbox in the delete confirmation dialog to confirm if a user also wants to delete the single object from the selected objects that has changes from other users. Parameters: {0} = user who has unsaved changes on the object. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Also delete objects with unsaved changes by other users? |
Text used for the checkbox in the delete confirmation dialog to confirm if a user also wants to delete those objects from the selected objects that have changes from other users. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Object deleted. |
Message toast text when an object has been deleted successfully. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
Objects were deleted. |
Message toast text when multiple objects have been deleted successfully. |
Applications should overwrite the default text with the concrete object. |
|
Cancel |
Cancel button text on the object page. |
|
|
Object created |
Message toast text that is displayed after a user clicks the Create button on the object page. |
Applications should overwrite the default text with the concrete object. |
|
Object saved |
Message toast text that is displayed after a user clicks the Save button on the object page. |
Applications should overwrite the default text with the concrete object. |
|
Discard all changes? |
Discard button popover text on the object page when there are unsaved changes and the user clicks Cancel. |
|
|
Discard |
Discard button text on the object page when there are unsaved changes and the user clicks Cancel. |
|
|
Discard Draft |
Discard button text on the object page when there are unsaved changes. |
|
(deprecated key: |
To start, set the relevant filters and choose "Go". |
Text that is shown on a table and chart when they are loaded but no search has been triggered yet. |
|
(deprecated key: |
No data found. Try adjusting the search or filter parameters. |
Text that is shown on a table and chart when a search is triggered but no data could be found with the current filter settings. |
|
(deprecated key: |
There are no items for the selected filter criteria and view. |
Text that is shown in case of multi-view scenarios when no data is found for the current view. |
Applications can overwrite the default text with a more suitable text for their specific use case. |
(deprecated key: |
No items available. |
Text that is shown on an object page or a subobject page when no filters are applied and no data is found. |
Applications can overwrite the default text with a more suitable text for their specific use case. |
|
Navigation is currently not possible. |
Text that is shown when the navigation cannot be completed successfully. |
|
(deprecated key: |
Unnamed Object |
The object page title can be linked to an editable field. When a user edits the object page and clears the value of this field, then the page title is set from the text that corresponds to this key. |
Applications can overwrite the default text with the concrete object. |
|
Another user edited this object without saving the changes: {0} If you start editing, those changes will be lost. |
Text that is shown in the confirmation dialog box when a user clicks the Edit button on an object page that has unsaved changes made by another user. ({0} refers to the user name.) |
Applications should overwrite the default text with the concrete object. |
|
You can't edit this object at the moment. It is locked by {0}. |
Text that is shown to indicate that the object is currently locked and cannot be edited. |
Applications should overwrite the default text with the concrete object. |
|
New |
The default text "New" is appended with |
|
|
Save |
Save button text on the object page. |
|
|
Create |
Create button text on the footer of the object page. |
|
|
Related Apps |
Drop-down menu for the list of related apps. |
Restriction: you can change the key only to Open In... |
|
New Object |
Text that is shown when applications create a new object and |
Applications should overwrite the object with a more specific name. |
|
Previous Item |
Tooltip text that is displayed when the focus is on the "previous" paginator button on a subobject page. |
Applications should overwrite the default text and replace "Item" with the concrete object. |
|
Next Item |
Tooltip text that is displayed when the focus is on the "next" paginator button on a subobject page. |
Applications should overwrite the default text and replace "Item" with the concrete object. |
|
The "{0}" was loaded |
This text is used only be screen reader programs. When a user uses the paginator button to navigate through a list of sales order items, for example, the screen reader informs the user about which specific object was loaded and is now in focus.
If no title is defined, we use the following key instead:
|
|
|
You've reached the top of the list |
When a user uses the paginator button to navigate through a list of sales order items, for example, the screen reader informs the user with this text that they've reached the top of the list. At the same time, the focus shifts from the 'Previous' paginator button to the 'Next' paginator button. The screen reader program reads the combined text obtained from the |
|
|
You've reached the end of the list |
When a user uses the paginator button to navigate through a list of sales order items, for example, the screen reader informs the user with this text that they've reached the bottom of the list. At the same time, the focus shifts from the 'Next' paginator button to the 'Previous' paginator button. The screen reader program reads the combined text obtained from the |
|
|
The object was loaded |
This text is used only by screen reader programs. When a user uses the paginator button to navigate through a list of sales order items, for example, the screen reader informs the user that the object was loaded. This text is used when no title is defined for the object. |
Applications should overwrite the default text and replace "object" with the concrete object. Example: The sales order was loaded. |
|
You haven't created this object yet. What would you like to do? |
Text that is shown in the confirmation dialog when a user has created a new object in a draft-enabled application and triggers a navigation. |
Applications should overwrite the default text and replace "object" with the concrete object. Example: You haven't created this sales order yet. |
|
Create the object. |
Text that is shown below the Create option in the confirmation dialog. |
Applications should overwrite the default text and replace "object" with the concrete object. Example: Create the sales order. |
|
You've made changes to this object. What would you like to do? |
Text that is shown in the confirmation dialog when a user has edited an existing object in a draft-enabled application and triggers a navigation. |
Applications should overwrite the default text and replace "object" with the concrete object. Example: You've made changes to this sales order. |
|
Apply changes to the saved version. |
Text that is shown below the Save option in the confirmation dialog. |
|
|
Editing Status |
Label of the filter field that is automatically added to the filter bar for draft-based services. |
|
|
|
Label of the action name in the action parameter dialog. |
|
|
{0} of {1} {3} can't be edited. Edit the remaining {2} {3}? |
Text that is shown within the warning message box when some of the selected records in a mass edit scenario are not editable. {0} is the count of objects that are not editable. {1} is the total count of objects selected. {2} is the count of objects that can be edited. {3} is the value from |
|
|
Selected {0} are excluded if: |
Text that is shown within warning message box when some of the selected objects in a mass edit scenario are not editable. {0} is the value from |
|
|
Another user is working on the {0} (a draft exists or changes haven't been saved). |
Text that is shown within the warning message box when some of the selected objects in a mass edit scenario are not editable. {0} is the value from |
|
|
Editing isn't allowed for the {0}. |
Text that is shown within the warning message box when some of the selected objects in a mass edit scenario are not editable. {0} is the value from |
|
|
The remaining objects have delete restrictions so they cannot be deleted. |
Text to indicate that none of the remaining objects can be deleted. This text is usually appended to text from another key that indicates why some of the selected records cannot be deleted. |
Applications should overwrite the default text with the concrete objects. |
|
Delete associated draft? |
Text to confirm with the user if the associated own draft of the selected object should be deleted when the object is non-deletable. |
Applications should overwrite the default text with the concrete object. |
|
Delete associated drafts? |
Text to confirm with the user if the associated own drafts of the selected objects should be deleted when the objects are non-deletable. |
Applications should overwrite the default text with the concrete objects. |
|
Also delete own draft of the non-deletable object? |
Text to confirm with the user if their own draft associated with the selected objects should be deleted when all of the selected objects are non-deletable. |
Applications should overwrite the default text with the concrete object. |
|
Also delete own drafts of the non-deletable objects? |
Text to confirm with the user if the associated own draft of the selected object should be deleted when there are many objects from the selected objects that are non-deletable but have their own draft. |
Applications should overwrite the default text with the concrete object. |
|
The selected object has delete restrictions so it cannot be deleted. |
Text used when a single object (with own draft) is selected and this object is not deletable. |
Applications should overwrite the default text with the concrete object. |
|
The selected objects have delete restrictions so they cannot be deleted. |
Text used when all selected objects are not deletable but at least one of them has its own draft. |
Applications should overwrite the default text with the concrete object. |
(deprecated key: |
The object contains errors. |
Error message text used in the message strip of an object page. |
Applications should overwrite the default text and replace "object" with their concrete object. Example: The sales order contains errors. |
|
The object contains warnings. |
Warning message text used in the message strip of an object page. |
Applications should overwrite the default text and replace "object" with their concrete object. Example: The sales order contains warnings. |
|
The object contains messages. |
Information text used in the message strip of an object page. |
Applications should overwrite the default text and replace "object" with their concrete object. Example: The sales order contains messages. |
|
Object Information |
Header in the form where the page title and page description can be modified when in edit mode. |
|
|
No details available |
Title of the popup that is shown when no details (that is, no quick view annotations) and no targets are found for a semantic object. |
Applications can choose to overwrite the default text with a more specific one. |
|
This may happen if your access is restricted or the data is incomplete. |
Text used in the popup that is shown when no details (that is, no quick view annotations) and no targets are found for a semantic object. |
Applications can choose to overwrite the default text with a more specific one. |
|
Create |
Create button text in a table. |
Applications can choose to overwrite the default text with a more specific one for a certain table. Example: |
|
Delete |
Delete button text in a table. |
Applications can choose to overwrite the default text with a more specific one for a certain table. Example: |
|
Delete |
Delete button text in an object page. |
Applications can choose to overwrite the default text with a more specific one for an object page. |
|
Direct navigation to the object details isn't possible from this insights card. |
Warning message text used in the preview dialog when creating a card. |
Applications should overwrite the default text with the concrete object. |
Provide the new custom texts in this custom resource bundle with the same key as the one used by SAP Fiori elements (from the allowed list provided above). For example:
SAP Fiori elements default values (resource bundle of SAP Fiori elements):
C_OPERATIONS_ACTION_CONFIRM_MESSAGE=Confirm this action?
C_TRANSACTION_HELPER_OBJECT_PAGE_CONFIRM_DELETE_WITH_OBJECTTITLE_PLURAL=Delete the selected objects?
C_TRANSACTION_HELPER_OBJECT_PAGE_CONFIRM_DELETE_WITH_OBJECTTITLE_SINGULAR=Delete this object?
Text values from
i18n/customSalesOrderLR.properties
(custom resource bundle of the application):
C_OPERATIONS_ACTION_CONFIRM_MESSAGE|SalesOrderManage|ReturnInProcess=Confirm the returns?
C_TRANSACTION_HELPER_OBJECT_PAGE_CONFIRM_DELETE_WITH_OBJECTTITLE_PLURAL|SalesOrderManage=Delete the selected Sales Orders?
C_TRANSACTION_HELPER_OBJECT_PAGE_CONFIRM_DELETE_WITH_OBJECTTITLE_SINGULAR|SalesOrderManage=Delete this Sales Order?
Since the application has defined new texts for the above-mentioned resources, while triggering the confirmation action Returns in Process, we see the custom text: "Can you please confirm if you really want to trigger the returns?" instead of "Are you sure that you want to execute this action?" in the action parameter popup.
Changes must be made in the manifest.json
file of the application. Add enhanceI18n
to the settings
of the corresponding section as shown in the following code sample:
{ ... ... "targets": { "SalesOrderManageList": { "type": "Component", "id": "SalesOrderManageList", "name": "sap.fe.templates.ListReport", "options": { "settings": { "contextPath": "/SalesOrderManage", "enhanceI18n": "i18n/customSalesOrderLR.properties", // This is the line to be added - it provides Fiori Elements with the name of the custom resource bundle ... ... ... } } } } ... ... }
For resources that are not shared across multiple entities or by multiple controls (for example, you want the same OK text in all OK confirmation popovers), don't append anything to the existing key.
C_COMMON_DIALOG_OK=OK?
(resource bundle of SAP Fiori elements)
C_COMMON_DIALOG_OK=Okie?
(custom resource bundle of the application)
For resources that are shared across multiple entity sets, append the navigation property name (for navigation entity sets) or the entity set name (in case of main entity). For instance, you want different delete messages based on the entity being deleted.
C_TRANSACTION_HELPER_OBJECT_PAGE_CONFIRM_DELETE_WITH_OBJECTTITLE_SINGULAR=Delete this object?
(resource bundle of SAP Fiori elements)
C_TRANSACTION_HELPER_OBJECT_PAGE_CONFIRM_DELETE_WITH_OBJECTTITLE_SINGULAR|_Items=Delete this Sales Order Item?
For overriding actions that have parameters, some of the text in the action parameter popovers can be overridden. Confirmation actions also get a confirmation popover that has text that can be overridden. To override these texts, the action name along with the entity set name has to be provided. This is a mandatory piece of information, even if the application needs the custom text for an action that is used in only 1 entity set. If the entity set name is not appended, the resource bundle text from SAP Fiori elements is used as a fallback.
To override the text with a key from a navigation entity set, you must use the navigation property name instead of the entity set name of the navigation entity. In the above example,
_Items
is the navigation property set name of the navigation entityItems
.
C_OPERATIONS_ACTION_CONFIRM_MESSAGE=Confirm this action?
(resource bundle of SAP Fiori elements - this text is shown for all confirmation actions, irrespective of the action name or the entity)
C_OPERATIONS_ACTION_CONFIRM_MESSAGE|SalesOrderManage|ReturnInProcess=Confirm the returns?
In the preceding example, the developer wants to show the custom message only when a user clicks the ReturnsInProcess
action of the SalesOrderManage
entity set. For a second action in the same entity set the last part of the key is different, since the action name is different.
If the action name is the same but the entity differs, then the second part of the key name above is different and SAP Fiori elements uses the correct key based on the entity set to which the clicked action is associated.
C_OPERATIONS_ACTION_CONFIRM_MESSAGE|_Items|ReturnInProcess=Confirm the returns for the selected items?