Closed ptrv closed 3 years ago
Hmm, the issue could be caused because py-googletrans
the library we use for Google Translate support defines Simplified Chinese with the code zh-cn
, but gTTS
the library for Google Text-to-Speech defines it as zh-CN
.
We can easily workaround it when checking if the language has Text-to-Speech support.
I'm using dialect 1.3.0 flatpak version from flathub on Fedora 34. When translating from simplified Chinese the listen button is greyed out. The backend is Google Tanslate.