feat(i18n): add Simplified Chinese (zh-CN) localization#30
Conversation
Add complete zh-CN translation file and register it in i18n config and language selector.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds Simplified Chinese ( ChangesSimplified Chinese Localization
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
src/i18n/locales/zh-CN.jsonwith full Simplified Chinese translations covering all existing keys (common,header,hero,features,instructions,status,errors)zh-CNas a supported language insrc/i18n/config.ts简体中文option to the language selector dropdown inLanguageSelector.tsxChanges
src/i18n/locales/zh-CN.jsonsrc/i18n/config.tszh-CNresourcesrc/components/LanguageSelector.tsx{ value: 'zh-CN', label: '简体中文' }to language listTesting
Summary by CodeRabbit