Coding Used for Google Script in Our Program
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" async> </script>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement(
{
pageLanguage: "en",includedLanguages : 'ta,te,hi,ml,kn',
layout: window.google.translate.TranslateElement.InlineLayout.SIMPLE,
},
'google_translate_element'
);
}
</script>
---------- Using Below Code ----- To Display the Dropdown value or HTML / Reactjs ------
<div id="google_translate_element">
i can see your code is working: https://sd8rg.csb.app/