Skip to content

Add Multi-Language Support & Custom Navbar (Cards + Schemes Included)#1477

Merged
omroy07 merged 4 commits intoomroy07:mainfrom
Eshajha19:schemes-langauge
Feb 12, 2026
Merged

Add Multi-Language Support & Custom Navbar (Cards + Schemes Included)#1477
omroy07 merged 4 commits intoomroy07:mainfrom
Eshajha19:schemes-langauge

Conversation

@Eshajha19
Copy link
Contributor

📌 Summary

This PR introduces a fully functional multi-language system along with a new custom navbar language selector. It ensures that all UI text — including scheme cards and placeholders — dynamically update based on the selected language, without removing or altering any existing schemes or core structure.

✅ Key Features

🌐 Added custom navbar with language dropdown

🗣️ Implemented multi-language support (English, Hindi, Spanish, French)

🧩 Fixed and centralized applyLanguage() to prevent conflicts

🃏 Enabled language switching for all scheme cards

✍️ Added support for translated input placeholders

💾 Persist selected language using localStorage

🛠️ Removed duplicate/conflicting language handlers

🐛 Bug Fixes

Fixed applyLanguage is not defined error

Resolved conflicts from multiple language scripts

Ensured consistent language application on page load

Fixed issue where card text was not updating

🔒 No Breaking Changes

❌ No schemes removed

❌ No HTML structure changes

❌ No existing functionality affected

Only data attributes and a new navbar were added to support translations.

🧪 How to Test

Load scheme.html

Use language dropdown in navbar

Verify:

Card titles & descriptions change

Input placeholders change

Language persists on refresh

📸 Screenshots (Optional)

Screenshot 2026-02-12 213052 Screenshot 2026-02-12 213101

This PR #1477 closes issue #1453

@vercel
Copy link

vercel bot commented Feb 12, 2026

@Eshajha19 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.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@omroy07 omroy07 merged commit bdeacbf into omroy07:main Feb 12, 2026
0 of 4 checks passed
@github-actions
Copy link

🎉 Congrats @Eshajha19 on getting your PR merged! 🙌
Thanks for the contribution — looking forward to more from you 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants