Skip to content

Skip translations without a URL in the language selector (#511) - #529

Open
rohitmulani63-ops wants to merge 1 commit into
wagtail:mainfrom
rohitmulani63-ops:language-selector-skip-translations-without-url
Open

rohitmulani63-ops wants to merge 1 commit into
wagtail:mainfrom
rohitmulani63-ops:language-selector-skip-translations-without-url

Conversation

@rohitmulani63-ops

Copy link
Copy Markdown

Fixes #511

Description

So the problem is that the link becomes href="None", so now the language menu skips languages that have no page.

Testing

AI usage

Yes, Claude was used, but under my supervision. All tests pass on my fork's test run.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

Fix language selector rendering href="None"

1 participant