In the dynamic realm of Salesforce customization, ensuring a seamless experience across diverse languages is paramount.
Let’s delve into two powerful metadata types: CustomObjectTranslation and Translations. ๐ก๏ธโจ
CustomObjectTranslation: Transforming the user experience, this metadata type allows us to fine-tune translations for custom objects.
From labels to picklist values, it’s the key to delivering a localized touch to our Salesforce instances.
- This metadata type is specifically used for translating custom object metadata.
- Custom objects are objects that you create in Salesforce to store information unique to your organization.
- CustomObjectTranslation is used to provide translations for custom object labels, help text, and picklist values.
Sample Code Snippet:

Translations: A broader palette, the ‘Translations’ metadata type embraces various components beyond custom objects.
From CustomLabel to StandardValueSetTranslation, it empowers us to infuse multilingual finesse into every facet of our Salesforce solutions.
- The
Translationsmetadata type is a broader category that includes translations for various components in Salesforce, not just custom objects. - It can be used for translating standard objects, custom labels, validation rules, picklist values, and more.
- The
Translationsmetadata type includes subtypes for different components, such asCustomLabel,CustomPageWebLinkTranslation,StandardValueSetTranslation, etc.
Example Custom Label Code:

In summary, while CustomObjectTranslation is specifically for translating custom object metadata, Translations is a more general metadata type that encompasses translations for various components across the Salesforce platform. Depending on your translation needs, you may use one or both of these metadata types in your Salesforce customization.
๐ Embrace the power of translation in Salesforce, bridging gaps and fostering a global user community. Let’s create experiences that transcend borders! ๐๐ #Salesforce #Localization #TechInnovation #MultilingualCRM
Leave a comment