+ Start a Discussion
David HollandDavid Holland 

Translation Workbench and Section Headers

I am looking into Translation workbench and see how you translate fields, workflows etc.

 

However, is there a way to translate the section headers on a standard page layout as I don't see this option?

 

Many thanks

 

David 

Best Answer chosen by Admin (Salesforce Developers) 
wt35wt35

You can translate custom section headers only 

In the Translation tool, select "Layout Section" for the Setup Component.

 

For standard section headers, the best would be to remove them from the layouts, and replace with custom sections with the same name, so that they become available for translation.

All Answers

wt35wt35

You can translate custom section headers only 

In the Translation tool, select "Layout Section" for the Setup Component.

 

For standard section headers, the best would be to remove them from the layouts, and replace with custom sections with the same name, so that they become available for translation.

This was selected as the best answer
David HollandDavid Holland

I managed to find this about 10 minutes after I posted. :)

 

I wondered if there is anyway to reference these translated Section headers in visualforce (Simliar to how you can reference field labels)....

wt35wt35

You can retrieve the associated page layout in VF with 

apex:detail

 

which would include all sections and with the right translation.

 

However, I am not aware of a way of referencing a particular section from VF.

Peter_sfdcPeter_sfdc

Custom labels would normally be used for this. There are many UI labels that do not have access through a global variable. Outside of object and field labels, you need to use custom labels. 

 

For object: 

$ObjectType.ObjectName.Label

$ObjectType.ObjectName.LabelPlural

 

For fields:

$ObjectType.ObjectName.Fields.FieldName.Label

 

For custom labels:

$Label.CustomLabelName

 

To create custom labels you go to Setup>Create>Custom Labels