Translate text in Google Translate TTS

Is there any way to use have the Google Translate TTS return the audio in the translated language? E.g., I’d like to announce “Time to sleep” in Chinese.

If not, should one consider adding a Google Translate template function?

1 Like

Also trying to figure out how to actually use an English message and have Google Translate translate it when passing off to TTS.

In theory its possible with a google cloud translate account. The problem i have now I have the free account is although a Rest command can send the translation request i cant figure out how to recieve the translated reponse that can then be used with TTS.

A Rest sensor keeps requesting so thats no good as it needs to be as and when rather than all the time.