Some of you may have noticed that recently, this blog has a translate option to other languages. It’s really quite simple. Here’s how to do it.
Your WordPress Blog should have a text widget.
Simply, insert the following code into it and put the widget in your sidebar.
<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="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>