21.6.3.1 Creating Text Messages
Create translation messages by selecting the application and navigating to Shared Components, Globalization, Text Messages.
To create a translation message:
- Navigate to the Translate Application page:
- On the Workspace home page, click the App Builder icon.
- Select an application.
- Click Shared Components.
- Under Globalization, click Text Messages.
- On the Translate Messages page, click Create Text Message.
- On Identify Text Message, specify the following:
- Name - Enter the name of each message that must be translated.
- Language - Select the language for which the message will be used.
- Used in JavaScript - Enble this attribute if the message is used in
APEX.LANG.*
API calls in JavaScript code. - 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.
- Click Create Text Message.
Parent topic: Translating Messages Used Internally by APEX