The CreatorCon Call for Content is officially open! Get started here.

How to translate fixed text in the email notification within the "What it will contain" tab?

Elton2
Tera Contributor

Hi everyone, how are you?!

 

I would like to translate the text inside the "What it will contain" tab into Portuguese (image_1), I tried via gs.getInfoMessage() and using the key in the "sys_ui_message" table (image_2, )but it doesn't work, example:

 

gs.getMessage(Report sent after 30 days, check the content below before distributing to your team)

 

I tried to use:

${Report sent after 30 days, check the content below before distributing to your team}, but it doesn't work either.


Would anyone have any tips, please?

1 ACCEPTED SOLUTION

Kartik Magadum
Kilo Sage

Hello @Elton2 

Please try using the below line of code. 

gs.getMessageLang('message_key', 'language_id');

Please Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Thanks & Regards,

Kartik Magadum

View solution in original post

3 REPLIES 3

Kartik Magadum
Kilo Sage

Hello @Elton2 

Please try using the below line of code. 

gs.getMessageLang('message_key', 'language_id');

Please Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.

 

Thanks & Regards,

Kartik Magadum

Elton2
Tera Contributor

Hi @Kartik Magadum , how are you?!

 

I appreciate your support, this worked!

 

Thanks so much!!!

@Elton2 

Most Welcome😊