Description
When users switch to Traditional Chinese (繁體中文) in the KubeStellar UI, they experience a mixed-language interface where the sidebar navigation is in Chinese but the main dashboard content remains in English.
Evidence
- Sidebar (Chinese): 主要, 首頁, 管理, 管理叢集, 已暫存工作負載, etc.
- Dashboard (English): Dashboard, Total Clusters, Active Clusters, Binding Policies, etc.
Root Cause
The strings.zh-Hant.json locale file has only 185 lines (~5.6KB) while the English reference has 2,831 lines (~113KB).
| Locale File |
Lines |
Coverage |
| strings.en.json (reference) |
2,831 |
100% |
| strings.zh-Hans.json (Simplified) |
2,069 |
~73% |
| strings.zh-Hant.json (Traditional) |
185 |
~7% |
Missing Sections
common - Common UI strings
header - Header components
login - Login page
installationPage - Installation wizard
clusters - Cluster management (including dashboard)
- And many more...
Expected Behavior
When Traditional Chinese is selected, all UI elements should display in Chinese without falling back to English.
Solution
Add complete Traditional Chinese translations for all missing sections in frontend/src/locales/strings.zh-Hant.json.
Description
When users switch to Traditional Chinese (繁體中文) in the KubeStellar UI, they experience a mixed-language interface where the sidebar navigation is in Chinese but the main dashboard content remains in English.
Evidence
Root Cause
The
strings.zh-Hant.jsonlocale file has only 185 lines (~5.6KB) while the English reference has 2,831 lines (~113KB).Missing Sections
common- Common UI stringsheader- Header componentslogin- Login pageinstallationPage- Installation wizardclusters- Cluster management (including dashboard)Expected Behavior
When Traditional Chinese is selected, all UI elements should display in Chinese without falling back to English.
Solution
Add complete Traditional Chinese translations for all missing sections in
frontend/src/locales/strings.zh-Hant.json.