Newer Version Available
$Label.Site
A global merge field type to use
when referencing a standard Sites label in a Visualforce page.
Like all standard labels, the text will display based on the
user’s language and locale.
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.
Salesforce provides
the following labels:
| Label | Message |
|---|---|
| authorization_required | Authorization Required |
| bandwidth_limit_exceeded | Bandwidth Limit Exceeded |
| change_password | Change Password |
| change_your_password | Change Your Password |
| click_forget_password | If you have forgotten your password, click Forgot Password to reset it. |
| community_nickname | Nickname |
| confirm_password | Confirm Password |
| down_for_maintenance | <i>{0}</i> is down for maintenance |
| email_us | email us |
| enter_password | Did you forget your password? Please enter your username below. |
| error | Error: {0} |
| error2 | Error |
| file_not_found | File Not Found |
| forgot_password | Forgot Password |
| forgot_password_confirmation | Forgot Password Confirmation |
| forgot_your_password_q | Forgot Your Password? |
| get_in_touch | Please <a href="{0}">{1}</a> if you need to get in touch. |
| go_to_login_page | Go to Login Page |
| img_path | /img/sites |
| in_maintenance | Down For Maintenance |
| limit_exceeded | Limit Exceeded |
| login | Login |
| login_button | Login |
| login_or_register_first | You must first log in or register before accessing this page. |
| logout | Logout |
| new_password | New Password |
| new_user_q | New User? |
| old_password | Old Password |
| page_not_found | Page Not Found |
| page_not_found_detail | Page Not Found: {0} |
| password | Password |
| passwords_dont_match | Passwords did not match. |
| powered_by | Powered by |
| register | Register |
| registration_confirmation | Registration Confirmation |
| site_login | Site Login |
| site_under_construction | Site Under Construction |
| sorry_for_inconvenience | Sorry for the inconvenience. |
| sorry_for_inconvenience_back_shortly | Sorry for the inconvenience. We'll be back shortly. |
| stay_tuned | Stay tuned. |
| submit | Submit |
| temp_password_sent | An email has been sent to you with your temporary password. |
| thank_you_for_registering | Thank you for registering. An email has been sent to you with your temporary password. |
| under_construction | <i>{0}</i> is under construction |
| user_registration | New User Registration |
| username | Username |
| verify_new_password | Verify New Password |
Example
1<apex:page>
2 <apex:pageMessage severity="info"
3 strength="1"
4 summary="{!$Label.Site.temp_password_sent}"
5 />
6</apex:page>