IDOL Server 12.13

# Run the IDOL Content component in Multiple Languages

You can combine multiple languages in one IDOL Content component. Use the outline below to determine what you have to do.

To combine multiple languages in one IDOL Content component

1. Before you index your documents, ensure that the IDOL Content component configuration file contains the languages that you want to use. See Determine the Languages that are Enabled.

2. If the configuration file does not contain all the languages that you want to use, add the missing languages. Set up a field process that enables Content to associate these languages with documents. See Define Language Types and Associate Language Types with Documents.

3. Check the documents that you want to index into Content:

   - Content can read the language type (that is, language and encoding) from a document field. If some of your documents do not contain these fields, Content applies the default language type. See Add LanguageType Fields to Documents and Define a Default Language Type.

     If you do not want to associate the default language type with your documents, enable automatic language detection. See Enable Automatic Language Detection.

     Alternatively, you can manually index your documents into Content, adding the language type of the documents to each index action. In this case, you must index documents in batches, where each batch must have the same language type. See Index Data.

   - Content automatically processes documents that contain fields that specify the language type. You must add any missing languages to the IDOL Content component configuration file.

Related Topics

- Languages and Language Files

When you query Content, by default Content returns only documents that have the same language as the language type (that is, language and encoding) of the query. You can change this behavior in the following ways:

- To use a language type in the query text that is not the default language type, add the `LanguageType` parameter to your query.

- To return results in a specific encoding, add the `OutputEncoding` parameter to your query. You can return only encodings that are compatible with the query language.

- To return documents in multiple languages, add the `AnyLanguage` parameter to your query.

- To return documents in a specific language, add the `AnyLanguage` and `MatchLanguage` parameters to your query.

Related Topics

- Specify the Language Type of a Query

- Convert Results to a Specific Encoding

- Return Documents in Multiple Languages

- Return Documents in a Specific Language

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 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 Server 12.13

Topic Title: Run the IDOL Content component in Multiple Languages