Frun1na opened a new issue, #4620:
URL: https://github.com/apache/rocketmq-dashboard/issues/4620

   **Studio Version**
   
   branch: `rocketmq-studio`
   git commit id: `5b761df8`
   
   **Runtime Environment**
   
   UI issue, browser-independent (all i18n language settings are affected 
except the Chinese default).
   
   **Connected RocketMQ Cluster**
   
   Not cluster-specific: the defect is in the certificate management page's 
front-end text.
   
   **Describe the Bug**
   
   The K8s certificate configuration page (`web/src/pages/cluster/certs.tsx`) 
renders all of its visible text in hard-coded Chinese — page title, table 
column headers (K8s 集群名称 / 到期时间 / 剩余天数 / 状态 …), search placeholder, filter 
option, modal form labels and placeholders, confirm dialog and toast messages. 
When the UI language is set to English, the rest of the application is 
translated but this page stays entirely Chinese.
   
   **Steps to Reproduce**
   
   1. Start Studio and switch the UI language to English.
   2. Open the cluster page group and enter the K8s certificate configuration 
page.
   3. Observe that every label, placeholder, button and message on the page is 
in Chinese while the surrounding UI is in English.
   
   **What Did You Expect to See?**
   
   All page text follows the selected UI language, with both Chinese and 
English entries under `web/src/i18n/`.
   
   **What Did You See Instead?**
   
   The whole page is hard-coded Chinese regardless of the language setting.
   
   **Additional Context**
   
   A fix is proposed in #4619: route the page through i18n, reusing the 
previously orphaned `cert.*` keys (aligned with the live text) and adding the 
missing ones. The Chinese strings stay byte-identical to the current hard-coded 
text, so the behavior for Chinese-UI users is unchanged; an 
English-localization test was added.
   


-- 
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]

Reply via email to