Activity › Forums › Salesforce® Discussions › What are custom labels in Salesforce? What is the character limit of custom label?
Tagged: Character Limit, Custom Labels in Salesforce, Custom Metadata Type, Metadata API in Salesforce, Salesforce Apex Class, Salesforce Help and Training, Salesforce Visualforce Page, Translation Settings
-
What are custom labels in Salesforce? What is the character limit of custom label?
Posted by Aman on September 22, 2018 at 10:38 AMWhat are custom labels in Salesforce? What is the character limit of custom label?
Parul replied 7 years, 7 months ago 3 Members · 2 Replies -
2 Replies
-
Custom labels are custom text values that can be accessed from Apex classes or Visualforce pages. The values here can be translated into any language supported by Salesforce.
Their benefit is that they enable developers to create multilingual applications which automatically presents information in a user’s native language.You can create up to 5,000 custom labels for your organization, and they can be up to 1,000 characters in length.
- [adinserter block='9']
-
CustomLabels
The CustomLabels metadata type allows you to create custom labels that can be localized for use in different languages, countries, and currencies.
Declarative Metadata File Suffix and Directory Location
This type extends the Metadata metadata type and inherits its fullName field. Custom labels are custom text values, up to 1,000 characters in length, that can be accessed from Apex classes or Visualforce pages. For more information, see “Custom Labels” in Salesforce Help.Master custom label values are stored in the CustomLabels.labels file. Translations for custom labels can be retrieved through Translations in Metadata API. Translations are stored in files under the translations folder with the name format of localeCode.translation, where localeCode is the locale code of the translation language. The supported locale codes are listed in Language.
Log In to reply.