22.7.4.3 Editing Text Messages

Edit translation messages by selecting the application and navigating to Shared Components, Globalization, Text Messages.

To edit text messages:

  1. Navigate to the Text Messages page:
    1. On the Workspace home page, click the App Builder icon.
    2. Select an application.
    3. Click Shared Components.
    4. Under Globalization, click Text Messages.
  2. On the Text Messages page, click the message Name.
  3. On Create/Edit Text Message:
    1. Name - Enter a unique name that expresses the purpose of the message.

      For example, a good name for an error message text for a date validation could be NO_WEEKEND_DATES_ALLOWED.

    2. Language - Select the language for which the message will be used.
    3. Used in JavaScript - Enable this flag if the message is used in APEX.LANG.* API calls in JavaScript code.
    4. Text - Enter the text to be returned when the text message is called.

      If the English text message contains positional substitution values (for example, %0, %1), ensure that your defined message also contains the same named and number of positional substitution values.

      For example, you could define the message GREETING_MSG in English as:

      Good morning %0

      Or, you could define the message GREETING_MSG in German as:

      Guten Tag %0

    5. Click Apply Changes.
  4. To access a Grid Edit page:
    1. Under Tasks, click Grid Edit.

      The Grid Edit page appears.

    2. Make the appropriate edits directly in the report.

      For Text, if the English text message contains positional substitution values (for example, %0, %1), ensure that your defined message also contains the same named and number of positional substitution values.

    3. Click Save.

      Tip:

      To add a new message from the Grid Edit page, click Add Row.