top of page

Google Translate

Updated: Mar 26, 2023

Add the below code to a Rich Text field on any page to convert to the language. This is an easy and quick way to add translation to your Knack application. It's not perfect but can be very helpful.


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


77 views0 comments

Recent Posts

See All
bottom of page