Interface text ships translated through language plugins, but any label, message or long text you create or change needs its own translation. Each translation is a separate record in a translation table. Locate the strings first, edit a few on the form, and export larger sets to a spreadsheet for translation and import through import sets.
What the platform translates and what you translate
Localization lets an instance serve people in other regions without changing how it works. Language plugins supply translations of the interface text ServiceNow ships by default, and each plugin installs the I18N: Internationalization plugin that provides the elements needed for translation.
Anything you add or modify falls outside that coverage. Fields you create, labels you rename, messages in your own UI pages and Service Portal widgets all need your own translations. The platform does not translate them automatically, so the work repeats whenever that content changes. For where that line sits between customization and configuration, see customization and configuration.
For a language no plugin covers, or for large volumes of custom interface text, the Localization Framework application is the recommended route. The rest of this page covers the manual methods built into System Localization.
Know which table holds each kind of text
Each translated value sits in its own record that points back to the English original. Knowing the table tells you where to look and what to edit.
| Table | What it holds | Debug prefix |
|---|---|---|
| Translated Name / Field [sys_translated] | Labels, related list names and other translated_field values | TRF |
| Messages [sys_ui_message] | Informational, confirmation and error messages | MSG |
| Field Label [sys_documentation] | Table names, singular and plural labels, and hint text | GMLD |
| Translated Text [sys_translated_text] | Long text and HTML values, such as Service Catalog descriptions | TRT |
| Choice [sys_choice] | Options that appear in list fields | CHC |
| Languages [sys_language] | Languages that have translated text | Not applicable |
The field type decides the table. A translated_field keeps labels and related list names, with each translation keyed to its table, field and English value. A translated_text or translated_html field keeps one record per key per language, and it can hold up to 65,000 characters, which suits a survey name or an introduction. To check a field’s type, right-click its label on the form, choose Configure Dictionary, and read the Type value.
The Languages table appears after at least one I18N plugin is activated. Field Label rows carry the language as a BCP 47 code. For how the Choice row is managed, see choice lists in ServiceNow.
Find the strings before you translate them
Locate customized strings first. Prefixes show the table behind a string on screen, and the untranslated list shows strings with no translation.
Turn on translation prefixes
Prefixes are a debugging aid for admins. For your own session, navigate to All > System Localization > Enable I18N Debugging. To show prefixes in all sessions, navigate to All > System Properties > System Localization and set Display translation prefix on translatable strings to Yes. That setting is the glide.ui.i18n_test property, with a default of No. Refresh the page or switch to an installed non-English language, and each translatable string gains a code showing its table: TRF, MSG, GMLD, TRT or CHC.
Some text carries no prefix. Text embedded in images, such as certain Service Catalog buttons, and text supplied by system properties, such as a banner message, is not stored in these tables. Turn prefixes off when you finish. Disable I18N Debugging ends the session setting, and setting the system-wide property back to No ends the instance-wide one. Leaving the instance-wide setting on changes what all users see in a non-English session.
List the untranslated items
Navigate to All > System Definition > Application Menus and open the System Localization menu. In its Modules list, set Active to True for the Customizations, Translated Name/Fields, Messages, Field Labels and Choice modules. Once active, they appear in the filter navigator beneath Non-translated Items, and when the list is sorted by Order they run from 500 to 900. The Customizations module renames itself to Non-translated Items when it activates. Open each module and export its list to Excel or another supported format.
This method finds strings that exist in English alone. A string translated into one non-English language but missing from another will not appear. It suits a short list. For a large backlog, the Localization Framework application is the better tool.
Translate a few strings directly on the form
Direct editing suits a handful of strings whose location you already know. Each method writes a record for the selected language and leaves the English original untouched.
Field labels
Right-click the field label and choose Configure Label. In the Field Label form, replace the English text in the Label, Plural and Hint fields with the target-language text, and enter the BCP 47 code for that language. Right-click the header bar and choose Insert. The platform creates a Field Label record for that field in the selected language. This procedure requires the admin role.
Related list names
Related list names need the personalize_control role. Switch the language picker to the target language and open the form that holds the related list. In List v2, right-click any column heading and choose Configure, then List Control. In List v3, open the list title menu and choose List Control. Replace the Label, then select Submit or Update. The platform creates or updates a Translated Name / Field entry for that language.
Long text fields
Translated text and translated HTML fields keep English in the main table and each other language in the Translated Text table. Open the record, confirm the field type through Configure Dictionary, switch to the target language, replace the text, and select Submit. A new Translated Text record is created for the active language. These fields are often used for Service Catalog names, descriptions and variables.
Converting an ordinary text field to a translated field carries a slight performance cost, so use one where translation is needed. To edit existing text translations, use the bulk route below.
Messages and client scripts
Navigate to All > System Localization > Messages, select New, fill in Key, Language and Message, and select Submit. A client script lists its keys one per line in its Messages field, and a matching getMessage call looks up the localized text here. These records sit in the global scope. A new record that reuses an existing key and language changes the text wherever that key is referenced, so choose a new key for new wording.
Translate in bulk through export and import
Bulk translation suits large sets of customer-created components, changes to plugin-supplied translations, and unsupported languages. The work runs in three stages: export, translate and import.
Export the records and translate the fields
Export the relevant translation table records to a spreadsheet, then translate the columns that carry text.
| Translation table | Columns to translate |
|---|---|
| Field Labels | Label, Plural, Hint |
| Translated Name/Field | Label |
| Messages | Message |
| Choices | Label |
| Translated Text | Value |
In each row, change the Language column to the BCP 47 code of the new language. In Translated Text and Message rows, type the full name of the language instead. Save the file before you import it. For the file formats an import set can read, see import set data source types.
Import through import sets
Navigate to All > System Import Sets > Load Data and choose Use Existing. Pick the table that matches the data: u_sys_choice for choices, u_sys_documentation for field labels, u_sys_translated for translated names and fields, u_sys_ui_message for messages, or u_sys_translated_text for translated text. Select Upload an Excel file, browse to the spreadsheet, set the worksheet and header row number if needed, and select Go.
Review the imported rows, then navigate to All > System Import Sets > Run Transform and choose the matching map: Sys Choice Translation Map, Sys Documentation Translation Map, Sys Translated Translation Map, Sys UI Message Translation Map or Sys Translated Text Translation Map. Choose a map with the Run Business Rule option selected. A map without that option can let the next upgrade overwrite your customized translations. For planning around upgrades, see upgrades and release readiness.
Edit a plugin-provided translation
Do not edit plugin-provided translation records inside the translation table. Export them, edit the copies outside the instance, and import the results. Direct edits can be overwritten during an upgrade or a zBoot.
Translate custom content outside the tables
Service Catalog items
Set the prefix property to Yes, create the catalog item in English, then change your preferred language. Translate each element that carries a prefix, save, and turn the prefixes off. Catalog text fields follow the translated text procedure above.
Service Portal widgets and UI pages
In a Service Portal widget, surround translatable text with the ${} wrapper and create one Message record per English key, plus one per other language. A custom UI page wraps translatable text in gs.getMessage calls in its HTML and needs the same set of Message records.
Check the result after a change
After an import or a set of edits, switch to the target language, refresh, and turn prefixes on to confirm each string sits in the expected table. Run the untranslated list again to see what remains. Repeat the review whenever the source content changes.
Frequently asked questions
Why does the Languages table not appear?
It appears once at least one I18N plugin is activated.
Why do some strings show no prefix when debugging?
Text inside images and text set by system properties is not stored in the translation tables, so no prefix appears for it.
Which Language value goes in the spreadsheet?
Use the BCP 47 code, except in Translated Text and Message rows, where you type the full language name. The import depends on that difference.
Which transform map should I choose during an import?
Choose the map that matches the loaded table, with Run Business Rule selected. Without that option, the next upgrade can overwrite customized translations.