View Component 25.2
View Component Help

# 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 Content component for your changes to take effect.

6. You can now index documents into Content.

Related Topics

- Index Data

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.2

Topic Title: Documents that Contain a Language Type Field