Skip to content

docs: add simplified Chinese README#58

Merged
RealZST merged 2 commits into
mainfrom
docs/readme-zh-cn
May 15, 2026
Merged

docs: add simplified Chinese README#58
RealZST merged 2 commits into
mainfrom
docs/readme-zh-cn

Conversation

@RealZST
Copy link
Copy Markdown
Owner

@RealZST RealZST commented May 15, 2026

Summary

  • Adds README.zh-CN.md, a complete simplified Chinese translation of the README, with language switcher links between the two files
  • Terminology aligned with src/lib/i18n/locales/zh/ where applicable; off-glossary terms verified against common Chinese tech writing rather than literal calques
  • Drops the inaccurate "same skill installed in Global and in a project shows as two distinct entries" line in both English and Chinese READMEs (current behavior groups them, not separates them)
  • fix(extensions): use i18n locale for installed date format — the formatDate helper in extension-detail.tsx was falling back to system locale, so the install date appeared in English even when the UI was in Chinese (e.g. Feb 11, 2026安装). Now reads i18n.resolvedLanguage, mirroring formatRelativeTime

Test plan

  • Render README.md and README.zh-CN.md on GitHub; verify the language switcher links work and anchors resolve
  • Switch app language to 中文, open any extension detail panel, confirm the installed date renders as 2026年2月11日 (not Feb 11, 2026)
  • Switch back to English, confirm date still renders as Feb 11, 2026

🤖 Generated with Claude Code

RealZST and others added 2 commits May 15, 2026 16:12
formatDate previously passed undefined to toLocaleDateString, falling back
to the system locale. The component already subscribes to i18n via
useTranslation, so read the resolved language and pass it through.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds README.zh-CN.md with a complete Chinese translation. Terminology
follows src/lib/i18n/locales/zh/ where applicable (Agent → 智能体 kept
as English Agent for tighter brand voice; pack → 套装; disable → 禁用;
trust tiers → 安全/低风险/需复核). Off-glossary terms verified online
for natural Chinese tech usage.

Adds language switcher between English and Chinese near the top of both
files. Drops the inaccurate "shows as two distinct entries" line about
scope filtering (current behavior groups them).
@RealZST RealZST merged commit 6947822 into main May 15, 2026
3 checks passed
@RealZST RealZST deleted the docs/readme-zh-cn branch May 15, 2026 13: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