Export (0) Print
Expand All

Step 2: Localize the Form Region Manifest XML File

SharePoint 2010

The form region manifest XML file for the Outlook form region defines the form region (.ofs) file that is used and how to display the form region. In this step, you learn how to localize the form region manifest file.

Last modified: September 27, 2010

Applies to: SharePoint Server 2010

In the AdventureWorks2008 Declarative Outlook Solution Sample, this file is FormRegionManifest.xml. To localize the form region manifest file, see How to: Specify Locale-Specific User Interface for a Form Region.

If you used the stringOverride tag to overwrite the display names of the Outlook form region labels with localized strings, you must also update the control name to the correct control name. Otherwise, the localized string does not display as expected in the Outlook form region label.

The following is an example of the stringOverride tag in the form region manifest XML file.

<FormRegion>

...

<stringOverride language="LCID value">
    <control name="Control name">
      <caption>Localized string</caption>
    </control>
    <control name="Control name">
      <caption>Localized string</caption>
    </control>
  </stringOverride>
</FormRegion>

The following steps show how to find the control names that correspond to the localized labels in the form region.

To find control names in the .ofs file that correspond to the localized labels in the form region

  1. Open Outlook, and then follow the steps in How to: Show the Developer Tab on the Ribbon to enable the Developer tab in the ribbon.

  2. On the Outlook ribbon, click the Developer tab.

  3. On the Developer ribbon, click Design a Form.

  4. For Look In, select Standard Forms Library, and then select Contact.

    NoteNote

    This walkthrough uses the Contact item. If your sample uses another Outlook item, choose the appropriate item from the list.

  5. Click Open, and then click Open Form Region.

  6. Choose the .ofs file that will be used in the manifest file, and then click Open. A form region tab that contains the labels appears on the Contact form.

  7. Right-click any label, and then click Properties.

    The Name field in the Properties dialog box specifies the control name. The Caption field specifies the display name for this label.

Show:
© 2014 Microsoft