Skip to content

docs: Fix skill page Connect button to follow current locale#1073

Merged
huacnlee merged 1 commit into
mainfrom
fix-skill-connect-locale
Jun 5, 2026
Merged

docs: Fix skill page Connect button to follow current locale#1073
huacnlee merged 1 commit into
mainfrom
fix-skill-connect-locale

Conversation

@huacnlee

@huacnlee huacnlee commented Jun 5, 2026

Copy link
Copy Markdown
Member

Summary

  • The Connect AI button on the /skill page hard-coded href="/connect", so zh-CN / zh-HK visitors were sent to the English connect page.
  • Now uses the existing localePfx computed (same as the /skill/install link), linking to /zh-CN/connect / /zh-HK/connect / /connect per the current locale. All three paths verified live (200).

🤖 Generated with Claude Code

The Connect CTA on /skill hard-coded href="/connect", so zh-CN/zh-HK
visitors landed on the English connect page. Reuse the existing
localePfx computed (already used by the /skill/install link).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@huacnlee huacnlee merged commit 6c5a7e8 into main Jun 5, 2026
2 checks passed
@huacnlee huacnlee deleted the fix-skill-connect-locale branch June 5, 2026 09:18
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