Yandex Cloud Translate icon

Yandex Cloud Translate

Translate text using Yandex Cloud Translate

Actions3

Text → Detect Language

AI-generated

Summary

Detect the language of a given text using Yandex Cloud Translate's language detection service.

Inputs

  • Folder ID — Folder ID to use. Defaults to the folder ID from credentials. Required if not set in credentials.
  • Text (required) — Text to detect language for.
  • Language Hints — Comma-separated list of language codes to prioritize (e.g., en,ru,es).

Output shape

a list of JSON objects, each containing the detected language code for the input text and the original text processed, paired one-to-one with each input item

Each output item includes a 'success' flag, the detected 'languageCode', and the original 'text'. Errors return a 'success' of false and an 'error' message. Supports processing multiple input items independently with optional continueOnFail behavior.

Links

Discussion