How can we translate the language of the button created in Macro

ram160
Tera Contributor

There are buttons created in Macro (Add Row and Remove Row)

Now as part of translations we are changing the selected fields to chinese.

I am not sure how can we change these two buttons from macro be updated.

1 REPLY 1

siva_
Giga Guru

Hello Ram,

 

You need to add the text you want to translate as a key in the Messages[sys_ui_message] table.

 

key : The text you want to translate

Language  : Chinese 

Value: the chinese translated version of your text. 

 

Post creation of this record, you can use ${gs.getMessage(the text you want to translate (which is key)} in the macro and that should solve your issue. Also clear cache before trying this each time so that you are not missing your result just because of the cache stored in the system. 

 

Thanks,

Siva.

 

Mark this answer as correct / helpful if that really helps.