docs: add a language switcher to both READMEs - #75
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe README files now provide badge-style language navigation between English and Simplified Chinese. ChangesREADME language switcher
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The README language badges provide consistent navigation between English and Simplified Chinese without affecting runtime behavior or deployment. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Adds a pair of shields.io badge buttons near the top of both READMEs so
readers can switch between the English and Simplified Chinese versions.
Why
README.zh-CN.mdalready linked back to the English README, butREADME.mdhad no link to the translation at all — the Chinese README waseffectively unreachable from the repository landing page, which is where
most readers arrive.
Details
0F766E, matchingthe existing Documentation badge) and carries the translate glyph; it is
intentionally not a link.
555555) clickable badge.line, matching where the Chinese README already had its text switcher.
Summary by CodeRabbit