# Documents that Contain a Language Type Field

Use the following procedure to set up languages if all the documents that you want to index into Content contain a field that specifies the language type.

To configure Content to read language type from a field

1. Set up a process for looking up the language of a document in the `[FieldProcessing]` section.

   For example:

       [FieldProcessing]
       0=LookForLanguage

2. Create a section for the process. Create a `Property` for the process and identify the field that you want the process to apply to.

   For example:

       [LookForLanguage]
       Property=SetLanguage
       PropertyFieldCSVs=*/DRELANGUAGE,*/myLanguageType

3. Create a section for this property. Set the `LanguageType` parameter to `True` to map the values of the `*/DRELANGUAGE` fields to the equivalent language type in the `[LanguageTypes]` section.

   For example:

       [SetLanguage]
       LanguageType=True

       [LanguageTypes]
       0=russian

       [russian]
       Encodings=CYRILLIC:russianCYRILLIC,CYRILLIC_ISO:russianCYRILLIC_ISO,CYRILLIC_KOI8:russianCYRILLIC_KOI8,UTF8:russianUTF8
       Stoplist=russian.dat
       IndexNumbers=1

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 Content.

Related Topics

- Index Data

_FT_HTML5_bannerTitle.htm