Language Translation Using Goolge
Register this and get translator codeing
https://translate.google.com/manager/
1. Add this meta tag in your magento header page
<meta name="google-translate-customization" content="53e3e1f7f2791b69-82918702f395b86b-g921a4e89c23b2ca2-14">
2. Add also add the following functions in header.phtml file or footer.phtml file in magento
div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL, multilanguagePage: true}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
3. in case of image problem,please use the following style
<style>
body {top: 0px !important; position: static !important; }
.goog-te-banner-frame {display:none !important}
</style>
4.Thats it.Check now google translation works properly
Register this and get translator codeing
https://translate.google.com/manager/
1. Add this meta tag in your magento header page
<meta name="google-translate-customization" content="53e3e1f7f2791b69-82918702f395b86b-g921a4e89c23b2ca2-14">
2. Add also add the following functions in header.phtml file or footer.phtml file in magento
div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL, multilanguagePage: true}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
3. in case of image problem,please use the following style
<style>
body {top: 0px !important; position: static !important; }
.goog-te-banner-frame {display:none !important}
</style>
4.Thats it.Check now google translation works properly
No comments:
Post a Comment