Support all available Google Cloud TTS languages (#49208)

This commit is contained in:
Hmmbob 2021-04-14 18:14:24 +02:00 committed by GitHub
parent e4a7260384
commit 7ffd4fa83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"