CLONE
Change the Page Language with Google Translate & jQuery!
STEP 1
Add Scripts Before Closing Body Tag


<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script type="text/javascript">
    function googleTranslateElementInit() {
      new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT}, 'google_translate_element');
    }

	function triggerHtmlEvent(element, eventName) {
	  var event;
	  if (document.createEvent) {
		event = document.createEvent('HTMLEvents');
		event.initEvent(eventName, true, true);
		element.dispatchEvent(event);
	  } else {
		event = document.createEventObject();
		event.eventType = eventName;
		element.fireEvent('on' + event.eventType, event);
	  }
	}

	jQuery('.lang-select').click(function() {
	  var theLang = jQuery(this).attr('data-lang');
	  jQuery('.goog-te-combo').val(theLang);

	  //alert(jQuery(this).attr('href'));
	  window.location = jQuery(this).attr('href');
	  location.reload();

	});
  </script>


Remove Google top bar and margin
Disable google translate original text tooltips

<style>

/* Remove Google top bar and margin */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    } 
body {
    top: 0px !important; 
    }
    
/* Disable google translate original text tooltips */  
#goog-gt-tt, .goog-te-balloon-frame{display: none !important;} 
.goog-text-highlight { background: none !important; box-shadow: none !important;}
    
</style>
STEP 2
Add class .lang-select
STEP 3
Add URL
#googtrans(en|en)
#googtrans(en|zh-CN)
#googtrans(en|zh-TW)
#googtrans(en|ja)
#googtrans(en|fr)
#googtrans(en|nl)
#googtrans(en|es)
#googtrans(en|de)
#googtrans(en|pt)
STEP 4
Add data-lang Custom Attributes
data-lang="en"
data-lang="zh-CN"
data-lang="zh-TW"
data-lang="ja"
data-lang="fr"
data-lang="nl"
data-lang="es"
data-lang="de"
data-lang="pt"
Two-Letter
Language Codes
for Google Translate
Afrikaans - af
Albanian - sq
Arabic - ar
Armenian - hy
Azerbaijani - az
Basque - eu
Belarusian - be
Bulgarian - bg
Catalan - ca
Chinese (Simplified) zh-CN
Chinese (Traditional) zh-TW
Croatian - hr
Czech - cs
Danish - da
Dutch - nl
English - en
Estonian - et
Filipino - tl
Finnish - fi
French - fr
Galician - gl
Georgian - ka
German - de
Greek - el
Haitian Creole - ht
Hebrew - iw
Hindi - hi
Hungarian - hu
Icelandic - is
Indonesian - id
Irish - ga
Italian - it
Japanese - ja
Korean - ko
Latvian - lv
Lithuanian - lt
Macedonian - mk
Malay - ms
Maltese - mt
Norwegian - no
Persian - fa
Polish - pl
Portuguese - pt
Romanian - ro
Russian - ru
Serbian - sr
Slovak - sk
Slovenian - sl
Spanish - es
Swahili - sw
Swedish - sv
Thai - th
Turkish - tr
Ukrainian - uk
Urdu - ur
Vietnamese - vi
Welsh - cy
Yiddish - yi


1. Afrikaans - af
2. Albanian - sq
3. Arabic - ar
4. Armenian - hy
5. Azerbaijani - az
6. Basque - eu
7. Belarusian - be
8. Bulgarian - bg
9. Catalan - ca
10. Chinese (Simplified) zh-CN
11. Chinese (Traditional) zh-TW
12. Croatian - hr
13. Czech - cs
14. Danish - da
15. Dutch - nl
16. English - en
17. Estonian - et
18. Filipino - tl
19. Finnish - fi
20. French - fr
21. Galician - gl
22. Georgian - ka
23. German - de
24. Greek - el
25. Haitian Creole - ht
26. Hebrew - iw
27. Hindi - hi
28. Hungarian - hu
29. Icelandic - is
30. Indonesian - id
31. Irish - ga
32. Italian - it
33. Japanese - ja
34. Korean - ko
35. Latvian - lv
36. Lithuanian - lt
37. Macedonian - mk
38. Malay - ms
39. Maltese - mt
40. Norwegian - no
41. Persian - fa
42. Polish - pl
43. Portuguese - pt
44. Romanian - ro
45. Russian - ru
46. Serbian - sr
47. Slovak - sk
48. Slovenian - sl
49. Spanish - es
50. Swahili - sw
51. Swedish - sv
52. Thai - th
53. Turkish - tr
54. Ukrainian - uk
55. Urdu - ur
56. Vietnamese - vi
57. Welsh - cy
58. Yiddish - yi