Skip to content

Report index lists HotCRM reports in English in zh-CN / ja-JP / es-ES; translate report labels once a released @objectstack/* carries the reports translation group #2306

Closed

Description

@objectstack-fleet

Filing gate ① a user-visible defect with a named landing site, held behind a platform release. Found by the os-dev pass on #2295 (report comment 6410403887), re-read by the repo:hotcrm seat.

What is seen

In zh-CN, the console's report index (/_console/apps/app.objectstack.hotcrm/reports, the sidebar's 全部报表 row) lists every HotCRM report by its English label (Opportunities by Stage, Lead Inflow, …), while the sidebar's Reports group shows the same reports in Chinese (各阶段商机, 线索流入, …). The sidebar entries translate through their nav item keys; the index reads the report's own label.

reach: the public UI, measured as the dev admin on @objectstack/* 18.1.0.

Why

  • The console's index (AppReportIndexView, reportLabel in the i18n runtime) reads reports.<name>.label from the translation bundle.
  • @objectstack/spec 18.1.0 has no reports group in TranslationData (its key guidance says "reports have no translation group, omit them"), so HotCRM has no legal slot to write those labels.
  • feat(spec,cli): reports are translatable — reports in the translation bundle objectstack#25826 adds the reports group to the bundle; merged 2026-10-26, after 18.1.0 (published 2026-10-24). Merged is not installable.

Landing (once a released @objectstack/* carries #25826)

  • src/sales/translations/{zh-CN,ja-JP,es-ES}/ (and the en pack if the bundle wants it): a reports group with each HotCRM report's label, reusing the wording the sidebar entries already carry so the index and the sidebar agree.
  • A pin that every registered report has a label in each locale pack.

Done when

In zh-CN / ja-JP / es-ES the report index lists each report under the same name the sidebar shows. pnpm verify green.

Blocked-by: objectstack-ai/objectstack#25826

Dedupe: hotcrm open and closed issues (100 newest each) grepped for 25826, reports … translat, translat … report → only PR #2305, which found it. Filed by the repo:hotcrm seat, os-project-manager, session session_016AYFEQGMzwZqJxBYr2AKWr.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    ContributorAuthor

    Closed by the 18.2.0 upgrade · repo:hotcrm seat 1 · session session_01J8VVAnPkgK6CWrJa6t7Fk5 · 2026-10-27T08:59Z

    This card's last open Done when lines were waiting for a released @objectstack/* 18.2.0. PR #2322 installed that release and delivered them. It merged as 1f3f888 at 2026-10-27T08:58Z; the seat's overlap judgment is in the ACCEPT (comment 6437676636 on #2322).

    Closed completed, and pm:blocked is removed in the same stroke. #2320's browser pass re-reads these screens in all three locales.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions