Monday, April 11, 2011
0
You can also customize how your translator looks (colour, background, languages etc.) by Google Translate Webpage
How to Add Google Translator to Your Blogger Blog
Adding Google's website translator to your webpages increases your visitors since they can read your blog in their language. Adding the website translator is quick and easy.
There are two ways of adding Google Translator into Your Blog
Now the Second Option is just like adding a page element. Follow the steps belowThere are two ways of adding Google Translator into Your Blog
- Add translation to the entire webpage.
- Add translation to a section of the webpage.
Lets talk about first option, you will have to add a code into your template and translator will be shown at each page. You can also decide the place you would like to show it.
Steps to add:
- Login to you blogger account.
- Design->Edit HTML(Don't Expand).
- Search for </body> tag.
- Now paste the code just above </body> tag.
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
- Login to your blogger account and drive through the Design Tab.
- Now Click on the add page elements and than select HTML/Java Script
- Copy the Code below and paste inside that box.
<script>
function googleSectionalElementInit() {
new google.translate.SectionalElement({
sectionalNodeClassName: 'goog-trans-section',
controlNodeClassName: 'goog-trans-control',
background: '#ffffff'
}, 'google_sectional_element');
}
</script>
<script src="//translate.google.com/translate_a/element.js?cb=googleSectionalElementInit&ug=section&hl=en"></script>
You can also customize how your translator looks (colour, background, languages etc.) by Google Translate Webpage
Subscribe to:
Post Comments (Atom)




0 Responses to “How to Add Google Translator to Your Blogger Blog”
Post a Comment