In this world people speak many languages, people of different areas have their different mother tongue. Every country has its own national language. English is a global language but people from different areas prefer different languages. So if your website is restricted to only one language you can miss the chance to link with the large audience.

Generally, for any language translation, we simply use Google Translate to translate the site over to our desired language. In this article, we will show you how to add language translate to WordPress.

 How to Add Language Translator to WordPress 

  1. Download and activate the Google Language Translator plugin from WordPress repository.
  2. After activating the plugin go to Settings » Google Language Translator to configure the plugin.

google-language-translate

Make sure that the checkbox next to plugin status is checked, this is responsible for plugin activation. After that, you have selected the default language of your website and the languages in which you want to translate your site.

Here you can also choose to show country flag images, show translate box, layout option and many other options.

This plugin provides a shortcode [google-translator] which you can use in your post/page or sidebar. To display the language translate in your header/footer or page template you can use the following code
<?php echo do_shortcode('[google-translator]'); ?>

You can also use google translate widget directly in your sidebar.

google translate-flag
google-translate-dropdown
Image Credit Freepik