This article is a tutorial on how to add google translate to your WordPress website or blog. There are thousands of different languages spoken around the world. As the Internet is very diverse we can find people browsing the web and looking for required content in the language of their preference. Even you publish content on your website or blog in a very specific language, your site’s audience becomes limited. The English language is spoken worldwide and hence website’s in English can get good global exposure in terms of audience, but if you want to spread even in those regions where English is spoken very less, you might need to show the visitors your content in their preferred language.
The Problem. Translating your content manually to most of the popular languages is something almost impossible and non-practical. Therefore, you need some automated solutions like Google Translate. It is a popular service of Google worldwide and offers to translate your content in around 104 different languages that are widely used in the world. Moreover, it follows the neural networks and Machine Learning technology for better translation. As it is machine translation, so chances are that it may not be 100% correct but most of the time, I found Google Translate to be quite accurate and precise than any other Automatic Translation Mechanism available.
Now, you won’t like to convert each and every piece of the content that you publish on your site to translate using this tool in about a hundred different languages. That’s a lot of effort if done manually and again is non-practical. So, here you also need an automated solution and that’s what we’re all going to talk about in this article.
The Solution. The solution for this problem is the Website Translation API offered by Google Translate. Using this, your website visitors will be able to view your website content in their desired language within just a single click or tap. In WordPress, there’s an even simple solution for it. You need not mess up, programmatically with the API. All you need to do is, set up and configure a related plugin and this won’t take more than 5 minutes.
Adding Google Translate in WordPress
Follow the given steps to add Google Translate in your WordPress website or blog.
1. Install A Google Translate Plugin
These days, a lot of different plugins are available for the purpose of setting up a multilingual WordPress site. You can choose any of them the features are quite common and these plugins have nothing much to compare. One of the most popular plugins is Translate WordPress – Google Language Translator. It is available for Free in the official WordPress.org Repository. We’ll use this plugin for this tutorial.
Simply install and activate this plugin in your WordPress site. If you are a beginner, then here’s a tutorial on how to install plugins in WordPress using different methods.
2. Configure The Plugin & Setup Languages
Once you installed and activated the plugin, the next step is to configure it. The option to open Google Translator Plugin settings is located in the WordPress Sidebar Settings Menu as shown in the screenshot below. Simply click on it to open the plugin settings page.
There are several settings available on the page to manually configure the plugin to almost every aspect of its working and appearance. The first option lets you enable the functionality of this plugin on your site. The next option asks you the language of the website content. For example, in our case, English is the original language of the website.
And then you’re given a huge list of the languages supported by Google Translate. You’re given the option to Select All or you can select some of these as per your preference.
Make sure you click on the Save Changes button given at the end of this page. There’s also a Preview Section given at the top in the right sidebar section of this page. Again, when you make some changes in the settings, you need to Save the changes first, in order to see the changes preview.
3. Customize Appearance
This plugin offers a lot of different appearances specific customizations, that’s why I’ve added it as a separate step here. This plugin will basically show a select list in frontend pages of your WordPress site. So, you can all set the different appearance aspects of that select list option.
Some of the things that you can customize here are mentioned below.
- Show or not the flags of the different countries according to spoken languages.
- Option to choose flag for very popular languages, like English (UK, US), Spanish (Brazil, Portuguese), etc.
- Change the Width and Colors of the Select Box.
- Alignment and Layout Options
- Option to show the Google Branding and the Langauge Switcher
- Floating Widget Options including Position, Color, and Custom Text to Display
- Custom CSS Box to add styling as you want
Further, you can choose to display the Translator box in the frontend anywhere using the different shortcodes.
The shortcode option is really handy, especially, when want to purely embed this plugin in your custom WordPress theme for professionalism.
4. Test & Experiment More
You can experiment with different widget appearance locations and languages to see what works the best for your existing audience. Monitor the change and engagement of visitors, after you installed this plugin and added Google Translate to your WordPress site to make it multilingual.
Accordingly, after complete analysis, make proper changes and keep experimenting to continue the overall regional growth of traffic on your site or blog.
Here given below is a video guide for the same tutorial that I found on YouTube.
Did you know? Google Translation option is automatically shown in the Google Chrome Web Browser if the user opens a website, which it detects as some other than what the user usually reads in. But this feature is not observed in any of the other web browsers unless or until you install a special extension for the purpose.
- Best WordPress Hosting Services
- How To Add Table of Contents in WordPress? (Automatic)
- How to Install WordPress on XAMPP?
- How to backup WordPress Database with a simple plugin?
- How To Backup and Restore WordPress Website?
- WordPress Redirect – Guide To Redirection in WordPress
If your website content is in English, make sure it is error-free for better audience response and even for better Google Translation. You can use Grammarly for proofreading of your English Content.
I hope this guide helped you. If so, do share it with others who might get benefited from it as well. Don’t forget to subscribe to WTMatter for the latest updates.
Any questions? Please make use of the comments section!