I'm not sure if anyone else has posted this, if so I apologize. I did find some other earlier versions of mods to use Google Translate, but could not find one similar and as simple to use as this.
In the footer template, find the first instance of:
Just below it add this:
Remove the 2 lines in red if you don't use Google Analytics. If you do, edit the number to your own.
It's so simple I think this would work on any version of vB.
In the footer template, find the first instance of:
Code:
</form>
Code:
<!-- Translate vBulletin -->
<div id="google_translate_element" class="footer_select"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
multilanguagePage: true,
[COLOR="Red"] gaTrack: true,
gaId: 'UA-12345-12',[/COLOR]
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>
<!-- /Translate vBulletin -->
It's so simple I think this would work on any version of vB.