Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
$Label.Site
A global merge field type used to reference a standard Sites label in a Visualforce
page. As with all standard labels, the label’s message displays according to the user’s
language and locale. You can’t modify the message of a standard Sites label. To use a custom
message, create a custom label, and then reference the label with the $Label
global variable.
Usage
Use this expression in a Visualforce page to access a standard Sites label. When the application server constructs the page to be presented to the end-user’s browser, the value returned depends on the language and locale of the user.
Example
1<apex:page>
2 <apex:pageMessage severity="info"
3 strength="1"
4 summary="{!$Label.Site.temp_password_sent}"
5 />
6</apex:page>