Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(i18n): apply object _views translations to view tabs and breadcrumbs #3131

Closed

Description

@os-zhuang

Reproduction

  1. Start HotCRM with pnpm exec objectstack dev --ui --fresh -p 4057.
  2. Sign in and open a Chinese interface, for example /crm_opportunity/view/pipeline_kanban.
  3. The i18n endpoint /api/v1/i18n/translations/zh returns crm_opportunity._views.pipeline_kanban.label: 销售流水线 (and the new stale_opportunities translation).
  4. The console still renders Sales Pipeline and ⚠️ Stale Opportunities · Longest in Stage First in the tab bar, more-views menu, and current-view breadcrumb.

Expected

All list-view presentation surfaces resolve objects.{objectName}._views.{viewName}.label for the active locale, with the metadata label only as fallback.

Notes

  • Object labels, navigation, fields, and much of the surrounding Chinese UI are translated successfully.
  • The issue reproduces for pre-existing translations as well as new entries, so it is not a HotCRM translation-data gap.
  • HotCRM metadata has been verified to return the expected translation payload.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions