From 966cb14a38d69b5da8fc2f4fc26a7d0b095b4dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D1=83=D0=B1=D0=BE=D0=B2=D0=B8=D0=BA=20=D0=9C=D0=B0?= =?UTF-8?q?=D0=BA=D1=81=D0=B8=D0=BC?= Date: Sun, 19 Apr 2020 05:26:36 +0300 Subject: [PATCH] Add new languages to Google Cloud TTS (#34334) * New languages Arabic, Indian, Thailand, Mandarin * Reorder language codes --- homeassistant/components/google_cloud/tts.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/homeassistant/components/google_cloud/tts.py b/homeassistant/components/google_cloud/tts.py index 6721520d130..96bd9e93919 100644 --- a/homeassistant/components/google_cloud/tts.py +++ b/homeassistant/components/google_cloud/tts.py @@ -22,6 +22,9 @@ CONF_GAIN = "gain" CONF_PROFILES = "profiles" SUPPORTED_LANGUAGES = [ + "ar-XA", + "bn-IN", + "cmn-CN", "cs-CZ", "da-DK", "de-DE", @@ -35,12 +38,15 @@ SUPPORTED_LANGUAGES = [ "fil-PH", "fr-CA", "fr-FR", + "gu-IN", "hi-IN", "hu-HU", "id-ID", "it-IT", "ja-JP", + "kn-IN", "ko-KR", + "ml-IN", "nb-NO", "nl-NL", "pl-PL", @@ -49,6 +55,9 @@ SUPPORTED_LANGUAGES = [ "ru-RU", "sk-SK", "sv-SE", + "ta-IN", + "te-IN", + "th-TH", "tr-TR", "uk-UA", "vi-VN",