Hello @Alex , Thanks for using Microsoft Q&A Platform.
Language identification (LID) with Speech translation can be used when you need to identify the language in an audio source and then translate it to another language.
Have you tried, Speech translation with language identification? This is only supported with Speech SDKs in C#, C++, JavaScript, and Python.
Otherwise, to identify one of multiple languages that might be spoken you can use the AutoDetectSourceLanguageConfig
object: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-identification?tabs=once&pivots=programming-language-javascript#candidate-languages
var autoDetectSourceLanguageConfig = SpeechSDK.AutoDetectSourceLanguageConfig.fromLanguages([("en-US", "de-DE", "zh-CN"]);