Configuring Templates with Localized Attributes

Order Management shows localized custom choice value attributes on email templates, reports, and pack sheets. The following columns display when localizing choice value attributes in reports and templates:

Note: System reports must use a third-party tool to localize item attributes in a report. Contact Salesforce Support for assistance.

See Configuring Localization and Localizing Custom Attributes.

Before localizing custom templates, you must:

  1. In Order Management Administration: click Settings > Templates.

    Order Management is installed with system templates only. When creating a custom template, it must be associated with an object (such as an Item, Order, Invoice, or Payment) to be viewable.

    When creating and viewing orders in the Administration module or Customer Service Center, click the Template button to show a list of the custom templates.

    The Template Manager opens with the system and custom templates listed in the left panel.
  2. In Template Manager, click the template link and click ???or Edit in the Template section.
    The text for the template appears in plain text and HTML formats.
  3. To add an attribute value, add the following localization column into the text: $!attr.attribute_value_localized.
  4. To add a resource name, add the following as the first line in the content: $!Res.GetValue("XXXXX")
    XXXXX represents the resource name that you previously specified. This resource is what directs Order Management to select the correct localized contents. See Configuring Resources.
  5. Click Update to update the template, or click Cancel to exit without making changes.
  6. Select the object, such as Order, in the Attach To Object section.
    If you created a new template, you must attach the attribute to an object, such as order, order item, or item.
  7. To validate that the localization column was added:
    1. In Order Management Administration: click Settings > Templates.
      The Template Manager opens with the system and custom templates listed in the left panel.
    2. On the Template Manager, click the template link and click ???or Edit in the Template section.
      The text for the template appears in plain text and HTML formats.
    3. Click Preview to preview the email text.
    4. On the Preview template: Custom Email page, select an object from the Object Type list.
    5. Enter an order number in the Identifier field (second field). For example, enter Order from the list, and then enter the Order # in the second field.
    6. Select Text or HTML as the format you want shown.
    7. Check the Show Possible Fields, if appropriate.
    8. Click Refresh.
      The content appears with the localized attribute text.