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

[Enhancement]: I Built a Dropdown-Based Language Selector for Multilingual Sites #1663

Open
1 task done
rwv opened this issue Jan 20, 2025 · 0 comments
Open
1 task done
Labels
enhancement New feature or improvement

Comments

@rwv
Copy link

rwv commented Jan 20, 2025

What you'd like to propose?

The current language selector in the PaperMod theme displays all available languages in the header, which can become cluttered when a site supports numerous languages. This setup is less ideal for blogs or websites like ours (supporting over 20 languages), where the header space is limited, and readability can be compromised.

Currently, I have implemented a custom solution by overriding the header.html partial and adding CSS for a dropdown-based language selector. While this works, it requires manual maintenance with theme updates. A built-in feature would save effort and benefit other users facing similar issues.

You can refer to the guide I wrote here: Custom Language Selector Implementation

Commit: lookscanned/lookscanned-blog@a47f5c2

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rwv rwv added the enhancement New feature or improvement label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant