Add new languages to Google Cloud TTS (#34334)

* New languages

Arabic, Indian, Thailand, Mandarin

* Reorder language codes
This commit is contained in:
Дубовик Максим 2020-04-19 05:26:36 +03:00 committed by GitHub
parent 21e85ba9c5
commit 966cb14a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,9 @@ CONF_GAIN = "gain"
CONF_PROFILES = "profiles" CONF_PROFILES = "profiles"
SUPPORTED_LANGUAGES = [ SUPPORTED_LANGUAGES = [
"ar-XA",
"bn-IN",
"cmn-CN",
"cs-CZ", "cs-CZ",
"da-DK", "da-DK",
"de-DE", "de-DE",
@ -35,12 +38,15 @@ SUPPORTED_LANGUAGES = [
"fil-PH", "fil-PH",
"fr-CA", "fr-CA",
"fr-FR", "fr-FR",
"gu-IN",
"hi-IN", "hi-IN",
"hu-HU", "hu-HU",
"id-ID", "id-ID",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"kn-IN",
"ko-KR", "ko-KR",
"ml-IN",
"nb-NO", "nb-NO",
"nl-NL", "nl-NL",
"pl-PL", "pl-PL",
@ -49,6 +55,9 @@ SUPPORTED_LANGUAGES = [
"ru-RU", "ru-RU",
"sk-SK", "sk-SK",
"sv-SE", "sv-SE",
"ta-IN",
"te-IN",
"th-TH",
"tr-TR", "tr-TR",
"uk-UA", "uk-UA",
"vi-VN", "vi-VN",