Loading
The Trailblazer Community is now read-only Read More
Set Up Data Translation for Store Check

Set Up Data Translation for Store Check

Add a Translations panel to records like Assessment Task Definition, so you can create and manage translated versions of field values in multiple languages, letting field users view and enter Store Check data in their own language.

Required Editions

Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.
User Permissions Needed
To set up data translation for store check: Life Sciences Commercial Admin
  1. Enable Data Translation.
    1. From Setup, in the Quick Find box, find and select Company Information.
    2. On the Company Information Setup page, click Edit.
    3. In Translation Settings, select Enable Data Translation.
    4. Save your changes.
  2. Add languages and assign translators.
    1. From Setup, in the Quick Find box, find and select Translation Language Settings.
    2. Click Add.
    3. Select the languages that you want to translate into.

      For example, French, Spanish, or German.

    4. To make users translators for this language, select them from the Available List and click Add.

      Give all translators the View Setup and Configuration permission so that they can begin translating. These users can enter or edit translated values in that language.

      Note
      Note For custom fields, also turn on custom-field data translation and select the specific fields as needed. Standard fields work with this step.
    You now have active languages, each with translators assigned.
  3. Add the Translations panel to a record page.

    Supported objects: AsmtIndDefExt, AssessmentIndDefinedValue, RetailStoreKpi, and AssessmentTaskDefinition.

    These steps use Assessment Task Definition as the example. The steps are identical for any supported object.

    1. From the App Launcher, find and select Assessment Task Definition.
    2. Open a record for which you want to add the translations panel.
    3. From the Settings menu, click Edit Page.

      The Lightning App Builder opens.

    4. In the Components section, drag the Translations component onto the canvas in a wide area.
    5. Save your changes.
    6. Activate the record page, select org default, click Next, and then save your changes.

    The translations panel now appears on every record of that object.

  4. Create a translation of a record.
    1. On the Assessment Task Definition record page, go to the translation section, then click Add Translation.
    2. In Select from available languages, select an available language from the list.

      Only active languages and the languages that aren't already have a translation appear in the list.

    3. Enter a name.
    4. If needed, enter a description.
    5. Save your changes.
  5. Generate a metadata cache after you enable data translation and make changes in Translation Language Settings. See Generate Metadata Cache.
    Note
    Note Generating a metadata cache downloads translated values to the iPad the first time you add a translation. If you edit or delete an existing translated value, a metadata cache regeneration or a manual sync on the mobile app doesn't update the device. To pick up the change, trigger a full data sync by selecting Is Full Sync Enforced from the Life Science Mobile App record and manually sync the iPad.

    These are the objects and fields where translated values are downloaded to the mobile app based on the user's locale.

    Object Translated Fields Data Translation Object
    AssessmentTaskDefinition Name, Description AssessmentTaskDefinitionDataTranslation
    AssessmentIndDefinedValue Value AssessmentIndDefinedValueDataTranslation
    RetailStoreKpi TargetStringValue RetailStoreKpiDataTranslation
    AssessmentIndicatorDefinition Name, Description AsmtIndDefExtDataTranslation
 
Loading
Salesforce Help | Article