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

   ### Before Creating the Bug Report
   
   I found this while preparing a fix and opened PR #4633 for it.
   
   ### Bug Report
   
   #### Describe the bug
   
   Most of the user-facing strings on the Message page (message.tsx) are 
hardcoded in Chinese instead of going through the i18n catalog. When the UI 
language is switched to English, labels, placeholders, validation messages, 
table column titles, error prompts and trace-diagnostics texts remain in 
Chinese — roughly 87 strings across the query form, result table, message 
detail drawer and trace diagnostics panel.
   
   #### Expected behavior
   
   All user-visible strings on the message page should come from 
`web/src/i18n/translations.ts` and follow the active language, like the rest of 
the recently localized pages.
   
   #### Actual behavior
   
   The page keeps displaying Chinese strings regardless of the language 
setting. Module-level constants (e.g. query-mode labels, delivery-status map, 
default error messages) also cannot respond to language switching because they 
capture the string at module load time.
   
   #### Steps to Reproduce
   
   1. Open the dashboard and switch the language to English.
   2. Navigate to the Message page of any instance.
   3. The query-mode labels, placeholders, validation prompts and the trace 
diagnostics panel are still in Chinese.
   


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