Stichoza / google-translate-php

🔤 Free Google Translate API PHP Package. Translates totally free of charge.
MIT License
1.79k stars 380 forks source link

setUrl is not work for me #182

Closed qingjiuzhubei closed 1 year ago

qingjiuzhubei commented 2 years ago

I am a user in mainland China. I tried to update the default translation address to https://translate.google.cn/, but setUrl didn't work. Is it redirected to google.com by default? Need to add request headers when I request?

image

image

fengyun21 commented 2 years ago

遇到同样的问题,楼主解决了嘛?