Google webtranslate integration
Hi, I've just upgrade from Tikiwiki 8.4 to 9.1 and so far everything works very smoothly, phew. Website link is http://www.eq2wiki.net/ .
Now I would like to add Google webtranslate to my pages and I'm stuck with step 2. Step one was adding the Google generated meta information to the head of the website in the "Look & Feel" section. Step 2 is now adding
function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'de', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, 'google_translate_element'); }
into the top of the body, preferentially the same area where the "edit page", "save to noteblock" etc. buttons are. But I can't figure out where the template for this is or how else I add this.
There should be a general template for that no?
Edit: Can someone tell me how to add code that is not "sanitized" nor executed when hitting submit here? Neither "code" nor "non-parsed" do that with the Google Translate java script code.