Google Translate Text-to-Speech
The google_translate
text-to-speech platform uses the unofficial Google Translate Text-to-Speech engine to read a text with natural sounding voices.
Configuration
To enable text-to-speech with Google, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
tts:
- platform: google_translate
Check the complete list of supported languages (languages where “Talk” feature is enabled in Google Translate) for allowed values. Use the 2 digit language code which you can find at the end of URL when you click on Language name.
Full configuration example
A full configuration sample including optional variables:
# Example configuration.yaml entry
tts:
- platform: google_translate
language: 'de'