Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSML Actions on Google, change speaking language

Tags:

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?

like image 568
WinterChilly Avatar asked Jan 30 '19 14:01

WinterChilly


1 Answers

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.

like image 190
Prisoner Avatar answered Oct 15 '22 11:10

Prisoner