Translating individual UI strings
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Localization
When translating just a few UI strings, such as when you add customizations to a translated instance, use the procedure that applies to the type of text being translated.
UI strings include field names and values, related list names, and messages.
Fields and related lists
Three types of fields support translated strings for fields and related list names:
- Translated_field
- Stores field labels, related list names, and certain field values. The value of the translated_field replaces the label, list name, or field value when the user selects the matching language. Translated_field values have a one-to-many relationship with their associated keys. As a result, multiple records can reference one translated_field value. For more information, see the following topics:
- Translated_text
- Stores long text values in plain text. The value of the translated_text replaces the plain text when the user selects the matching language. Translated_text values have a one-to-one relationship with their associated keys. As a result, only one record can reference a translated_text value. For more information, see Translating text fields.
- Translated_html
- Stores long text values in HTML. The value of the translated_html replaces the HTML when the user selects the matching language. Translated_html values have a one-to-one relationship with their associated keys. As a result, only one record can reference a translated_html value. For more information, see Translating text fields.
The translated values are stored as separate records and display the proper value according to the end user’s language. To determine the field type, right-click the field on the form, select Configure Dictionary, and check the Type field.
Messages
Informational messages, confirmation messages, error messages, and other types of system messages across the platform can be translated. Messages that support translation come from HTML in a UI page in a customer-created
application or Service Portal widget messages when these texts are wrapped correctly. When a client script contains a getMessage call or a server script contains a gs.getMessage
call, the system checks the
Messages [sys_ui_message] table for a translation. Fore more information, see Translate a client script message.