다음을 통해 공유


Step 3: Localize the Solution Manifest (OIR.config) File

The solution manifest (OIR.config) file defines the parts of an Microsoft Outlook declarative solution. In this step, you learn how to localize several XML elements in the solution manifest file.

Applies to: SharePoint Server 2010

To localize part of the solution manifest file from the AdventureWorks2008 Declarative Outlook Solution Sample, perform the following steps.

To update the solution manifest (OIR.config) file

  1. In SolutionSettings, replace the SolutionDisplayName attribute value with a localized string.

    <SolutionSettings SolutionId="ContosoSalesManager" SolutionDisplayName="yourLocalizedString" SolutionVersion="1.0.0.0"/>
    
  2. In OfficeItemCustomizations, replace the ItemTypeDisplayName attribute value with a localized string.

    <OfficeItemCustomizations xsl:type="OutlookItemCustomizations" ItemTypeDisplayName="yourLocalizedString" MessageClass="IPM.Contact.AWWSCustomer">
    
  3. In OutlookFolder, replace the FolderDisplayName attribute value with a localized string. Beneath this element, in FolderViewDefinition, replace the ViewName attribute value with a localized string.

    <OutlookFolder Name="ContosoCustomers" FolderDisplayName="yourLocalizedString" NativeType="FolderContacts" SubscriptionName="AWWSExampleCustomerSubscription" FolderName="ContosoCustomerFolderID" CanCreate="true" CanUpdate="true" CanDelete="false">     
      <Views>         
        <FolderViewDefinition Name="ContosoCustomerViewName" ViewName="yourLocalizedString" ViewType="TableView" IsDefault="true" ViewFileName="ContosoCustomerView.ovd" />    
      </Views>    
      <Associations />
    </OutlookFolder>
    
  4. In Declarative:CodeMethodAction, replace the Caption attribute value with a localized string.

    <Declarative:Actions>          
      <Declarative:CodeMethodAction MethodType="EditEntity" Name="Edit" Caption="yourLocalizedString" DisplayLocations="ItemContextMenu" DisplayOrder="2" Scope="ItemContext" /> 
    </Declarative:Actions>
    

Next Steps

Step 4: Localize the InfoPath Form Template (*.xsn) File