Category Component 25.4
Category Component Help

# DefaultLanguageType

The default language type (language and encoding) to use for documents of unspecified language.

Category Component uses this language type for documents when:

- it cannot read the language type of a document from a specified field.
- the `LanguageType` parameter is not specified in the action.
- automatic language detection is disabled.

`DefaultLanguageType` also specifies the default for the `LanguageType` parameter in actions such as `Query` and `Summarize`.

If you do not set `DefaultLanguageType` and you do not specify the language type in actions, Category Component uses the first language type defined in the `[MyLanguage]` section.

If you do not set the DefaultEncoding configuration parameter and you do not set the `OutputEncoding` action parameter, Category Component uses the encoding specified in the `LanguageType` action parameter, or in the `DefaultLanguageType` configuration parameter if you do not use the `LanguageType` action parameter.

NOTE: If the encoding of a document is found, but the language is not, Category Component can apply a `[General]` language, if it is defined, and if automatic language detection is activated.

Type: | String
Default: |
Required: | No
Configuration Section: | LanguageTypes
Example: | `DefaultLanguageType=englishASCII`
See Also: | DefaultEncoding

Copyright 2025 Open Text
Version 25.4 | Last updated October 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 Category Component 25.4

Topic Title: DefaultLanguageType