Step 2: Localize the Form Region Manifest XML File
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.
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.
Note About Updating the Control Name for stringOverride
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
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.
On the Outlook ribbon, click the Developer tab.
On the Developer ribbon, click Design a Form.
For Look In, select Standard Forms Library, and then select Contact.
Note
This walkthrough uses the Contact item. If your sample uses another Outlook item, choose the appropriate item from the list.
Click Open, and then click Open Form Region.
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.
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.