you don’t need a plugin for that. Just add this code:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
anyware you want in any phtml pages.
But be careful. The translations is far from perfect.
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
anyware you want in any phtml pages.
But be careful. The translations is far from perfect.
No comments:
Post a Comment