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