WordPress.org

Forums

Google Language Translator
[resolved] POST canceled (2 posts)

  1. Aaronagray
    Member
    Posted 1 year ago #

    Hi Rob,

    Thanks for this awesome tool. It seems like the perfect solution for a site I'm working on, but the plugin doesn't seem to work for me. I've tried it on my custom theme as well as the 2012 theme. This is happening on my local dev environment, as well as live on my staging site.

    After properly installing, activating (in Plugins and Settings), and using the shortcode, the toolbar / dropdown show as expected. However, whenever I select a new language, nothing changes.

    Looking at my Network Tab in DevTools I can see a few requests to the Google API are being canceled. Bellow is the headers to one. Note that I've redacted the actual URL for my customers privacy.

    Request URL:http://translate.googleapis.com/translate_a/t?anno=3&client=te&format=html&v=1.0&key&logld=v17
    Request Headersview parsed
    
    POST http://translate.googleapis.com/translate_a/t?anno=3&client=te&format=html&v=1.0&key&logld=v17 HTTP/1.1
    Referer: http://post2015.redacted.org.php53-16.dfw1-2.websitetestlink.com/about/
    Origin: http://post2015.redacted.org.php53-16.dfw1-2.websitetestlink.com
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1608.0 Safari/537.36
    Content-Type: application/x-www-form-urlencoded

    Please let me know if there's something I can do to get this one working! Thanks again for such a great plugin.

    http://wordpress.org/plugins/google-language-translator/

  2. Aaronagray
    Member
    Posted 1 year ago #

    Hi again,

    It appears that this is only happening in Google Canary. :) In other words, please consider this resolved, but definitely watch out for that in the future.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Language Translator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.