Skip to main content

In our Community we have a shared Hero Component on our Homepage. In the component I need to have the Caption text in different languages. I am looking into using Custom Labels, and then referencing the label from the component. 

 

I have tried folowing the guide here: https://help.salesforce.com/articleView?id=sf.cl_about.htm&type=5

 

Custom Label Name = trans_communitypage_HomePage

 

Reference in Hero Component: {!$Label.trans_communitypage_HomePage}

 

But I do not seem to be able to reference the custom label

 

Anybody who can help?

1 comentario
  1. 7 abr 2021, 15:37
    If I remember correctly, the way you translate components is by switching to that language in builder, and updating the component within that language. You cannot use custom labels in merge fields for component properties.
0/9000