Skip to main content
Answer

How to translate the message when send through tsf_send_message

  • August 17, 2022
  • 2 replies
  • 86 views

Rucha Naik
Forum|alt.badge.img+5

I have written below query in a function to send the message when the check box is checked:

if @work_permit_check_box = 1 /*and @work_permit= 0 checked*/ beginexec tsf_send_message 'Please change the work permit expiration date.', null, 1;end

 

 

The output I am getting.

 

How can I translate this message?

Best answer by Mark Jongeling

Hi Rucha,

Simple create a Message in your model and translate it in the available languages for your project. More info here: https://docs.thinkwisesoftware.com/docs/sf/messages

The tsf_send_message first parameter is the Message ID. This corresponds with the Message ID as you created in the Software Factory. 

Hope this helps!

This topic has been closed for replies.

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • August 17, 2022

Hi Rucha,

Simple create a Message in your model and translate it in the available languages for your project. More info here: https://docs.thinkwisesoftware.com/docs/sf/messages

The tsf_send_message first parameter is the Message ID. This corresponds with the Message ID as you created in the Software Factory. 

Hope this helps!


Rucha Naik
Forum|alt.badge.img+5
  • Author
  • Partner
  • August 17, 2022

Thanks for the reply. I was getting confused by the message_id from the document. I was searching for a numeric id. 

@Mark Jongeling  your explanation was easy and I was able to make it work with translation.