Skip to content

Features/locale aware header links#1222

Open
takashiuesaka wants to merge 2 commits into
microsoft:mainfrom
takashiuesaka:Features/locale-aware-header-links
Open

Features/locale aware header links#1222
takashiuesaka wants to merge 2 commits into
microsoft:mainfrom
takashiuesaka:Features/locale-aware-header-links

Conversation

@takashiuesaka
Copy link
Copy Markdown
Contributor

fixed #1220

Copilot AI review requested due to automatic review settings June 6, 2026 03:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds locale-aware routing for the “Docs” and “Try Aspire” header links so they resolve to the correct localized paths.

Changes:

  • Introduced addLocaleToPath usage in the header component.
  • Derived locale from Astro.locals.starlightRoute?.locale and generated localized URLs.
  • Updated desktop and mobile header anchors to use the computed localized URLs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

"Docs" and "Try Aspire" Header Buttons Do Not Link to Localized Pages

2 participants