I am a beginner in Architect so maybe this there is a an easy answer I was not yet able to find.
I would like to create a TTS Language IVR but each language option should be played by it's own language TTS engine. For example on the flow I select three supported languages: English, German and Italian but only one is the default one. So if I put an audio block it will always play the TTS for that specific language.
Is there any way to change TTS language at runtime and play each option with it's own TTS engine and after that to play something like "You have selected English" with English TTS and "Sie haben Deutsch gewählt." with German TTS?
Use the Set Language action to change the flow's language. When your flow supports more than one language, you can set up alternate audio sequences for each language in every audio sequence builder. When an audio action is executed, if an alternate sequence exists for language currently being used, it will be played; if an alternate sequence does not exist the main sequence will be played.
Hi Melissa,
Thank you for your answer. I played a bit and I found out what was wrong with it. I used SetLanguage as you said but it is not affecting the current flow. So even if you put a play audio after that it will not take the new language in consideration as changes will be taken in account only after the flow ends.
Instead I used to set a new language in a common flow so instead of just using SetLanguage, I called the common flow which called the set Language. A bit over the hand but it does the trick.
Thank you!
I think you can do this calling a Reusable Task in your call flow (the task then calling the SetLanguage).
As mentioned on the Set Language action article, " In call flows, the language change takes effect after the task ends.".
I haven't tried for ages, but I think the new language should then be applied after you exit/end this reusable task in your flow.