Open lovebdsobuj opened 8 years ago
Welp, this is urgent. I will setup a VM this weekend and test it. Lost access to Windows machine.
@lovebdsobuj, I cannot confirm this.
Could you please try uninstalling and reinstalling the plugin? You can do that by running the following queries.
wpm uninstall Wox.Plugin.GoogleTranslate
wpm install Wox.Plugin.GoogleTranslate
Once reinstalled, if the problem persists, please try querying the plugin and hitting shift+enter on its result. Once you received (or not) a result, upload the latest log. You can find the logs at %appdata%\Wox\Logs\1.3.183
Thanks.
@lances101, Thanks for update release 1.0.4. I don't understand what happen, but now can't retrieve translation just loading...
Maybe it's http/https
issue, I don't have installed visual studio
, otherwise I will try...
Well, the way we are using for translation is not official. The plugin itself literally just loads the webpage and parses its contents. The good way is to actually use Google's API, but that would require each user to receive a personal key and and actually pay for it. Google may be blocking you based on... something.
I will test this on a different system tomorrow.
Any update news? In web browser working as well, https://www.google.com/translate_t?hl=en&ie=UTF8&text=Hello+World&langpair=en|bn
C:\Users\Me>http "http://www.google.com/translate_t?hl=en&ie=UTF8&text=Hello+Wox&langpair=en|bn"
HTTP/1.1 301 Moved Permanently
Cache-Control: private, max-age=86400
Content-Language: en
Content-Length: 283
Content-Type: text/html; charset=UTF-8
Date: Tue, 04 Oct 2016 02:47:38 GMT
Expires: Tue, 04 Oct 2016 02:47:38 GMT
Location: http://translate.google.com/?hl=en&ie=UTF8&text=Hello+Wox&langpair=en%7Cbn
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://translate.google.com/?hl=en&ie=UTF8&text=Hello+Wox&langpair=en%7Cbn">here</A>.
</BODY></HTML>
Maybe need to try replcaing L343, L355 with http://translate.google.com/?hl=en
Apparently in your specific case you get a HTTP 301. I will look into making the plugin follow the moved link.
Copy to Clipboard can not find by pressing
shift+enter
. Wox version: 1.3.183