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] Hiding localization options for unstralated pages #286

Open
MetalKnight56 opened this issue Jan 4, 2024 · 2 comments
Open

Comments

@MetalKnight56
Copy link

So i wanted to hide the language options from appearing on pages that are not yet translated like for example

image

This page is only currently available in english, but it still displays all languages on the language dropdown selector as if it was available in other languages as well... I wanted to hide the languages its not yet been trasnlated to yk...

This is not a huge deal btw, i just think its very odd to have these things displaying, maybe it could be a config option on the mkdocs.yml file idk, but i just think its kinda misleading for some people as i've got a bunch of people asking about it on my community too...

@ultrabug
Copy link
Owner

Hi @MetalKnight56

I guess you are running the plugin with the fallback_to_default: false option set?

@MetalKnight56
Copy link
Author

Hi @MetalKnight56

I guess you are running the plugin with the fallback_to_default: false option set?

No no, I do have it set to true, but it still allows users to select untranslated pages, it does work as it should but I just want to hide the translation options if a page doesn't have translations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants