WordPress Tricks

Google Translator and WordPress:How to use, implement and install google translator in your wordpress,joomla blogs or websites. Embed code included.Translate your blog or website by Google.


Today I will like to show you how to implement and show google translator in your blog or website to use it for the translation purpose of your blog or website.

Here I have shown the procedure to use google translator on wordpress twenty ten theme but you can use this google translator code in any wordpress theme. Not only wordpress..you can also use this code in blogger, joomla or any other type of websites.

Here is the google translator code


<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>

Here I have shown how to place google translator on twenty ten theme of wordpress.

1. Login to your wordpress dashboard

2. Go to Appearance -> Editor

3. Click and Open the Header.php file check the image below. In the picture I have marked which portion need to be replaced by google translator code.

Note: Here I have replaced Site Description (just to show you) by Google Traslator option. you can add this widget in anywhere of your blog.

[click the image for full view]

4. Paste the code and Click on Update File. (check the image)

[click the image for full view]

5. Refresh your page … You are done.

Facing Problem to put or use Google Translator in your blog or website?? Feel free to knock me. Share your problem in the comments portion.


You may also like to check

1. WordPress.com Visitor Tracking System:Know who is visiting your site
2. WordPress.com Flickr Animated Flash Gallery For Blog: Show your flickr photos to your readers
3. WordPress.com Photo gallery Slide Show : Show your images stored in WordPress with WordPress animated photo gallery
4.WordPress.com Visitors Country Flag : Where from your users visiting you.

You can take my personal help in skype : om2000_cuet

13 thoughts on “Google Translator and WordPress:How to use, implement and install google translator in your wordpress,joomla blogs or websites. Embed code included.Translate your blog or website by Google.”

      1. Hi Tania…
        Don’t remove the Google Translator now….let me check.. need some time though..i will inform u after checking is done within today (my time)

        Regards
        Om

        Like

  1. Hi Om,

    I had to actually remove the red bar I had behind the menu. Not sure why it was interfering with the plugin but it was. Bit of a workaround – but hey – as long as the client is happy with it, I’m happy!

    Thanks for your quick responses.

    Like

Leave a comment