Unable to translate Ui Action button in SOW

vidhya_mouli
Giga Sage

I have created a UI Action button Cancelled by requestor. I need to add Norwegian translation for this button. I did the following:

vidhya_mouli_0-1717054104832.png

 

However, I am unable to see the translation happening in the agent workspace (SOW). Any suggestion on how this can be done?

 

1 ACCEPTED SOLUTION
4 REPLIES 4

Mark Manders
Mega Patron

Workspaces are the worst with caching... 

Could you perform a 'cache.do' and check if it's there?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Tried that but unfortunately did not work 😔

vidhya_mouli
Giga Sage

Bjoern_Pfoster
Tera Guru

I also stumbled across this problem. Since activating the I18N Debugging (as referenced in your solution ) is not a viable option, I searched the missing translation manually.

The UI Actions for the SOW are linked in the table sys_ux_form_action_layout_item. Look for your UI Action (in your case "Cancelled by requestor") in the list there and open it. You might need some information from here to create the missing translation.
Records in the sys_ux_form_action_layout_item table are translated using Translated Name / Field (sys_translated) translations. Therefore, create a new record in sys_translated with the following information:
Label (translate): <your translation in the target language>
Language: <your target language code>
Table: sys_ux_form_action_layout_item
Value: <the label of the UI Action to translate, in this case "Cancelled by requestor">
Element: label

After the creation of this translated name / field record, head to cache.do to clear the cache. Afterwards, the UI Action must display the proper translated label.