Content Component 26.2
Content Component Help

# Define a Default Language Type

You can specify a default language type (language and encoding) that the Content component uses for documents of unspecified language. It uses the default language type when:

- Content cannot read the language type of a document from a specified field.

- the action does not include a LanguageType parameter.

- automatic language detection is not enabled.

The default language type is also the default for the LanguageType parameter in actions such as Query and Summarize.

To specify a default language type

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

2. Find the `[LanguageTypes]` section and enter the language type to associate with any document that does not contain a language type field.

   If you use automatic language detection, Content uses the detected language and encoding to determine the language type of documents, and not the default language type.

   For example:

       [LanguageTypes]
       DefaultLanguageType=englishUTF8
       LanguageDirectory=C:\OpenText\KnowledgeDiscovery\common\langfiles

3. Save and close the configuration file.

4. Restart the Content component for your changes to take effect.

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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 Content Component 26.2

Topic Title: Define a Default Language Type