How to change the button name on service portal for a user with different language

Yash38
Kilo Guru

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 : 

find_real_file.png

 

find_real_file.png

 

3 REPLIES 3

Musab Rasheed
Tera Sage
Tera Sage

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

Please hit like and mark my response as correct if that helps
Regards,
Musab

Kalaiarasan Pus
Giga Sage

Button names should be changed as stated in this docs link to support language localization

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/build/service-portal/concept/c_Wi...

Mohith Devatte
Tera Sage
Tera Sage

hello @Snowy you can do this 

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