Azure AI icon

Azure AI

Call Azure AI Cognitive Services — Document Intelligence, Content Safety, Translator, and Language

Translator → Detect Language

AI-generated

Summary

Detects the language of the supplied text by sending it to Azure Translator’s Detect endpoint. Select API key or Entra ID authentication, provide the Azure resource region, and enter non-empty text.

Inputs

  • Authentication — Choose API Key (the default) or Entra ID (OAuth2); configure the matching Azure credentials.
  • Azure Region (required) — Azure region for the Translator resource, such as eastus. Sent as the Translator subscription-region header.
  • Text (required) — Non-empty text whose language Azure should identify.

Output shape

A single JSON item per input item containing Azure Translator’s language-detection result.

The operation returns the first result from Azure’s response array directly, including fields such as detected language, confidence, and whether the language is supported for translation or transliteration. It makes a POST request to Azure Translator API v3.0; an empty text value raises an error.

Links

Discussion