Skip to content

Make URL locale-agnostic for Pull Request template documentation link#8373

Merged
alexr00 merged 1 commit intomainfrom
jruales-patch-1
Jan 8, 2026
Merged

Make URL locale-agnostic for Pull Request template documentation link#8373
alexr00 merged 1 commit intomainfrom
jruales-patch-1

Conversation

@jruales
Copy link
Copy Markdown
Contributor

@jruales jruales commented Jan 7, 2026

No description provided.

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

This pull request removes the locale-specific /en/ path segment from a GitHub documentation URL to make it locale-agnostic, allowing GitHub to automatically redirect users to the appropriate language version of the documentation.

Key Changes

  • Updated the GitHub documentation URL for pull request templates from a locale-specific path (/en/...) to a locale-agnostic path
  • Added missing newline at end of file


if (selected?.label === learnMore) {
vscode.env.openExternal(vscode.Uri.parse('https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository'));
vscode.env.openExternal(vscode.Uri.parse('https://docs.github.com/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository'));
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

While this URL has been updated to be locale-agnostic, there are other locale-specific GitHub documentation URLs in the codebase that should also be updated for consistency. Specifically, the URL in src/github/copilotApi.ts line 21 (PREMIUM_REQUESTS_URL) also contains '/en/' and should be updated to allow automatic locale detection by GitHub's documentation system.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Thank you!

@alexr00 alexr00 merged commit 7390c8f into main Jan 8, 2026
12 checks passed
@alexr00 alexr00 deleted the jruales-patch-1 branch January 8, 2026 10:17
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.

3 participants