When creating a new website, developers may want to add a translation feature that allows users of different languages other than English to read and use their website.
Well, I am going to share with you one way in which we can add a translation feature to a website.
Firstly add
add script
<br> function googleTranslateElementInit() {<br> new google.translate.TranslateElement({pageLanguage: 'en'},<br><br> 'google_translate_element'); <br> }<br>
Top comments (0)