How to change the button name on service portal for a user with different language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2022 02:30 AM
How to change the button name on service portal for a user with different language
we have two languages as : English and German.
There is button called Provide a Feedback on Ticket from after incident creation that needs to be displayed in German for German user as well.
PFA the required screenshots for better understanding :
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2022 02:40 AM
Hello,
Please enable debugger and see in which table you have to add an entry, I believe you should add entry in sys_ui_message table but please go through below article once you will understand better.
https://community.servicenow.com/community?id=community_blog&sys_id=b7aa7844db94b4144819fb24399619fb
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2022 02:45 AM
Button names should be changed as stated in this docs link to support language localization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2022 02:56 AM
hello
add this in server script
server script :
data.buttonname = gs.getMessage('Provide a feedback');
In html replace the button name with below variable
HTML:
<a>{{data.buttonname}}</a>
Hope this helps you
PLEASE MARK MY ANSWER CORRECT IF IT HELSP YOU