Skip to content

console: the create/edit form's section tab strip ignores _sections translations that the detail page applies #5408

Description

@yinlianghui

The record create/edit form groups fields into sections and renders them as a
tab strip. That strip displays the untranslated section labels in every
locale — even when the bundle carries a complete _sections block that the
detail page for the same object resolves correctly.

Observed (17.0.0-rc.2, HotCRM)

New Case form: tab strip reads Case • / SLA / Resolution in all four locales.
The same object's _sections translations exist and work elsewhere — the case
detail page renders 工单信息 / 状态与SLA under zh-CN from
objects.crm_case._sections.*. So this is not a missing key or an incomplete
bundle: the form renderer simply never consults _sections for its tab strip,
while the detail-page renderer does.

(As of objectstack-ai/hotcrm#697 all four HotCRM locales carry all 85 declared
section headings, so any locale is now a ready-made reproduction: every
translated heading appears on the detail page and stays English on the form
tabs.)

Why this is distinct from neighbouring issues

Expected: the form section tab strip resolves headings through the same
_sections lookup the detail page uses (objects.<o>._sections.<key>.label,
falling back to the authored label).

Downstream: objectstack-ai/hotcrm#683 (part 1).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions