Skip to content

fix(web): route zht locale to Discord instead of Feishu#27640

Open
TsurumaruTsuyoshi wants to merge 1 commit into
anomalyco:devfrom
TsurumaruTsuyoshi:fix/zht-feishu-traditional
Open

fix(web): route zht locale to Discord instead of Feishu#27640
TsurumaruTsuyoshi wants to merge 1 commit into
anomalyco:devfrom
TsurumaruTsuyoshi:fix/zht-feishu-traditional

Conversation

@TsurumaruTsuyoshi
Copy link
Copy Markdown

@TsurumaruTsuyoshi TsurumaruTsuyoshi commented May 15, 2026

Issue for this PR

Closes #27642.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

#16908 routed both zh and zht locales to a Feishu group. The Traditional Chinese (zht) audience is primarily in Hong Kong, Taiwan, Macau, and overseas communities, where Feishu has very little reach. A few practical barriers to joining via Feishu for that audience:

  • Signing up for Feishu requires a phone number, and the flow is heavily oriented toward mainland Chinese numbers.
  • Feishu's primary service is operated out of mainland China, which is a non-trivial consideration for users in jurisdictions with different data-handling expectations.

This PR keeps Feishu for zh (Simplified Chinese) — respecting the intent of #16908 for that audience — and routes zht back to the existing Discord community:

  • packages/console/app/src/component/footer.tsx: narrow the Feishu branch from locale === "zh" || locale === "zht" to locale === "zh".
  • README.zht.md: restore the Discord link in the community footer.
  • packages/console/app/src/i18n/zht.ts: correct the footer.feishu translation from the Simplified form 飞书 to the Traditional form 飛書. The key is kept (matching en.ts, which also retains it for dictionary completeness) even though the zht locale no longer references it from the footer.

No changes to the zh locale, the en dict, or the /feishu redirect route.

How did you verify your code works?

  • Confirmed language.locale() returns "zht" for Traditional Chinese visitors, which now falls through to the Discord branch in footer.tsx.
  • Grepped the repo for other references to footer.feishu — only the zh and en dicts remain, both intentional.
  • Diff reviewed; scope is limited to the three files above.

Screenshots / recordings

Text/link-only change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

PR anomalyco#16908 routed both `zh` and `zht` locales to a Feishu group. Feishu
is primarily used inside mainland China; Traditional Chinese readers in
Hong Kong, Taiwan, Macau, and overseas communities largely do not have
Feishu accounts and cannot join via the applink without one.

This commit keeps Feishu for `zh` (Simplified Chinese) but routes the
`zht` locale back to the existing Discord community:

- `footer.tsx`: narrow the Feishu branch to `locale === "zh"`
- `README.zht.md`: restore the Discord link
- `i18n/zht.ts`: drop the now-unused `footer.feishu` entry
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added needs:issue and removed needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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: zht locale community link routes to Feishu, which excludes most Traditional Chinese readers

1 participant