How to translate email script message into Germany

Gopal14
Tera Contributor

Hi Team,

 

I want to translate email script message.  I have tried in Messages(sys_ui_message) module, However it is not working.

 

I have closed case notification, in that every text got translated, expect email script one. email script is for survey. that survey message is showing in English, Now I want to translate that also into Germany. 

 

below is my email script:

 

 var email_to = gs.getProperty('instance_name')+"@service-now.com"; 

    var out = '<p><span style="font-size: 12pt; font-family: verdana, geneva;">Issue resolved? Take this quick survey!</span></p>' +
              '<p><span style="font-size: 12pt; font-family: verdana, geneva;">How did we do? Rate your service experience</span></p>' +
              '<p>' +
              '<a href="mailto:' + email_to + '?subject=re: ' + current.number + ' CSM CSAT Survey - Very Dissatisfied &amp;body=additional comments (optional):">' +
              '<img style="align: baseline;" src="sn_customerservice.VeryDissatisfied-Selected.jpg" alt="Very Dissatisfied" height="auto"/></a>' +
              '<a href="mailto:' + email_to + '?subject=re: ' + current.number + ' CSM CSAT Survey - Dissatisfied &amp;body=additional comments (optional):">' +
              '<img style="align: baseline;" src="sn_customerservice.Dissatisfied-Selected.jpg" alt="Dissatisfied" height="auto"/></a>' +
              '<a href="mailto:' + email_to + '?subject=re: ' + current.number + ' CSM CSAT Survey - Neutral &amp;body=additional comments (optional):">' +
              '<img style="align: baseline;" src="sn_customerservice.Neutral-Selected.jpg" alt="Neutral" height="auto"/></a>' +
              '<a href="mailto:' + email_to + '?subject=re: ' + current.number + ' CSM CSAT Survey - Satisfied &amp;body=additional comments (optional):">' +
              '<img style="align: baseline;" src="sn_customerservice.Satisfied-Selected.jpg" alt="Satisfied" height="auto"/></a>' +
              '<a href="mailto:' + email_to + '?subject=re: ' + current.number + ' CSM CSAT Survey - Very Satisfied &amp;body=additional comments (optional):">' +
              '<img style="align: baseline;" src="sn_customerservice.VerySatisfied-Selected.jpg" alt="Very Satisfied" height="auto"/></a>' +
              '</p>';

   
    current.survey = "0";
    current.update();
    template.print(out);

 

Now I want to translate 

"Issue resolved? Take this quick survey!"  to  "Problem gelöst? Nehmen Sie an dieser kurzen Umfrage teil!"
 
"How did we do? Rate your service experience" to "Wie fanden Sie uns? Bewerten Sie Ihr Serviceerlebnis"

 

In Messages table it is not working? Is there any other way to achieve this?

 

5 REPLIES 5

@Gopal14 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader