Skip to content

fix(i18n): complete zh-CN coverage across templates#13

Merged
xuyushun441-sys merged 1 commit into
mainfrom
fix/i18n-coverage-complete
Jun 1, 2026
Merged

fix(i18n): complete zh-CN coverage across templates#13
xuyushun441-sys merged 1 commit into
mainfrom
fix/i18n-coverage-complete

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Comprehensive i18n audit + fill

Wrote a coverage audit comparing each app's object metadata (field labels, select options, descriptions) against its zh-CN bundle, across all 9 templates. It found the last gaps and this PR closes them.

Before

app fields options objDesc
helpdesk 75/75 53/57 6/6
procurement 45/45 29/40 4/4
project 39/63 0/49 0/6

(the other 6 apps were already 100%)

Fixes

  • helpdeskhelpdesk_ticket.ai_priority_suggestion select options.
  • procurementprocurement_order.payment_terms + procurement_request.category options.
  • project (pm) — the bundle used stale field names that no longer matched the objects (so labels silently fell back to English). Rewritten against the actual *.object.ts field names with full field labels, all select options, object descriptions, and _views list labels, in both en and zh-CN.

After — 100% across all 9 apps

fields, options, and object descriptions all fully covered. All packages typecheck + build; verified in the composed all environment (the pm app now renders fully Chinese with localized fields, options, and descriptions).

Note: list-view tab labels (e.g. "Project Board") use objects.<obj>._views — added per schema, but this console build doesn't yet apply them to the tab strip. Correct data, pending renderer support.

🤖 Generated with Claude Code

…tions, project)

A coverage audit across all 9 template apps (comparing each object's metadata
labels/options/descriptions against the zh-CN bundle) found the last gaps:

- helpdesk: ticket `ai_priority_suggestion` select options were untranslated.
- procurement: order `payment_terms` and request `category` options were untranslated.
- project (pm): the prior bundle used stale field names that no longer matched the
  objects, so ~24 field labels, all 49 select options, all 6 object descriptions,
  and the list-view labels were missing. Rewritten against the actual *.object.ts
  field names with full options, descriptions, and `_views` labels (en + zh-CN).

Result: 100% coverage across all 9 apps for field labels, select options, and
object descriptions. All three packages typecheck and build clean; verified in
the composed `all` environment (e.g. the pm app now renders fully Chinese:
项目 / 里程碑 / 风险 / 问题 / 资源 with localized fields, options, descriptions).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys xuyushun441-sys merged commit b24eab7 into main Jun 1, 2026
0 of 2 checks passed
@xuyushun441-sys xuyushun441-sys deleted the fix/i18n-coverage-complete branch June 1, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants