Skip to content

Print-path English sentences outside #37260: the /actions door's forward-unavailable 503 and the own-door bridge's 501 ignore the request locale #37273

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Filing gate ① — a defect with named locations. Source: the #37260 dev's out-of-scope findings (os-dev-report 7159457263 on #37260, PR #37272). The seat filed it as one follow-up in the same family (seat direction 7159533198).

What happens

#37260 (PR #37272) localizes the print door's own 5xx sentences by Accept-Language, through the platform's operation-message catalog (BUILTIN_OPERATION_MESSAGES + operationUserMessage). Two more sentences on the print path stay hard-coded English in a non-English console:

  1. The /actions door's forward-unavailable 503. packages/runtime/src/action-execution.ts:2160, apiActionForwardUnavailableError(action, door), is relayed at packages/runtime/src/action-dispatch.ts:754 as a 503 refusal. A print action (HotCRM crm_quote.print_quote) clicked while its forward target is unavailable shows this English sentence in a zh-CN console.
  2. The own-door bridge's 501. packages/runtime/src/domains/own-door-bridge.ts:162–181 answers 501 with English text when no service is registered for the slot ("… is not available: no … service is registered on this kernel. … registers it.") or when the registered service lacks the member. The print door uses it (packages/runtime/src/domains/print.ts).

Neither was reproduced in a browser by the #37260 dev; both were read from code on main.

Expected

Both sentences follow the request locale the same way #37260's do: keys in the same operation-message catalog, in its full locale set (en, zh-CN, ja-JP, es-ES), with English byte-identical. Follow seat direction 7159533198: localize the wire message, and add no userMessage to a fault. Code and status are unchanged.

Done when

  • Under accept-language: zh-CN, each site answers in Chinese, with an English or absent-locale control that keeps today's text. One pin per site.
  • An ablation that restores the hard-coded English turns each site's zh pin red.

Grade: area:ux · Bug · p2 (the same family as #37260 p1, on rarer paths: a forward that is unavailable and a kernel that lacks the print service). Size S.
Reader: zone a4-C of seat repo:objectstack#4, after PR #37272 merges, because it reuses the catalog keys and the helper that PR adds.
Blocked-by: #37272
Dedupe: apiActionForwardUnavailableError (open objectstack issues) → 1 hit, #37260 itself. own-door bridge 501 locale → 0.

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:server
    on Nov 25, 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:serverpm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions