View Component 25.2
View Component Help

# DefaultLanguageType

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

View Component uses this language type for documents when:

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

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

If you do not set `DefaultLanguageType` and you do not specify the language type in actions, View 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 action parameter, View Component uses the encoding specified in the action parameter, or in the `DefaultLanguageType` configuration parameter if you do not use the action parameter.

NOTE: If the encoding of a document is found, but the language is not, View 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.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 View Component 25.2

Topic Title: DefaultLanguageType