How can we translate the language of the button created in Macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2018 05:40 AM
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.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2018 06:03 PM
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.