Jump to content

Google Translator


Stephen Towler

Recommended Posts

Posted

Is there anyway to add the google web site translator to all pages of Invision. I use pages for a website and would like to add the snippet to every page.

to add it to every single block on the site would be a pain and also look messy. Any advice appreciated.

<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

  • 2 months later...
  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...