I can't seem to change the language during the conversation. I tried:
<speak>
<voice gender="male" variant="3" langaugeCode="fr">
<prosody rate="105%">
Bonjour
</prosody>
</voice>
</speak>
Any ideas how to do that?
The <voice>
tag is not officially supported in the SSML for the Google Assistant, although it does appear to partially work.
Although the gender
and variant
attributes do appear to work, the SSML spec does not define a languageCode
attribute (which you ask about in your question), and the languages
attribute does not appear to be supported.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With