Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨multi translate system added.✨ #1285

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PORT=5000
PORT=5001
MONGODB_URI=mongodb+srv://Jazzy49:[email protected]/Imagine?retryWrites=true&w=majority
OPENAI_API_KEY="get in from OPEN AI"
JWT_ACCESS_SECRET=ImagineAiAccessSecret
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions views/aboutUs.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,20 @@
domain="www.chatbase.co"
defer>
</script>

<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
17 changes: 17 additions & 0 deletions views/alan.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,20 @@
btn.click();
}
</script>

<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
21 changes: 19 additions & 2 deletions views/contactUs.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -939,5 +939,22 @@
chatbotId="fZnpFqGqi_Ol7GFejzNXo"
domain="www.chatbase.co"
defer>
</script>
</main>
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

</main>
17 changes: 17 additions & 0 deletions views/feedback.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,20 @@
}
})
</script>

<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
17 changes: 17 additions & 0 deletions views/forgot-password.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,23 @@
<div id="successToast" class="toast success-toast" aria-label="success message"></div>
<div id="errorToast" class="toast error-toast" aria-label="error message"></div>
</section>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

</main>

<%- include('includes/footer.ejs') %>
17 changes: 17 additions & 0 deletions views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,20 @@
domain="www.chatbase.co"
defer>
</script>

<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
19 changes: 18 additions & 1 deletion views/imagineAi.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,21 @@
chatbotId="fZnpFqGqi_Ol7GFejzNXo"
domain="www.chatbase.co"
defer>
</script>
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

17 changes: 17 additions & 0 deletions views/intro.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@
};
});
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

</body>

</html>
18 changes: 17 additions & 1 deletion views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,20 @@
eyeIcon.innerText = "visibility_off";
}
}
</script>
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
19 changes: 18 additions & 1 deletion views/privacypolicy.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,21 @@
chatbotId="fZnpFqGqi_Ol7GFejzNXo"
domain="www.chatbase.co"
defer>
</script>
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

19 changes: 18 additions & 1 deletion views/signup.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,21 @@
chatbotId="fZnpFqGqi_Ol7GFejzNXo"
domain="www.chatbase.co"
defer>
</script>
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

17 changes: 17 additions & 0 deletions views/slider.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,22 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js" integrity="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.1.6/js/swiper.min.js"></script>
<script src="js/slider.js"></script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

</body>
</html>
19 changes: 18 additions & 1 deletion views/team.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,21 @@ toggleThemeButton.addEventListener("click", () => {
document.body.classList.toggle("dark-mode");
});

</script>
</script>
<div class="gtranslate_wrapper"></div>

<script>

window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}

</script>

<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>

Loading