Conversation
|
@Aditya8369 is attempting to deploy a commit to the Om Roy's projects Team on Vercel. A member of the Team first needs to authorize it. |
Thanks for creating a PR for your Issue!
|
Contributor
Author
|
@omroy07 please check |
|
🎉 Congrats @Aditya8369 on getting your PR merged! 🙌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhancements Made:
Universal Website-Wide i18n Engine (scripts/i18n.js):
Implemented UniversalI18nManager with built-in instant translation dictionary and asynchronous server-side fallback via Google Cloud Translation API.
Automatically translates elements with [data-i18n] as well as standard navigation items (Home, About, Blog, Schemes, Community Forum, Level Up, Certificates, Favorites, Login, Register, Logout, etc.) across all pages.
Saves language preferences across all keys (agritech-lang, agritech_lang, selectedLang, and lang cookie) for seamless cross-page persistence.
Exposes global helper functions (window.setLanguage, window.platformLanguageChange) so any page interaction triggers smooth transitions.
Universal Auto-Loader Hook (footer.js):
Added an automatic i18n script loader inside footer.js (which is included across 90+ HTML pages on the website), ensuring consistent language switching and synchronization on every single page.
Global Navigation Language Toggle (navbar.html):
Added clean, accessible language switcher dropdown supporting English, हिन्दी (Hindi), ಕನ್ನಡ (Kannada), తెలుగు (Telugu), and தமிழ் (Tamil).
Styled with light/dark theme responsiveness without any external Google Translate branding or popup banners.
All Tests Passing:
closes #572