WordpressWordpress Setup

I want Google Translate on my WordPress Blog!

Thesis Tutorial: Allo! Bonjour.  Comment ca va?  Sad, but that’s the extent of my bilingual skills.  I wish I could write my posts in different languages and better ‘talk’ to my audience.   So I went in search for a WordPress plugin or code that could translate my website into different languages without having my viewers leave the page for babblefish or Google Translate.

I found a couple plugins, including Google Translate, in the WordPress plugin directory, but I installed it and it was this big chunky thing with ads.  I didn’t like it.   I also didn’t want to settle for anything less than Google.  I wanted something to look like what MattCutts has on his website.  When I first played around with it on his site, I was so surprised it converted the whole page into a different language and fast!  When I switched to another page, it converted that page automatically too!  Yeah, I guess I have been living in a hole for a while.

Anyways, 😛 If you are interested in getting the Google Translate tool for your own site, check out the link here: http://translate.google.com/translate_tools.  It’s a neat tool since you can convert your site language into about 50 different languages including French, German, Russian, Chinese, Japanese, Greek, Italian and lots others.   The code will look like this:

<div id=”google_translate_element”></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: ‘en’
}, ‘google_translate_element’);
</script><script src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>

If you want to know how I added it to my Wordpress sidebars, just go to the appearances, widgets, drag the text over and paste the code from the Google Translate Tools into your text widget area.   I’m also planning to move the tool to the top corner using my latest post regarding, how to add a banner to my header of Thesis.    Did I already mention that this Thesis theme is extremely cool.

  1. Lisa DeNunzio

    Greetings. I have WordPress using the 2010 Theme. I followed your instructions but was unable to add Google Translate. Did I miss something???

    Thanks. Lisa

  2. Lisa DeNunzio

    Yes, I can add text widgets. I tried to copy the code from the email into the text, but when I looked at my blog, the google translate did not appear properly. What’s a translate code???? Thanks

  3. Nina


    I’ve also followed your instructions and copied the translate code into a text widget, but the only thing that has been published on my site is the actual translate code (not google translate).

    Do you know what the problem is?

    Thank you!

    Best regards, Nina

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload