Open topic with navigation

# 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:9000/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 uses port `9000` to request the language of the specified text from IDOL Server, which is located on a machine with the IP address `12.3.4.56`.

## Parameters

Parameter | Description | Required
--- | --- | ---
Synchronous | Whether to run the action synchronously or asynchronously. |
Text | The text whose language you want to return. | Yes

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.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm