# Documents that Contain Field Data that can Identify Language

Use the following procedure to set up languages if all the documents that you want to index into the IDOL Content component contain a field that contains data that you can use to identify the language type.

To configure the IDOL Content component to identify languages from field data

1. Use the `[FieldProcessing]` section of the IDOL Content component configuration file to define each language property that you want Content to be able to detect.

   For example:

       [FieldProcessing]
       0=DetectArabic
       1=DetectEnglish
       2=DetectChSimplified
       3=DetectChTraditional
       4=DetectFrench

2. Define a section with the name of the respective language type for each of the languages that you defined in the `[FieldProcessing]` section. In this section, specify the fields that Content must look for and the values that those fields must have to recognize the document as a particular language type.

   For example:

       [DetectArabic]
       Property=SetArabicProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=arabic

       [DetectEnglish]
       Property=SetEnglishProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=*eng*,uk,*british

       [DetectChSimplified]
       Property=SetChSimplifiedProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=*ChSimp*,ChineseSimp*

       [DetectChTraditonal]
       Property=SetChTraditionalProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
       PropertyMatch=*ChTrad*,ChineseTrad*

       [DetectFrench]
       Property=SetFrenchProperty
       PropertyFieldCSVs=*/DRELANGUAGETYPE, */DRELANGAGETYPE,*/LANG
       PropertyMatch=*fre*,fran*

3. Define a section with the same value as the respective property for each `Property` that you defined in the `[FieldProcessing]` subsections. In this section, you can then specify the language type (which you must also list in the `[LanguageTypes]` section where you define how you want Content to handle the individual languages).

   For example:

       [SetArabicProperty]
       LanguageType=Arabic
       HiddenType=True

       [SetEnglishProperty]
       LanguageType=English
       HiddenType=True

       [SetChSimplifiedProperty]
       LanguageType=ChSimplified
       HiddenType=True

       [SetChTraditionalProperty]
       LanguageType=ChTraditional
       HiddenType=True

       [SetFrenchProperty]
       LanguageType=French
       HiddenType=True

4. Save and close the configuration file.

5. Restart the IDOL Content component for your changes to take effect.

6. You can now index documents into the IDOL Content component.

Related Topics

- Index Data

_FT_HTML5_bannerTitle.htm