Google Translator, how to add? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Google Translator, how to add?

    PlatinumWata
    PlatinumWata
    Forumember


    Male Posts : 447
    Reputation : 0
    Language : English
    Location : United States (born from England)

    In progress Google Translator, how to add?

    Post by PlatinumWata July 25th 2011, 11:39 pm

    How do I add Google Translator to my forum?

    Someone gave this code out, and it worked the first time, but now it wont even display for me.

    Code:
     <div id="google_translate_element"></div><script>
    function googleTranslateElementInit() {
      new google.translate.TranslateElement({
        pageLanguage: 'ro'
      }, 'google_translate_element');
    }
    </script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    Thanks.
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    In progress Re: Google Translator, how to add?

    Post by Nera. July 26th 2011, 12:32 am

    Hi,

    It's working (the code) prefectly fine in homebox or templates, I've tried it both Smile