Skip to content

[i18n] Incomplete Traditional Chinese (zh-Hant) translations cause mixed-language UI #2346

@zyzzmohit

Description

@zyzzmohit

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.

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions