--- title: "Google Translate Text-to-Speech" description: "Instructions on how to setup Google Translate Text-to-Speech with Home Assistant." logo: google.png ha_category: - Text-to-speech ha_release: 0.35 --- The `google_translate` text-to-speech platform uses the unofficial [Google Translate Text-to-Speech engine](https://translate.google.com/) to read a text with natural sounding voices.
This platform renamed to `google_translate` from `google` since release 0.92.
## Configuration To enable text-to-speech with Google, add the following lines to your `configuration.yaml`: ```yaml # Example configuration.yaml entry tts: - platform: google_translate ``` {% configuration %} language: description: "The language to use." required: false type: string default: "`en`" {% endconfiguration %} Check the [complete list of supported languages](https://translate.google.com/intl/en_ALL/about/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: ```yaml # Example configuration.yaml entry tts: - platform: google_translate language: 'de' ``` If you are using SSL certificate or Docker, you may need to add the `base_url` configuration variable to your `http` integration as follows: ```yaml #Example configuration.yaml entry http: base_url: https://example.duckdns.org ```