cancel
Showing results for 
Search instead for 
Did you mean: 

LinkToAction Translation

Former Member
0 Kudos

Hello,

I added LinkToAction to the view and need to translate the name of the link. When I map text field to context variable, link name reflects variable name. I put values in Representation for the context variable (Field Label/Column Label), but still shows variable name. Does it mean LinkToAction does not support this mapping and I need to put some code in init to change link text?

Thanks,

Leonid

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I think you will have to set the value of the context varible which u have binded to the text property of the link_to_action in init

this can be done as :

wdContext.CurrentContextElement().settext("link");

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

Thanks for your suggestion. I found my answer - when the action is created and the text is given and this action is assigned to LinkToAction event, the content of action text will be Link name.

Best Regards,

Leonid

Former Member
0 Kudos

Hi,

Are you talking about i18n. In that case.. all UI elements we use are available in <>wdview.xlf file.

Copy this file , rename is as <>wdview_<locale>.xlf

Open this file and enter the translated label for the UI element.

Regards

Bharathwaj