Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Features/locale aware header links#1222

Open
takashiuesaka wants to merge 2 commits into
microsoft:mainmicrosoft/aspire.dev:mainfrom
takashiuesaka:Features/locale-aware-header-linkstakashiuesaka/aspire.dev:Features/locale-aware-header-linksCopy head branch name to clipboard
Open

Features/locale aware header links#1222
takashiuesaka wants to merge 2 commits into
microsoft:mainmicrosoft/aspire.dev:mainfrom
takashiuesaka:Features/locale-aware-header-linkstakashiuesaka/aspire.dev:Features/locale-aware-header-linksCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.