View Component 25.2
View Component Help

# 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 Content component contain a field that contains data that you can use to identify the language type.

To configure the Content component to identify languages from field data

1. Use the `[FieldProcessing]` section of the 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 Content component for your changes to take effect.

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

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 Field Data that can Identify Language