"You must attach a file to submit the request" Error message change language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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.
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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
Output: it showed the message in French
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
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.
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 ${}.
thanks
