Where to insert Google Translate Element

Having a question about translating phpBB3? Want to discuss and collaborate with people currently translating phpBB3? Here would be the correct place to do so.
Ideas Centre
Locked
maque
Registered User
Posts: 5
Joined: Wed Nov 17, 2010 8:22 am

Where to insert Google Translate Element

Post 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
elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: Where to insert Google Translate Element

Post by elipoarch »

I would really appreciate an answer too, thanks.
Locked

Return to “[3.0.x] Translations”