Change ALEXA's language from Home assistant

Hi!

I have an Echo Dot which is successfully configured to speak/understand English/Spanish languages.

When HA sends Alexa a notification in English, everything works fine. But, when the notification is in Spanish, then Alexa simply reads the Spanish sentence with an English accent.

QUESTION: Is there any parameter, in the YAML syntax of my message or in the configuration of the service, which would allow to choose the language of each voice notification?

I toggle a language input_boolean (between English and Spanish). Instead of having to modify all the automations, each time I receive new guests at home, I would like to just toggle the language and Alexa would read the appropriate sentence.

Thank you!

Marc

Saludos Marc

Did you ever figure this out?

I have the same problem. Even if i use

Language: Es-mx

It always reads the notifications in english.

No. And I think there is no way to do it for the moment :neutral_face:

There’s actually a way using SSML, here’s an example of a message you can send and it’ll be spoken in Spanish:

<voice name='Mia'>Hola amigos!</voice>

(just saw you reply!)
I am away on a trip, now. Thank you, I will try this once I am back home.

message: <voice name=‘Mia’%>
<lang xml:lang=‘es-MX’%>El sol de la mañana se eleva, proyectando un brillo dorado sobre el paisaje. Los pájaros cantan alegremente</lang%>
</voice%>

usa este ejemplo en tu yaml, la voz tiene que concordar con el leguaje.
tienes que quitar los “%” del message

English, American (en-US) Ivy, Joanna, Joey, Justin, Kendra, Kimberly, Matthew, Salli
English, Australian (en-AU) Nicole, Russell
English, British (en-GB) Amy, Brian, Emma
English, Indian (en-IN) Aditi, Raveena
English, Welsh (en-GB-WLS) Geraint
French, Canadian (fr-CA) Chantal
French, France (fr-FR) Celine, Lea, Mathieu
German (de-DE) Hans, Marlene, Vicki
Hindi (hi-IN) Aditi
Italian (it-IT) Carla, Giorgio, Bianca
Japanese (ja-JP) Mizuki, Takumi
Portuguese, Brazilian (pt-BR) Vitoria, Camila, Ricardo
Spanish, American (es-US) Penelope, Lupe, Miguel
Spanish, Castilian (es-ES) Conchita, Enrique, Lucia
Spanish, Mexican (es-MX) Mia
1 Like