This topic is locked

Google Translate

5/9/2012 1:42:02 PM
PHPRunner General questions
S
swanside author

How can I add this to my buile website, so it will translate the whole page?

<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>;


Thanks

Sergey Kornilov admin 5/9/2012

Paste it to the page where you need to add this functionality. Another option - paste it to the header file./