Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

"You must attach a file to submit the request" Error message change language

eyal abu hamad
Mega Sage

Trying to get the message "You must attach a file to submit the request" to display in other language on Portal catalog item page. This message appears when a user tries to submit a record producer without attaching a required file.

eyalabuhamad_0-1788951223086.png

eyalabuhamad_1-1788951266034.png

I want to translate or event CHANGING THE TEXT
I tried with "messages" sys_ui_message
nothing worked !!
from where the message comes ? is it widget ?

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@eyal abu hamad 

create entry into messages table with the key as "You must attach a file to submit the request" and language as your language and message as the translated text in that language and save.

Logout and login with other language user

it worked for me

Messages

Screenshot 2026-09-09 163150.png

Output: it showed the message in French

Screenshot 2026-09-09 163312.png

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

IbrarA
Tera Guru

Hi  @eyal abu hamad ,

 

You can also check the system property glide.ui.i18n_test and set it to true, then reload the portal and trigger the error again.

IbrarA_0-1789032002281.png

 

Every translatable string will show a prefix telling you which table it comes from. If this message has no prefix, it's hardcoded and nothing you add will pick it up. Then it's a case of cloning the widget and wrapping the string in ${}.

https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/localization...

thanks

ibrar