Search

Embed Google Translate in your Knack app

Updated: May 12




Easily put Google Translate functionality directly in your Knack database app. It just requires inserting a little code.


Google Translate Code:


<p><font size="1" color="red">Translate / Traducir / Tradui</font></p>

<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>

</p>



23 views0 comments