Step 1: Copy the below google transliterate script into your header.html/any UI file.
1 2 3 4 5 6 7 8 |
<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="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
Step 2 : The website will be displayed as below. Now you can select any language whichever you want and check.
Thanks for visiting our website