IDOL Content Component 12.13

# DetectLanguage

Detects the language of a piece of text. The action returns the detected language, and the unicode blocks that exist in the text that you supply.

To use this action, one of AllowDetectLanguage and AutoDetectLanguagesAtIndex must be set to `True` in your configuration file.

NOTE: This is an administrative action that can be sent only by users that belong to an authorization role that allows the `Admin` standard role, or which enables the action explicitly. See Authorization Roles Configuration Parameters.

## Example

    http://12.3.4.56:9100/action=DetectLanguage&Text=Fossile Invertebraten sind bei weitem die zahlreichste und formenreichste Gruppe, mit der sich die Paläontologie befaßt. Die größte Bedeutung der Invertebraten liegt in ihrer Anwendung zur Datierung der Gesteinsschichten

This action requests the language of the specified text.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
Text | The text whose language you want to return.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Synchronous | Whether to run the action synchronously or asynchronously.

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
ActionID | A string to use to identify an ACI action.
EncryptResponse | Encrypt the output.
FileName | The file to write output to.
ForceTemplateRefresh | Forces the server to load the template from disk.
Output | Writes output to a file.
ResponseFormat | The format of the action output.
Template | The template to use for the action output.
TemplateParamCSVs | A list of variables to use for the specified template.

© 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 IDOL Content Component 12.13

Topic Title: DetectLanguage