WordPress.org

Ready to get started?Download WordPress

Forums

Translate This Button
Error on IE8 (4 posts)

  1. Geetar
    Member
    Posted 3 years ago #

    First off, thanks for this amazing plugin. It works like a charm on Firefox, Chrome and Opera browsers, however on Internet Explorer 8 there is no button (just a link) and I got the following error:

    Webpage error details
    
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Fri, 25 Mar 2011 11:19:28 UTC
    
    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: http://x.translateth.is/translate-this.js
    
    Message: Object expected
    Line: 238
    Char: 1
    Code: 0
    URI: http://www.mywebsite.com/2011/03/the-link/

    Your website domain translateth.is points to google.com

    Thanks for the plugin!

    http://wordpress.org/extend/plugins/translate-this-button/

  2. greenpear
    Member
    Posted 3 years ago #

    I'm surprised there's not been a fix for this yet, it's a fantastic plugin... but it doesn't work with Internet Explorer.

    I thought it was just on my site and that something was conflicting but the problem exists on the translateth.is website too.

    Has anyone managed to fix this?

  3. greenpear
    Member
    Posted 3 years ago #

    Fixed it..

    Find this line in translate-this-button.php in plugin folder:

    <script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>

    For some reason if you download that file, and put it on your server.. then update the SRC accordingly... it works.

    Don't understand why...

  4. greenpear
    Member
    Posted 3 years ago #

    Hmm... actually.. just realised this has caused more JS errors which only appear on rollover of the Toolbar.

    Translation does work now though so it's an improvement...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic