Step 7 (Optional): Localize the BDC Model File (Metadata.bdcm)

This step shows how to localize custom items in the BDC model file and contains a list of locale ID values that are supported in the BDC model file.

Applies to: SharePoint Server 2010

Usually, the values in the BDC model file (metadata.bdcm) do not appear in the user interface. But in some cases, you might have to localize this file to show some customized items in localized languages, such as the customized Outlook form column name.

Localizing the BDC Model

Localizing the BDC model file is different from localizing other XML files in the declarative Outlook solution. The BDC model schema enables you to add localized strings as additional XML nodes, as shown in the following example.

<LocalizedDisplayNames>
     <LocalizedDisplayName LCID="LCID value">Localized string</LocalizedDisplayName>
</LocalizedDisplayNames>

You can include all supported languages in the same BDC model file, so that the display names for those BDC entities will change according to the Office language settings. The following example shows how to include three languages in the BDC model file.

<LocalizedDisplayNames>
     <LocalizedDisplayName LCID="LCID value1">Localized string1</LocalizedDisplayName>
     <LocalizedDisplayName LCID="LCID value2">Localized string2</LocalizedDisplayName>
     <LocalizedDisplayName LCID="LCID value3">Localized string3</LocalizedDisplayName>
</LocalizedDisplayNames>

For a list of locale ID values to use for the LCID attribute, see Table 1 later in this topic. For more information about LCIDs, see What is the LCID.

The BDC model schema enables you to add the LocalizedDisplayNames nodes as child nodes under different BDC entities, as shown in Figure 1. The nodes labeled Loc Node in the diagram represent the LocalizedDisplayNames nodes. For more information about the BDC model schema, see BDCMetadata Schema. For more information about the BDC model file, see Step 1: Create the BDC Model (Metadata.bdcm).

Figure 1. LocalizedDisplayName nodes in the BDC model

LocalizedDisplayName nodes in the BDC model

Table 1 lists the locale ID values that you can use in the BDC model file.

Table 1. Language Locale ID (LCID) values

Language

LCID

Arabic

1025

Portuguese (Brazil)

1046

Bulgarian

1026

Croatian

1050

Czech

1029

Danish

1030

Dutch

1043

English

1033

Estonian

1061

European Portuguese

2070

Finnish

1035

French

1036

German

1031

Greek

1032

Hebrew

1037

Hindi-India

1081

Hungarian

1038

Italian

1040

Japanese

1041

Kazakh

1087

Korean

1042

Latvian

1062

Lithuanian

1063

Norwegian

1044

Polish

1045

Romanian

1048

Russian

1049

Serbian Latin

2074

Simplified Chinese

2052

Slovak

1051

Slovenian

1060

Spanish

1034

Swedish

1053

Thai

1054

Traditional Chinese

1028

Turkish

1055

Ukrainian - Ukraine

1058

Next Steps

Tips for Deploying Localized Solutions