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 from AdminClients (which are set in the `[Server]` section of the configuration file).

## 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 HPE Content Component, 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.

© 2016 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