Solved

How to translate the message when send through tsf_send_message

  • 17 August 2022
  • 2 replies
  • 69 views

Userlevel 2
Badge +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?

icon

Best answer by Mark Jongeling 17 August 2022, 14:21

View original

This topic has been closed for comments

2 replies

Userlevel 7
Badge +23

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!

Userlevel 2
Badge +5

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.