If you are a webmaster running a Blog or website, then you may not want to limit your website’s language to English only. What if you want users to give them the option to translate your site in other languages. Presenting a drop down box with the selection of different languages will be a nice solution here and this is what we will be doing in this small tutorial. And the best part is, you don’t need to be a coding ninja to do this.
How to Add Google Translator to Website
- Click here to open Google Translate Tools
- Scroll down and you will see Add Translate to your Website
- You can start from Step 1 to configure this tool as per your wish. Let’s see each option in detail
Step 1: Do you want Google Translate to translate the entire page or just a particular section. In most cases, you need to select the option to apply to the entire page.
Step 2: Select the default language of your site. E.g. if your webpage is in English language, then select English here, or if your webpage is in Spanish, then select Spanish here.
Step 3: Configure advanced options from here like in which language you want users to translate the website, display mode, vertical, horizontal or dropdown, and you can skip the advanced part. - Finally, in step 4, you will get the code. Now just copy the code from there and paste it where you wish to show that translation option to visitors
WordPress tip: If you are using WordPress, then drag and drop the Text widget and place it where you want to show this Google Translator, e.g. in sidebar or footer area. Now just paste this code in this text widget. You can also write the title of that widget, something like “Translator” or skip that part. The final result will look like this:
This is really a nice translation tool to add it to the website. Plus its very simple and easy to implement and one doesn’t need a programmer to do this task. Just follow these easy steps and your task is done. Those who doesn’t know English, can just select a language, and your website will be translated on the fly, with the help of Google Translate.
Mark Jordan says
Hi, great post but that plugin will probably not be free by the end of the year: Google decided to shut down their free Translate API in May, 2011. Our company has developed a WordPress plugin for translation of websites. It provides high quality translation by allowing post-editing of machine translated content using a translation community. And it is free, and will remain free. More information on http://wordpress.org/extend/plugins/gts-translation/
Saqib says
Hi Mark,
Thanks for suggestion this plugin. I will try it out.