Hello,
I tried to reproduce your case through the shell and I got the same result. To fix it, I specified an extra parameter [1] when calling `translate_client`. Specifically, "format" should be set to “text”. Otherwise it is defaulted to “html”.
If you have the gcloud SDK installed, you can check the outputs setting the field as “html” or “text”, respectively, in [2] and [3].
Best regards,
Felix L.
-------
[2] curl -H"Authorization: Bearer $(gcloud auth print-access-token)" 'https://translation.googleapis.com/language/translate/v2?target=en&source=zh-CN&model=nmt&q=打网页不开&format=html'
[3] curl -H"Authorization: Bearer $(gcloud auth print-access-token)" 'https://translation.googleapis.com/language/translate/v2?target=en&source=zh-CN&model=nmt&q=打网页不开&format=text'