Community Component 25.2
Community Component Help

# Define Language Types

To run the Content component in multiple languages, specify the language types that you want Content to process. A language type is a combination of the language and encoding.

NOTE: You must specify languages and language types before you index data into Content.

To specify language types

1. Open the Content component configuration file in a text editor.

2. Find the `[LanguageTypes]` section and list the languages that you want Content to process. You must use UTF-8 characters when specifying a language.

   For example:

       [LanguageTypes]
       0=English
       1=Afrikaans
       2=Albanian
       3=Arabic
       4=Armenian
       5=Azeri

3. In the `[LanguageTypes]` section, set any configuration parameters that you want to apply to all languages. For details of the configuration parameters you can use, refer to the Content component Reference.

   NOTE: As well as the general language configuration parameters, you can set any of the individual language configuration parameters in the `[LanguageTypes]` section. The value in this section sets the default value for all languages, which you can override in the individual language configuration sections.

   For example:

       [LanguageTypes]
       DefaultLanguageType=englishUTF8
       DefaultEncoding=UTF8
       LanguageDirectory=C:\KnowledgeDiscovery\langfiles
       GenericTransliteration=True
       StopWordIndex=1
       ProperNames=3
       TangibleCharacters=!?

4. For each language that you use, create a section using the name of the language.

   In this section, specify appropriate settings that determine how Content handles this language. For details on the configuration parameters you can use, refer to the Content component Reference.

5. For each section, add the `Encodings` parameter and define the encodings and corresponding language types used by the language.

   For example:

       [english]
       Encodings=UTF8:englishUTF8
       Stoplist=english.dat
       IndexNumbers=1

       [afrikaans]
       Encodings=UTF8:afrikaansUTF8
       IndexNumbers=1

       [albanian]
       Encodings=UTF8:albanianUTF8
       IndexNumbers=1

       [arabic]
       Encodings=ARABIC_ISO:arabicARABIC_ISO,ARABIC:arabicARABIC,UTF8:arabicUTF8
       IndexNumbers=1

       [armenian]
       Encodings=UTF8:armenianUTF8
       IndexNumbers=1

       [azeri]
       Encodings=UTF8:azeriUTF8
       IndexNumbers=1

       [general]
       Encodings=UTF8:generalUTF8,CYRILLIC:generalCYRILLIC
       IndexNumbers=1

6. Save the configuration file.

7. You can now configure Content to associate the language types that you defined with documents.

Related Topics

- Supported Languages and Common Encodings

- Display Online Help

- Associate Language Types with Documents

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 Community Component 25.2

Topic Title: Define Language Types