Translate button reassign of modal reassign in incidents in SOW view

mariarubinger
Tera Contributor

Is it possible to translate the "Reassign" button in the "Reassign on incidents" modal in the Statement of Work view?
I've already tried creating the translation in the sys_translated_text table and in sys_message.

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@mariarubinger 

yes that's possible

I could see other text is translated so this one is also possible

I think it's a custom button

Share how it's created.

check link below

Need to translate a configurable workspace? - check this 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

This button is OOTB.

mariarubinger
Tera Contributor

This button is OOTB.

Diogo Ramos
Giga Sage

Hello Maria, 

I had a look at my instance and this button is not present, so I do think this is either a custom button or it comes from a specific application that I don't have installed. Either way for me It actually looks like a ui action that is using the g_modal class. 

if you confirm that is in fact true you should have something like the following in your workspace client script field of the ui action : 

    g_modal.showFields({
        title: "Reassign",

Try using getMessage 

    g_modal.showFields({
        title: getMessage("Reassign")​

And for the button label it should be something like : 

    g_modal.showFields({
       confirmTitle: getMessage('Reassign')

Ensure also in your ui action, you populate the message field with the keys that you are using in the script to be sure it works, for example "Reassign".

 

And as long these exist and are translated I would assume it would work.
DiogoRamos_0-1767804414307.png

 

I hope this helps.