If you are having a blog and receiving visitors from various countries and cities of the world, then they may or may not be comfortable with the language of your blog. So adding a translator button or a widget is always useful.
To add a widget/gadget translator do this:
Log in to Blogger
Go to Layout/Design and then Add a Gadget -> HTML/Javascript
Now copy and paste this code in to it:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
You can see this translator in action in the top of this blog
Until next time.
~ Alfredo Zavala