Google TTS Bulgarian language

Hello, is there a chance that we see Bulgarian language support in Google TTS? I think that Google is supporting Bulgarian - it is listed in their docs : https://cloud.google.com/speech/docs/languages
I tried adding just bg in google.py file(it worth to try before adding a feature request) but didn’t worked. Thank you

I’m interested also to learn how to put another language. Google just enable Greek language as well

this doesn’t work for you?

tts:

  • platform: google
    language: ‘bg-BG’

In my case, this works

tts:

  • platform: google
    language: ‘pt-BR’

No, my language is not supported in google tts in HA, but it is supported by Google…

Im also interested to know why some languages are supported by google but not by hass.
Im even tried adding the language to components/google.py, list there my language (he-IL)

i manage to put Greek on automation

  • data:
    entity_id: media_player.chromecast
    message: Προσοχή. Ο συναγερμός οπλίζει. Έχεις 30 δευτερόλεπτα για να αποχωρήσεις από το σπίτι
    language: el
    service: tts.google_say
    alias: Alarm is arming``

Try to add bg-BG to https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/tts/google.py#L27

Hey, I tried:
# Text to speech
tts:
- platform: google
language: de

and language: de-DE
but Google Assistant neither understands nor answers in German languge.

When no language specified TTS works OK. But after I added lt language and specify it for tts, I get error:
Error 404 on load url https://translate.google.com/translate_tts?ie=UTF-8&tl=lt&q=Labas&tk=822147.719566&total=1&idx=0&client=tw-ob&textlen=5

How to fix it?

anyone got German language working with tts?

@TUISTERa I’ve add it in 0.70 https://github.com/home-assistant/home-assistant/pull/14422

PS:
Поздрави :slight_smile:

1 Like

Where did you see that ?

hello,
have you find a way to play it on Alexa echos?

Sorry, i only have google assistant . No Alexa