Translating custom content
Translate content you create or modify to a supported language or add an unsupported language.
Note: Using the Localization Framework application is recommend for translating to an unsupported language or translating large amounts of custom UI string content in a supported language. For more information, see Localization Framework.
ServiceNow provides translations of the base system UI strings in supported languages through the internationalization (I18N) language plugins. For applications you create and modifications you make to the ServiceNow AI Platform® content, you must provide your own translations. You can also provide any translations to unsupported languages that ServiceNow does not provide translations for. The ServiceNow AI Platform does not provide any automatic translation capability.
The translation method depends on the material that you are translating. Repeat the translation process whenever you edit or update content.
| What needs translation | Approach to take | Resources |
|---|---|---|
| Field labels in a table for a customer-created application | 1. Create English versions for all fields in the table. 2. Locate the records for the table in the application. 3. Open the Field Labels translation table. 4. Export the records, translate the appropriate fields, set the language field, and reimport through an import set. | - Export and edit translation records - Alternatively, follow the procedure for translating individual labels in Translate a field label. |
| HTML in a UI page in a customer-created application | 1. Create the English version. When creating the HTML in the UI Page form, wrap any translatable text in `gs.getMessage` calls. 2. Create a Message \[sys\_ui\_message\] record for each English message with a corresponding key/value pair. 3. Create additional Message records for each message for each other language. | Translate a client script message |
| Service Catalog items |
| - To activate translation prefixes, see Debug translations. - For translatable text fields, which are common in Service Catalog items, see Translating text fields. |
| Service Portal widget | 1. Create the English version. Externalize any translatable text by surrounding the text with`${}` wrappers. 2. Create a Message \[sys\_ui\_message\] record for each English translatable text with a corresponding key/value pair. 3. Create additional Message records for each piece of translatable text for each other language. | - Translate a client script message - Internationalize a widget in Service Portal documentation - For unofficial advice, see Building multi-lingual service portals |
| Playbooks | 1. Activate any playbook that you want to translate. 2. Create translations for each translatable text in a playbook's process definition \[sys\_pd\_process\_definition\]. | Add translations for Playbooks |
| Edit a translation provided in a plugin | 1. Export the records from the translation table. 2. Edit them outside the translation table and reimport them. Do not edit the records directly, because your changes could be overwritten when you upgrade or zBoot your instance. | Export and edit translation records |
| Translate an instance to an unsupported language | 1. Create a Choice \[sys\_choice\] record for that language. 2. Add other translation records through the Export and import set approach. | Translating to an unsupported language |
| Support Chat texts | Support Chat is mostly translated through the I18N language plugins. If you customize any Support Chat texts, follow the procedure for Service Portal widgets. | Internationalize a widget in Service Portal documentation |
| Notifications and surveys | System Localization does not cover platform notifications or surveys. The usual approach is to create a separate version of each survey or notification in each language and use business rules to send the right language version to the right end user. | — |
- Export and edit translation records
Export translation records to translate to additional languages in your preferred translation environment and import the new or edited translation records through import sets.
Parent Topic:System Localization