Content Management - Static Content needs to be translated

jcalhoun
Tera Contributor

I have a simple page with a widget that is displayed when a user submits a record producer form.  The text is static and just say's "thank you for your submission".  I need this to get translated based on the users default language.  I have no idea where to start or what my options are.  Below is a screen shot of the page.

 

jcalhoun_0-1710864013061.png

 

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @jcalhoun,

Please refer to the below link:
https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/notification/concept/st...

 

If it is helpful, please mark it as helpful and accept the correct solution.

Thanks & Regards,

Abbas Shaik

Krushna R Birla
Kilo Sage

Hi @jcalhoun 

 

You can utilize the Message [sys_ui_message] table, which contains translated messages for any country you have included. The static content that requires translation should be enclosed within gs.getMessage(). Utilize this method to retrieve translated text according to your needs.

 

krishbirla07_0-1710919708760.png

 

Feel free to reach out to me via LinkedIn if you have any questions or need further assistance.

 

If this solution resolves your query, kindly mark it as the accepted solution and give it a thumbs up.

 

Best Regards,
Krushna Birla