View Component 25.4
View Component Help

# Define a General Language

You can specify a General language, which the Content component uses for documents with an unconfigured language, but whose encoding is identified. Content categorizes documents as the General language when:

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

- automatic language detection is enabled.

If Content detects an unconfigured language type, it indexes to the equivalent `General` language type for that encoding, if it exists. It also logs a warning message in the index log so that you can add an appropriate language type to the configuration file. Content also indexes unknown languages to the `General` language type for the encoding, if it exists. If the encoding is unknown, Content indexes the document to the default language.

If you set `DiscardUnconfiguredLanguagesAtIndex` to `True`, Content does not index documents with unconfigured languages, even if a `General` language exists for that encoding.

To specify a General language category

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

2. Add the appropriate encodings to the `[General]` section.

3. Save and close the configuration file.

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

If the document has no identified language or encoding, Content indexes it to the `DefaultLanguageType`.

Related Topics

- Define Language Types

- Define a Default Language Type

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 View Component 25.4

Topic Title: Define a General Language