-
Notifications
You must be signed in to change notification settings - Fork 492
[i18n] update zh #7761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[i18n] update zh #7761
Conversation
📝 WalkthroughWalkthroughAdded many Chinese localization entries across commands, main UI, and settings: new Comfy-Desktop and Comfy_ToggleLinear commands; extensive asset/browser, mask editor, 3D, toolbar/menu, and workflow translations in main.json; and multiple new Comfy_Node_*, execution, and queue-related keys in settings.json. Changes
Sequence Diagram(s)✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,vue,js,jsx,json,css}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-12-09T04:35:43.971ZApplied to files:
🔇 Additional comments (1)
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 |
🎭 Playwright Test Results⏰ Completed at: 12/26/2025, 05:52:38 PM UTC 📈 Summary
📊 Test Reports by Browser
🎉 Click on the links above to view detailed test results for each browser configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/locales/zh/commands.json (1)
1-327: Update source translations insrc/locales/en/commands.jsoninstead of directly modifying non-English locale files.Per the documented localization workflow in
src/locales/CONTRIBUTING.md, translation files for non-English languages (including zh) are auto-generated during release PRs using OpenAI. Manual updates tosrc/locales/zh/commands.jsonwill be overwritten on the next release cycle.To contribute these command translations:
- Add the entries to
src/locales/en/commands.json- The CI workflow will auto-generate the zh translation during the next version-bump PR
- If this is urgent, maintainers can manually trigger the i18n-update workflow
📜 Review details
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (3)
src/locales/zh/commands.jsonsrc/locales/zh/main.jsonsrc/locales/zh/settings.json
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx,vue,js,jsx,json,css}
📄 CodeRabbit inference engine (AGENTS.md)
Apply Prettier formatting with 2-space indentation, single quotes, no trailing semicolons, and 80-character line width
Files:
src/locales/zh/commands.jsonsrc/locales/zh/settings.json
🧠 Learnings (2)
📓 Common learnings
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/locales/en/main.json:774-780
Timestamp: 2025-12-09T04:35:43.971Z
Learning: In the Comfy-Org/ComfyUI_frontend repository, locale files other than `src/locales/en/main.json` are generated automatically on every release. Developers only need to add English (en) key/values in `src/locales/en/main.json` when making PRs; manual updates to other locale files (fr, ja, ko, ru, zh, zh-TW, es, ar, tr, etc.) are not required and should not be suggested in reviews.
📚 Learning: 2025-12-09T04:35:43.971Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/locales/en/main.json:774-780
Timestamp: 2025-12-09T04:35:43.971Z
Learning: In the Comfy-Org/ComfyUI_frontend repository, locale files other than `src/locales/en/main.json` are generated automatically on every release. Developers only need to add English (en) key/values in `src/locales/en/main.json` when making PRs; manual updates to other locale files (fr, ja, ko, ru, zh, zh-TW, es, ar, tr, etc.) are not required and should not be suggested in reviews.
Applied to files:
src/locales/zh/commands.jsonsrc/locales/zh/settings.json
🔇 Additional comments (1)
src/locales/zh/settings.json (1)
1-463: Verify that manual locale updates align with current localization workflow.Based on learnings, locale files other than
src/locales/en/main.jsonare typically auto-generated on every release. Manual updates to non-English locale files (including zh) may be overwritten during the next release cycle.Please confirm:
- Has the localization process changed to require manual translation PRs?
- Are these translations intended to be merged into the auto-generation source?
If the auto-generation process is still in place, consider coordinating with maintainers to ensure this translation work is preserved and integrated into the generation pipeline.
Based on learnings, locale files are typically auto-generated rather than manually updated.
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 3.19 MB (baseline 3.19 MB) • ⚪ 0 BMain entry bundles and manifests
Status: 3 added / 3 removed Graph Workspace — 995 kB (baseline 995 kB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 6.54 kB (baseline 6.54 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 1 added / 1 removed Panels & Settings — 296 kB (baseline 295 kB) • 🔴 +1.01 kBConfiguration panels, inspectors, and settings screens
Status: 7 added / 7 removed UI Components — 196 kB (baseline 196 kB) • ⚪ 0 BReusable component library chunks
Status: 8 added / 8 removed Data & Services — 12.5 kB (baseline 12.5 kB) • ⚪ 0 BStores, services, APIs, and repositories
Status: 2 added / 2 removed Utilities & Hooks — 1.41 kB (baseline 1.41 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 1 added / 1 removed Vendor & Third-Party — 9.1 MB (baseline 9.1 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 3.47 MB (baseline 3.44 MB) • 🔴 +34 kBBundles that do not match a named category
Status: 23 added / 23 removed |
|
Thank you |

Summary
Update zh, supplemented the untranslated content.
Only locale changes.
Changes
zh locales
Review Focus
no sure this needs a review
┆Issue is synchronized with this Notion page by Unito