Debug translations
Show which UI strings are translatable and their translation table to debug translations.
Before you begin
Role required: admin
About this task
You can set translation prefixes to appear only in the current user session or to appear in all sessions.
Translation prefixes map to translation tables as follows.
| Prefix | Table | Navigation |
|---|---|---|
| TRF | Translated Name / Fields [sys_translated] | System Localization > Translated Names / Fields |
| MSG | Messages [sys_ui_message] | System Localization > Messages |
| GMLD | Field Label [sys_documentation] | System Localization > Field Labels |
| TRT | Translated Text [sys_translated_text] | System Localization > Translated Text |
| CHC | Choice [sys_choice] | System Localization > Choices |
Note: A few strings may not display translatable prefixes. In this case, the string is not stored on any of these tables. Examples of this behavior include:
- Text embedded in images, such as the buttons in the Service Catalog.
- Text defined by properties, such as the text which follows the banner.
Procedure
Enable translation prefixes on field labels.
- To enable prefixes for the current user session, navigate to All > System Localization > Enable I18N Debugging.
- To enable prefixes for all sessions, navigate to All > System Properties > System Localization and set Display translation prefix on translatable strings to Yes.
Image omitted: TranslationProperty.png
Translation property.
Translation property.
- Refresh the page or change your user language to one of the non-English languages installed on your instance to see the prefixes.
Result
When enabled, translation prefixes appear before translatable UI strings.
Image omitted: translation-prefix.png
The application navigator with MSG and TRF prefixes for the navigator and application strings.
The application navigator with MSG and TRF prefixes for the navigator and application strings.
What to do next
When you are done debugging, disable the translation prefixes.
- To disable prefixes for the current user session, either log out of the session or navigate to All > System Localization > Disable I18N Debugging.
- To disable prefixes for all sessions, navigate to All > System Properties > System Localization and set Display translation prefix on translatable strings to No.
Related topics