How To Add Google Translator To WordPress Without Any Plugin

Add Google translator to WordPress without any plugin

The need of providing the content in multiple languages has increased. People from the different parts of the world are approaching the website owners.

We live in a world where diversity is one of the eye-catching factors. Are you thinking about creating a multilingual website?

Well, it’s quite easy, either you create it using Google language translator plugin or without it. It’s always recommended to avoid plugin.

In this tutorial, you will learn the way to add Google translator to WordPress without any plugin. You just need to generate the code and place it on your website.

Generate The Google Translate Code.

Visit Google translate manager and you will see a button “Add your website now”. Click on that button and a new page will appear to you.

On this page, there will be three tabs which are the three steps.

Step 1:- First of all, you have to fill the URL of your website. There is an option to choose an original language of your website.

add translator

Fill the details and click on the “Next” button.

Step 2:- It will take you to the next step which is the place to configure the Google translator settings. Just like in the plugin, you can choose all languages or some specific languages.

You can also handle the design of Google translator. There are three options for the list of the languages to display.

And the position of the box can also be adjusted. If you’re good with CSS then it can be redesigned later otherwise no need.

google translator

In an advanced section, you can check the boxes accordingly. You would be happy to know that you can allow Google Analytics to track the language translation traffic.

Click on the “Get code” button.

Step 3:- On this page, you will see a box consisting the scripting code to place to your website where you want to show Google language translator.

how to add google translator

For better user experience, it’s always recommended to add the language translator in the sidebar of your website.

Copy the code and navigate to Appearance>>Widgets and add a new “Text” widget in the sidebar, paste the code and save.

Open your website and you will see the Google language translator with the languages you have chosen.

I have chosen all the languages and the drop down menu.

For translation, you have to select the language from the list and within a few seconds, the whole content of your website will get translated to a new language.

Isn’t That Easy To Add Google Translator To WordPress Without Any Plugin?

Though there is nothing technical here but if you’re afraid of the codes, use the plugin. To run a better WordPress website, you should adopt these things.

No extra plugin, no extra markup, better website speed. Generate the code, copy and paste it in the sidebar and you will be ready to go.

I hope now you can add Google translator to WordPress without any plugin. If you still face any problem, feel free to drop a comment.

You can also connect with us on Twitter, LinkedIn, and Facebook.

by Ravi Chahar

A WordPress Professional and the LinkedIn Influencer. A coder by passion and a blogger by choice. WordPress theme development is his forte. He is your WordPress guy who will teach you how to solve WordPress errors, WordPress security issues, design issues and what not.

Get Free Updates Into Your Inbox

Learn Everything Just Like I Did



  1. Hey Ravi,

    This is fabulous! I can see it being useful, especially for those who are looking to keep their sites lightweight and not have unnecessary plugins. Love your tutorial.


    1. Hi Bren,

      Avoiding plugins is always a great idea. Most of the WordPress user search for the plugin whenever they need to add something extra. They forget about the page loading time.
      Thanks for stopping by.

  2. I agree Ravi, I tend to avoid plugin as well if I can. It is more controlled if it is coded intentionally and at the location where we want.

    Just a quick question, does it actually display icons on your website once the code is installed and running ? Any example or snapshot of installed code?


    1. Hey Ahmad,

      It will definitely show the Google translator. I haven’t shown it because while configuring its design, every user has his/her own perspectives. You can try it.
      Generate and add the code directly in the sidebar. No change is required. You will see the selected language or all the languages to convert into.
      Thanks for stopping by.

Leave a Reply

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