The CreatorCon Call for Content is officially open! Get started here.

How to change the lable of Form Sections

farhad_hamedvar
Kilo Explorer

Hi,

Maybe just a simple question for experts: how can I change/translate the label of Form Sections on the User Form in a multi-language instance?

Thanks in advance,
Fahhad

14 REPLIES 14

Hi krishnakoneru,

It does not work. Seems you can not translate Section labels with OOTB functionality.

Thanks for your help!
Farhad


CapaJC
ServiceNow Employee
ServiceNow Employee

Looks like the section labels are the "Translated Name / Fields" records where Table = sys_ui_section and the Element = caption. If you have languages installed, you'll already see a bunch of 'em. Create a new one for each language for your new section. Value is going to be the English label you used, and Label (translate) will be the translation.


Neringa
Giga Contributor

Dear All,

I'd like to refresh the discussion on this topic.
Like Farhad, I was also not able to find the correct solution for localizing form sections.
The idea of CapaJC seems to be feasible, so I've decided to test it with the section "Schedule" of the Change Request form in our german environment. Please check the attachment for the details in screenshots.

1. I've modified the appropriate entry in the Translated Name/Fields form:
Table: sys_ui_section
Element: caption
Label (translate): Zeitplan---TEST--- (OLD: Zeitplan)
Language: de
Value: Schedule

2. I've checked the change through the "Form section" table. It was OK. The new label "Zeitplan---TEST---" was displayed.

3. However I still could not see any change in the Change_Request form.

What is wrong with that? I tend to categorize this behaviour as a bug, because the system "knows" about the change (Form section table as proof), but it is not reflected in the gui.

Any ideas?

Best regards,
Neringa


Neringa
Giga Contributor

Hello again,

I want to share 2 workarounds with you, we've found today to overcome the described problem:

1. Refresh the cache after configuring your translations in the form Translated Name/Fields:

https://your_service_now_instance.service-now.com/cache.do

2. Activate temporary the translation prefix on the translatable string:

System Properties > System Localization > Displays translation prefix on translatable strings = Yes ==>
Save ==>
System Properties > System Localization > Displays translation prefix on translatable strings = No (deactivated)

WIKI: http://wiki.servicenow.com/index.php?title=Translating_New_Customizations#Using_Displayed_Prefixes

Of course, it's not a bug fix, but a workaround to force the system to update all the strings (incl. section labels) in the GUI .

Best regards,
Neringa

P.S. See the attachment for the changed tab label.


agrawars
Tera Contributor

1) Right click on form header

2) Select form design

3) Rename section in form design

4 ) Save form design