IDOL Server 24.1

# Define Language Types

To run the IDOL 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 IDOL 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, see Language Types Configuration Parameters.

   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:\IDOLserver\IDOL\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, see Language Configuration.

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 2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL Server 24.1

Topic Title: Define Language Types