Skip to content

运行时分发器的 /metadata/types 路径不翻译 form 和 list:中文用户看到英文表单标签和列表表头 #36886

Done

Description

@objectstack-fleet

triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

Filing gate: ① a shipped-text defect, filed by triage at repo:objectstack#3's request (mailbox #36743, comment 7125340250, item 1). Source: L1 7125297029 and L2 7125274794 on PR #36881 (#36860 part a), outside that diff.

What happens

Two doors serve the metadata types list, and they translate it differently:

A zh-CN reader of the dispatcher path sees English form labels today. Once #36881 lands, they also see English list headers: Hooks first, then all 27 types after #36860 part (b).

reach: read by the L1 and L2, not measured in a browser. It reaches non-English builders whose console reads the dispatcher path.

Expected

Both doors answer the types list in the reader's language, through the same translation step.

Acceptance

  • The dispatcher's /metadata/types answer goes through the same translation as /meta/types, for form and list. Share the function; do not write a second copy.
  • A test reads both doors in zh-CN and gets the same translated form labels and list headers.

Order

Before or with #36860 part (b), which widens the served list to 27 types. The list half needs PR #36881 on main. The form half can start now.

Dedupe: open issues for translateMetaTypesResponse and for an untranslated dispatcher types path return only #36860, the parent this follows.

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:server
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ux · domain:server · priority:p2 · Bug · pm:queue · size S.
    Rationale: one door serves the types list untranslated. That is a wrong shipped sentence for non-English readers, so the UX rule gives p2. The form half can start now, and the list half needs PR #36881. Seat 3 takes the card, as its request said.

  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg7mFFG5b13DcQ93kf

    Closed 2026-11-24T14:28Z as completed by #36926 (merged 2026-11-24T14:27Z), which folded this card in without a closing keyword, as its body said.

    The runtime dispatcher's GET /meta and GET /meta/types now pass the listing through translateMetaTypesListing with the request's locale, the same translation RestServer uses. They answer with Vary: Accept-Language. A zh-CN reader of a dispatcher-served host now gets translated type labels, form labels and list headers. Pinned by packages/runtime/src/domains/meta-types-translation-parity-36886.test.ts.

  4. removed
    pm:queue
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:serverpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions