Update google_translate.markdown (#17065)

* Update google_translate.markdown

Clarify that this doesn't actually translate; link to the tts platform docs.

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
thomasvs 2021-05-25 07:07:09 -04:00 committed by GitHub
parent 8ff516ef38
commit 93d15a77f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ ha_platforms:
- tts - tts
--- ---
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. 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. Contrary to what the name suggests, the integration only does text-to-speech and does not translate messages sent to it.
## Configuration ## Configuration
@ -24,7 +24,7 @@ tts:
{% configuration %} {% configuration %}
language: language:
description: "The language to use." description: "The default speech language to use."
required: false required: false
type: string type: string
default: "`en`" default: "`en`"
@ -33,6 +33,8 @@ language:
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. 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. Use the 2 digit language code which you can find at the end of URL when you click on Language name.
For more information about using text-to-speech with Home Assistant and more details on all the options it provides, see the [TTS documentation](/integrations/tts/).
## Full configuration example ## Full configuration example
A full configuration sample including optional variables: A full configuration sample including optional variables: