I'm working on a global implementation project, and in building custom Visualforce pages I'd like to use the standard Salesforce labels for actions such as Save and Cancel. Does anyone know how I can reference the labels dynamically so that I can display the action labels in the user's language?
So far I've found the ability to reference custom labels and also object or field labels. But I haven't found a way to get the labels used by Salesforce for the standard buttons.
Best Answer
You can either use $Label.Site to reference standard site labels. Here's a list of the standard site variables: http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_global_labelsite.htm
Or you can use the Action's label:
Here's a list of valid actions. http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_global_action_valid_values.htm