Hi all,
D7.2
I need to add google translate to all site pages, i have this to add to the pages:
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'cy', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Do i add an HTML block to all the pages inserting the above into the blocks as i go along?
If i am way off here please forgive my ignorance and advise as to my best way forward.
TIA
ED