Netsky
New member
Hi,
I'm a new Xenforo user and i need to add a Google translator button in our international forum :
https://theminixforum.com
I searched and found solutions but it worked on old 1.5 version and i can't find the good way to add this button.
I found some code to add from Google website itself but i don't know if it's the good way to work, where to post this code.
Thanks for your help !
I'm a new Xenforo user and i need to add a Google translator button in our international forum :
https://theminixforum.com
I searched and found solutions but it worked on old 1.5 version and i can't find the good way to add this button.
I found some code to add from Google website itself but i don't know if it's the good way to work, where to post this code.
Code:
<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>
Thanks for your help !