+
diff --git a/script.js b/script.js
index 92ec78d74..4985edf28 100644
--- a/script.js
+++ b/script.js
@@ -79,6 +79,15 @@ toggleSwitch.addEventListener('change', (e) => {
}
});
+// Google Translate
+function googleTranslateElementInit() {
+ new google.translate.TranslateElement({
+ pageLanguage: 'en'
+ },
+ 'google_translate_element'
+ );
+}
+
// Hide or show scroll progress indicator
let calcScrollValue = () => {
let scrollProg = document.getElementById("progress");
diff --git a/style.css b/style.css
index 4df195ca8..761be8798 100644
--- a/style.css
+++ b/style.css
@@ -409,6 +409,15 @@ nav ul {
background-color: var(--secondary);
}
+/* Google Translate Css */
+
+#google_translate_element {
+ right: 0;
+ margin-top: 5px;
+ margin-right: 5px;
+ position: absolute;
+}
+
/* Components Section Css */
section {