# Define a General Language

You can specify a General language, which the IDOL 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 IDOL 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 IDOL 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm