We have a few sites at work that has Google Translate at the top of the site which enables people to view the site in different languages. Of course, we also have a disclaimer that the translation may or may not be accurate. Is there a way for me to add the following lines of of Javascript easily in Plone to enable the following:
https://www.w3schools.com/howto/howto_google_translate.asp
Basically, it is possible to add the following scripts to Plone? If so how and where can I do so?
<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>
Any advice would be most appreciated. Thank you so much.