WinterChilly
WinterChilly

Reputation: 1599

SSML Actions on Google, change speaking language

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?

Upvotes: 5

Views: 609

Answers (1)

Prisoner
Prisoner

Reputation: 50701

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.

Upvotes: 4

Related Questions