function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Could any body let me know about custom label and where to use them?


If this solves your problem, kindly mark it as the best answer.

Hi Syam,

Custom Label maybe not so popular among Salesforce administrator compare to other feature, such as: workflow, formula field and so on. Custom Label enable developers to create multilingual applications by automatically presenting information in a user's native language from Apex class or Visualforce page.

Not only for developers, Custom Label actually also available for system administrators to be used in formula field. A value from a formula field can be depend on value from custom label referred, when display in page layout, it will be displayed based on language selected in user detail. Please note if you want to set Custom Label in multi-language, you need to enable Translation Workbench. To enable Translation Workbench, click Your Name | Setup | Administration Setup | Translation Workbench | Translation Settings and add languages to be supported.

To create Custom Label, click Your Name | Setup | App Setup | Create | Custom Labels. You only can add translation language for a custom label based on languages supported in Translation Workbench.
User-added image

We can find Custom Label in Salesforce Global Variable start with $Label
User-added image

And this is the final formula, it is just $Label.Label_Name
User-added image

Here more information about Custom Label from Salesforce: (