Many website visitors face the problem of language barrier. If a visitor who doesn’t knows the language of your website/blog, then that visitor will close the website immediately. Therefore a solution to this problem is to provide a translate tool to the visitors of your website so that they can select the language of their choice from the drop-down box and read the website in their own native language. Fortunately, this can be easily done without the help of any plugin.

How to Add Language Translator to WordPress

If you are using WordPress, then adding the Website translator (powered by Google Translate) to your blog is a piece of cake and anyone can do it.

Head over to Google Translate’s website Translator tool. Enter the full URL of your website and select the original language of your website. Once done, click on Next.
Google translate

From the next page, you can select languages that you want your website translated to. If you want your website to be translated to all languages, then select “All languages” and if you want to your website to translate to only selected (or specific) languages, then select those languages from here.

Select the display mode from vertical, horizontal or dropdown only options. The default dropdown option works very well for majority of websites but you can also select one based on your website’s design. Select other advanced options as per your needs and click on “Get Code” button.
Google translate tool

Now that everything’s ready, you will get the code that you need to paste on your website. As instructed, paste the first code before the closing of the head tag. You can find this head tag mostly in the header.php file.

Google translate code

Paste the code from the second box in a text widget. This can be done by navigating to Appearance > Widgets and drag and drop the Text widget to your Sidebar or other preferred area.
text widget

That’s it. Now you can checkout the front-end of your website and you can see the translator tool in the widgetized area where you inserted the text widget. In my case, I inserted the text widget in my sidebar.
widget

There are also plugins available for this purpose, but if you can do this without plugin, then why not. Go ahead, implement this method and add a multi-language translator to your WordPress the easiest possible way ever.

10 thoughts on “Add Google Translate to your WordPress Site Without Any Plugin”
    1. Hi Lester,

      Good to know that your problem is solved. It really depends on where you want to show the Translate widget. In my opinion, the sidebar is a good choice to display the translate tool.

  1. It doesn’t work for me, when I try to insert to sidebar text widget. When I click save, it deletes the script part of the code automatically.

    1. Hi,

      It’s very unusual behavior. Is your blog hosted on WordPress.com, or you’re using WordPress Multisite by any chance?

      1. Hey!

        I have the same problem that H-dee has had.
        How can I fix this?
        I got the code from google, pasted it into my text widget and it just deletes a part if I try to save it.
        greets!

        Maya

Leave a Reply

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