cordova-plugin-tts icon indicating copy to clipboard operation
cordova-plugin-tts copied to clipboard

设置locale:'zh-CN‘,可说出的不是中文,是还是不支持中文吗?

Open liudongdong1 opened this issue 6 years ago • 5 comments

speak() { alert("begin to speak,"); this.tts.speak({text: "你好,欢迎,向前走10米,路口右转,执行10米,在左转", locale: 'zh-CN'}) .then(() => console.log('Success')) .catch((reason: any) => console.log(reason)); }

liudongdong1 avatar Apr 18 '18 14:04 liudongdong1

跟你一样的状况

ghost avatar Jun 03 '18 14:06 ghost

不需要设置locale,直接就可以说中文的

chenhailun2006 avatar Aug 29 '18 07:08 chenhailun2006

跟你一样的情况,不设置也不可以说中文,设置了zh-CN 也没有

Comeonzs avatar Jan 09 '19 07:01 Comeonzs

最后大家怎么解决的啊

dllcnx avatar Aug 14 '19 09:08 dllcnx

最后没办法自己基于云之声封装了个插件cordova-plugin-chinese-tts,可以直接使用.git地址https://github.com/KeiferJu/cordova-plugin-chinese-tts

dllcnx avatar Aug 26 '19 05:08 dllcnx