I received the recent email on adding Google translator. I went to BlueVoda and opened one of my pages and added an HTML script box containing this code:
<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>
But when I either previewed the page or published it and viewed it there was no change to my page at all (no translator feature was added).
What am I missing or doing wrong?
Doug
<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>
But when I either previewed the page or published it and viewed it there was no change to my page at all (no translator feature was added).
What am I missing or doing wrong?
Doug
Comment