Skip to content

Conversation

@honue
Copy link
Contributor

@honue honue commented Oct 2, 2025

Hi Maintainers,

This PR introduces a large-scale update to Simplified Chinese (zh-CN) localization, with approximately 600 modifications across the i18n files.

I sincerely appreciate all the hard work and effort you have already put into the HomeBridge project. As a small contributor, I hope to do my part in helping improve and refine the Chinese translations, making the project more accessible and user-friendly for zh-CN users.

Thank you very much for your time and review.

  • Correct settings.startup.keep_accessories_desc to indicate accessories are kept in cache after plugin uninstall
  • Update settings.title_startup_options to “启动与环境”
  • Improve wording for settings.mdns_advertiser_help
  • Translate remaining strings in plugins.manage, status.uptime, and settings.terminal
  • Standardize accessories.control.not_mute to “取消静音”
  • Align users.setup_2fa_* error messages with source text
  • Verify consistency of status.widget.hide_npm (Show npm Version)
  • Full review of zh-CN.json confirms no English remnants (proper nouns excepted)

♻️ Current situation

  • Minor inconsistencies and misinterpretations in Simplified Chinese localization (e.g., keep_accessories_desc, “Startup & Environment”, 2FA errors, not_mute, npm version label).
  • No runtime logic affected.

💡 Proposed solution

  • Align zh-CN with en.json: fix keep_accessories_desc (“kept in cache”), unify “Startup & Environment”, refine mdns help, standardize terms, and perform a full pass to remove English remnants (proper nouns excepted).
  • Scope limited to ui/src/i18n/zh-CN.json.

⚙️ Release Notes

  • Improved Simplified Chinese localization across Settings, Status, Plugins, and Users.
  • No breaking changes; no migration required.

➕ Additional Information

  • settings.startup.session_desc: “Number of seconds before the user is logged out of the UI. Default is 8 hours.”
  • Proper nouns (e.g., Homebridge, npm) remain in English by convention.

Testing

  • Manual: run UI, switch to Simplified Chinese, verify keys in Settings (Startup & Environment), Status (uptime, Show npm Version), Plugins, Users (2FA errors).
  • No test changes required.

Reviewer Nudging

  • Start with diff of ui/src/i18n/zh-CN.json; compare key semantics with en.json.
  • Launch UI and spot-check the above pages for correct wording.

- Correct settings.startup.keep_accessories_desc to indicate accessories are kept in cache after plugin uninstall
- Update settings.title_startup_options to “启动与环境”
- Improve wording for settings.mdns_advertiser_help
- Translate remaining strings in plugins.manage, status.uptime, and settings.terminal
- Standardize accessories.control.not_mute to “取消静音”
- Align users.setup_2fa_* error messages with source text
- Verify consistency of status.widget.hide_npm (Show npm Version)
- Full review of zh-CN.json confirms no English remnants (proper nouns excepted)
@github-actions github-actions bot added the latest Related to Latest Branch label Oct 2, 2025
@honue
Copy link
Contributor Author

honue commented Oct 2, 2025

I have reviewed it briefly, and the modifications are consistent with Simplified Chinese semantics and usage conventions.

Copy link
Contributor

@bwp91 bwp91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for your time on improving this!

@honue
Copy link
Contributor Author

honue commented Oct 2, 2025

Maybe need another reviewer approvel this PR?😯

@honue
Copy link
Contributor Author

honue commented Oct 2, 2025

Looks good! Thanks for your time on improving this!

WOW! I noticed that you are the author of the ewelink plugin? That's great! It's very useful to me. Thank you for your work!

@bwp91 bwp91 merged commit fab64cf into homebridge:latest Oct 2, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

latest Related to Latest Branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants