google-tts icon indicating copy to clipboard operation
google-tts copied to clipboard

Change api host, https://translate.google.cn/

Open yuanoook opened this issue 6 years ago • 6 comments

Thanks for the great repo, it is very useful. I have one suggestion: In some countries, we cannot access https://translate.google.com It will be helpful if we support use other api host

yuanoook avatar Sep 23 '18 02:09 yuanoook

It is a great idea. I would love to implement this new feature in the next release. Thank you.

zlargon avatar Sep 23 '18 03:09 zlargon

any update?

ghost avatar Nov 19 '20 06:11 ghost

Hi @yuanoook, version 2.0.0 can support customized host now. Please read more here: https://github.com/zlargon/google-tts#options-all-options-are-optional

zlargon avatar Dec 09 '20 07:12 zlargon

Hello zlargon Its pretty amazing what you have made. I have a small question as im not that smart in this coding stuff. But where can I change the language? Do I change it in the app im using, or can I change it somewhere in your google-tts files? -Rasmus

MrRasmus avatar Feb 12 '21 23:02 MrRasmus

Hi @MrRasmus, here is an example to change the language to Chinese. https://github.com/zlargon/google-tts/blob/master/example/chinese.js

You can change the language by setting the option lang with language codes. Hope it's helpful. 😁

zlargon avatar Mar 20 '21 15:03 zlargon

Seems like this can be closed?

brettz9 avatar May 28 '21 01:05 brettz9