From 7ffd4fa83d7d7363e6d0118918ae46c08c4bafa7 Mon Sep 17 00:00:00 2001 From: Hmmbob <33529490+hmmbob@users.noreply.github.com> Date: Wed, 14 Apr 2021 18:14:24 +0200 Subject: [PATCH] Support all available Google Cloud TTS languages (#49208) --- homeassistant/components/google_cloud/tts.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/google_cloud/tts.py b/homeassistant/components/google_cloud/tts.py index 1d906ab4d20..a1cbed2ee55 100644 --- a/homeassistant/components/google_cloud/tts.py +++ b/homeassistant/components/google_cloud/tts.py @@ -23,9 +23,11 @@ CONF_PROFILES = "profiles" CONF_TEXT_TYPE = "text_type" SUPPORTED_LANGUAGES = [ + "af-ZA", "ar-XA", + "bg-BG", "bn-IN", - "yue-HK", + "ca-ES", "cmn-CN", "cmn-TW", "cs-CZ", @@ -46,10 +48,12 @@ SUPPORTED_LANGUAGES = [ "hi-IN", "hu-HU", "id-ID", + "is-IS", "it-IT", "ja-JP", "kn-IN", "ko-KR", + "lv-LV", "ml-IN", "nb-NO", "nl-NL", @@ -59,6 +63,7 @@ SUPPORTED_LANGUAGES = [ "ro-RO", "ru-RU", "sk-SK", + "sr-RS", "sv-SE", "ta-IN", "te-IN", @@ -66,6 +71,7 @@ SUPPORTED_LANGUAGES = [ "tr-TR", "uk-UA", "vi-VN", + "yue-HK", ] DEFAULT_LANG = "en-US"