tju-yxq opened a new issue, #5531: URL: https://github.com/apache/rocketmq-dashboard/issues/5531
## Problem After #5507 covered the topic page's ten error messages, a full sweep shows the page still has roughly **150 hardcoded Chinese strings** across every other region. An operator who switches the console to English gets mixed-language output on the core inventory page: | Area | Examples | | --- | --- | | Instance banner | `当前实例`, `接入模式`, `厂商`, `阿里云`/`腾讯云`, `接入点`, and the four per-access-mode endpoint explanations | | Main table & toolbar | column titles (`备注`, `类型`, `状态`, `服务中`), action buttons (`详情`, `配置`, `发送`), filter options (`全部`/`普通`/`顺序`/`延迟`/`事务`), batch delete confirm, import/export/sync buttons, pagination total | | Detail modal | `基本信息`/`消费者` sections, description labels (`写队列数`, `读队列数`, `权限`, `今日消息量`, `消费者组数`) | | Route diagnostics | `路由信息`, `路由诊断:…`, healthy/issues summaries, metric cards (`Broker 数`, `可写 Broker`, `队列差距 写 N / 读 M`), issue severity tags (`异常`/`关注`), `建议处理` | | Create/edit modal | type cards with descriptions (`普通消息 — 适用于…`), perm radios (`读写`/`只读`/`只写`), queue hints, name validation, remark placeholder | | Send modal | `发送消息到 …`, body/tag/key labels and placeholders, quick-fill generator buttons (`订单事件` … `监控指标`), custom-property editor (`逐条录入`/`批量粘贴`, `添加属性`), the entire pre-send check panel (`发送前预检`, `可以发送`/`建议检查`/`阻止发送`, summary tags) | | Import modal | title with filename, status tags, detected-rows alerts, field-scope notes | | Sync modal | `同步数据`, `正在校验 Topic 路由…`, missing-route description, `已同步`/`缺失路由` status | ## Expected behavior All user-facing strings on the topic page go through the i18n layer (`t()` + `translations.ts`). ## Notes - This supersedes #5507, which covered only the ten error toasts; that PR is still open, so the complete localization should land as one change instead of two partial ones (per the grouping guideline #2107). - Route diagnostics issue titles/descriptions and `statusText` come from `utils/topicRouteDiagnostics.ts`, which returns Chinese strings directly — that util-level gap is a separate, systematic issue and is out of scope here. - The random quick-fill generators produce sample JSON payloads; their button labels are localized, the generated JSON sample content is data and stays as-is. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
