Blog Language Translation Widget For blogger

Adding a blog language translation help you to change your default language to some another language like Chinese or Japaneses or Hindi or Arabic
This google translate widget is always beneficial for those user who do not use chrome for web browsing.
How to add this widget
- Go to blogger layout and the page elements and then add a gadget then copy the code in it.
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
If you only want the drop down and not he code then copy this
<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>
Comments
Post a Comment