Skip to main content
Sunbird AI can automatically detect the language of a given text or audio file. This is useful for routing content to the correct translation or transcription pipeline.

Text Language Identification

Use the /tasks/language_id endpoint to identify the language of a text string.

Supported Languages

  • Acholi (ach)
  • Ateso (teo)
  • English (eng)
  • Luganda (lug)
  • Lugbara (lgg)
  • Runyankole (nyn)

Example Request

Response

Audio Language Detection

Use the /tasks/auto_detect_audio_language endpoint to identify the language spoken in an audio file.

Example Request

Response