change target language after cratting the TranslationRecognizer

Sathish K 0 Reputation points

is this possible to change addTargetLanguage SpeechTranslationConfig after the TranslationRecognizer is created ??

or add the traget language on run time

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,370 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 41,841 Reputation points Microsoft Employee

    @Sathish k You could remove the target language using the method RemoveTargetLanguage(String) and then call the method AddTargetLanguage(String). With Add method when speech synthesis is used and several target languages are specified for translation, the speech will be synthesized only for the first language. Does this work in your case?

    0 comments No comments