UI Builder Translatable for Dynamic Text

Hasan6
ServiceNow Employee
ServiceNow Employee

I can leverage sys_ui_message table to translate static stylized text and static rich text fields in ui builder.

Can I use the same functionality to translate dynamic binding and/or scripted text inputs?

 

Also, is there a way to bypass the 255 character limit of sys_ui_message key value?

1 ACCEPTED SOLUTION

Guido Bernuetz
Giga Guru

write a little data broker to query all your translated text by a server script. Call this before you display the message.

GuidoBernuetz_0-1695371839142.png

 

to: Also, is there a way to bypass the 255 character limit of sys_ui_message key value?

Why you want to do this? It's only the key, not the text. Create records with same key in all languages (also English).
Often the key is used as the original English text. But that's not a good practice.

I am not a helpful hunter.
I will always try to give a meaningful and valid answer.

View solution in original post

1 REPLY 1

Guido Bernuetz
Giga Guru

write a little data broker to query all your translated text by a server script. Call this before you display the message.

GuidoBernuetz_0-1695371839142.png

 

to: Also, is there a way to bypass the 255 character limit of sys_ui_message key value?

Why you want to do this? It's only the key, not the text. Create records with same key in all languages (also English).
Often the key is used as the original English text. But that's not a good practice.

I am not a helpful hunter.
I will always try to give a meaningful and valid answer.