Custom Labels
Custom Labels are custom text values that can be used in Active Pages and Classes. The values can be translated into different languages using Magentrix Translation Studio. Custom Labels enable developers to create multilingual applications which show help text, messages, titles, and more in the end-user's native language. A Custom Label can be up to 2,000 characters in length.
Requirements
To create custom labels, users must have the following permissions:
- Administrator System Role
To create custom labels:
- In the Setup Home page, click Develop > Labels.
- Click New.
- Configure the fields:
- Short Description: Enter a description of the label.
- Name: Enter a unique name. This field will be populated automatically from the Short Description field.
- Value: Enter the master value that will be displayed when the custom label is used.
- Comments: Enter an optional comment.
- Click Save.
It is strongly recommended to use the English value for the Value field, as the translation of Custom Labels is managed within the Translation Studio.
In order to access Custom Labels within Merge Values, for example in Buttons or Page Layout use the following format:
// FORMAT: $Label.[label unique name]
{!$Label.My_Sample_Label}
See also:
<< Managing Active Classes and Triggers