Skip to content

Redesign the language switcher - #25

Merged
pcodedynamics merged 1 commit into
mainfrom
fix/language-switcher-design
Nov 30, 2026
Merged

pcodedynamics merged 1 commit into
mainfrom
fix/language-switcher-design

Conversation

@pcodedynamics

Copy link
Copy Markdown
Member

Summary

  • Replace the single language link with a two-option switcher that highlights the current language using the site’s sage palette.
  • Show full language names in the mobile menu and on wide desktop layouts. Use compact labels where the header has less room.
  • Preserve direct links to the matching page in the other language and expose the current language to assistive technology.

Test plan

  • Run pnpm format:check, pnpm check, pnpm build, and pnpm seo:check.
  • Check all 12 localized pages in Chrome across eight viewport widths, including both sides of the desktop breakpoint.
  • Verify both language directions by mouse and keyboard, mobile menu focus behavior, and navigation with JavaScript disabled.

@pcodedynamics
pcodedynamics merged commit f8e222d into main Nov 30, 2026
1 check passed
@pcodedynamics
pcodedynamics deleted the fix/language-switcher-design branch November 30, 2026 18:56
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.

1 participant