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 Speech
Azure Speech
An Azure service that integrates speech processing into apps and services.
759 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 27,006 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?

    No comments