mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #6202] [MERGED] fix(i18n): localize Chinese Xray labels #6163
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6202
Author: @nrps9909
Created: 8/11/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @MHSanaei
Base:
main← Head:codex/localize-zh-tw-xray-labels📝 Commits (3)
3fd7530fix(i18n): localize Traditional Chinese Xray labelsc4d5b06Merge branch 'main' into codex/localize-zh-tw-xray-labels273fa88fix(i18n): localize Simplified Chinese Xray labels📊 Changes
2 files changed (+17 additions, -17 deletions)
View changed files
📝
internal/web/translation/zh-CN.json(+8 -8)📝
internal/web/translation/zh-TW.json(+9 -9)📄 Description
Summary
Localize Xray UI labels that still displayed English in the Traditional and Simplified Chinese interfaces:
The existing Simplified Chinese Hosts navigation label was already localized, so the follow-up adds the other eight corresponding zh-CN strings without changing it.
Why
These values were copied from the English locale, leaving visible English fallback text across otherwise translated Xray screens. The translations retain established protocol and product names while localizing the surrounding UI terminology.
Type of change
Areas affected
How was this tested?
Screenshots / recordings
Not included: this is a string-only locale update with no layout or behavior change.
Breaking changes
None.
Checklist
AI assistance
Codex traced the runtime call sites, drafted the locale updates, checked key and placeholder parity, and ran the listed validation. The scope and verification results are disclosed here for maintainer review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.