IDOL Category Component 12.11

# DefaultLanguageType

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

IDOL 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, IDOL 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, IDOL 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, IDOL 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 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 12.11

Topic Title: DefaultLanguageType