Page 1 of 1

Where to insert Google Translate Element

Posted: Thu Nov 25, 2010 11:33 pm
by maque
Hello, guys.

I am trying to figure out how and where to put Google Translate Element. I mean I'd really appreciate if somebody could tell me the name of the file where I can insert the following code:

Code: Select all

<!-- Google Translate Element -->
<div id="google_translate_element" style="display:block"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: "af"}, "google_translate_element");
};</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
I got it at http://www.google.com/webelements/#show-translate

Re: Where to insert Google Translate Element

Posted: Sat Nov 12, 2016 12:17 am
by elipoarch
I would really appreciate an answer too, thanks.