Chinese translation for In the News page#1381
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Adds Simplified Chinese (zh) localization strings intended for the “In the News” page, expanding the Chinese locale coverage in the i18n layer.
Changes:
- Added
zhtranslations for the News/In-the-News page content (title/subtitle + 10 story titles/descriptions). - Added a Chinese label for
IN_THE_NEWSin the sharedcommon.jsonnamespace.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/common/i18n/locales/zh/news.json |
New Chinese translations for the news page’s headings and story content. |
src/common/i18n/locales/zh/common.json |
Adds a Chinese string for the IN_THE_NEWS key. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| "TITLE": "新闻:我们的故事", | ||
| "SUBTITLE": "了解Saayam for All如何因其在扶持社区、赋能志愿者和构建包容性互助网络方面的工作而备受关注和认可。", | ||
| "DESCRIPTION": "从本地报道到全国性专题,了解我们的使命如何从平台延伸到更广阔的世界。", | ||
| "READ_MORE": "阅读更多", | ||
| "JOIN_TITLE": "想要加入我们?", | ||
| "JOIN_BODY": "与我们的社区交流,联系不同的公益组织!", | ||
| "JOIN_BUTTON": "加入社区", |
There was a problem hiding this comment.
zh/news.json is added but Chinese resources don’t currently load the news namespace (in src/common/i18n/i18n.js, zh only includes common/auth/enums/... and is missing news). As a result, the In the News page will still fall back to English for Chinese. Please import ./locales/zh/news.json and wire it into the zh resources under the news namespace.
I have added Chinese translation for the "In the News" page in news.json and common.json