My question is with code.
I have tried to place the code for google translate in a custom module but nothing shows up.
The code is
Code: Select all
[b]<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>[/b]
Activate BBCode for the custom block
BBCode could be used in this box. If BBCode is not activated, HTML will be parsed.
But code does not appear.
Any advice please. this is important to me as I would like to use code in my site
Thx in advance