[PR #4428] [CLOSED] [Localization - Chinese] Add Chinese prompt + Chinese script files, fix URL protocol header bug #5689

Closed
opened 2026-11-02 04:03:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/4428
Author: @xsdxq-null
Created: 5/16/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (10+)

📊 Changes

4 files changed (+4499 additions, -1 deletions)

View changed files

📝 README.zh_CN.md (+1 -1)
➕ install_zh_cn.sh (+1051 -0)
➕ update_zh_cn.sh (+991 -0)
➕ x-ui_zh_cn.sh (+2456 -0)

📄 Description

您好 MHSanaei 作者!

我是一名业余爱好者,非常喜欢您的 3x-ui 项目。
因为项目目前不支持中文,对英文不友好,所以我自己把面板提示信息翻译成了中文,方便使用。

本人技术有限,如果代码有不规范或问题,恳请谅解!

本次修改内容

  1. 增加面板中文化提示信息,将英文提示全部翻译为中文
  2. 新增 3 个中文脚本文件:
    • install_zh_cn.sh
    • update_zh_cn.sh
    • x-ui_zh_cn.sh

自测情况

已本地测试,中文显示正常,脚本运行正常,不影响原有英文版本使用。
测试代码:
bash <(curl -Ls https://raw.githubusercontent.com/xsdxq-null/3X-UI-CN/main/install_zh_cn.sh)

如果作者您赞成我的更改,麻烦后续更新项目时,请一并适配保留中文相关文件,非常感谢!🙏


Dear MHSanaei,

I am an amateur enthusiast and I really like your 3x-ui project.
Since the project does not support Chinese, I have translated all panel prompts into Chinese for easier use.

I am not a professional developer, so please forgive me if there are any issues with my code.

Changes

  1. Added Chinese localization prompts for the panel.
  2. Added 3 new Chinese scripts:
    • install_zh_cn.sh
    • update_zh_cn.sh
    • x-ui_zh_cn.sh

Test Status

All functions tested locally, works normally and does not affect the original English version.
This is the test code:
bash <(curl -Ls https://raw.githubusercontent.com/xsdxq-null/3X-UI-CN/main/install_zh_cn.sh)

If you approve these changes, please keep and support the Chinese files in future updates. Thank you very much!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/4428 **Author:** [@xsdxq-null](https://github.com/xsdxq-null) **Created:** 5/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`33b2c2a`](https://github.com/MHSanaei/3x-ui/commit/33b2c2aadf7558e3de13a3575405bcc4eecbf03e) 汉化版 - [`d4279ab`](https://github.com/MHSanaei/3x-ui/commit/d4279abff912c782ad9642500c7ede305ad75c70) Add files via upload - [`2287874`](https://github.com/MHSanaei/3x-ui/commit/2287874421fd81fa10674758e42aeff81065ed06) Update README.zh_CN.md - [`f9c32ef`](https://github.com/MHSanaei/3x-ui/commit/f9c32efaa82f05dc66c00e0c7c784c7069a4ae86) 更新引用 - [`bb11078`](https://github.com/MHSanaei/3x-ui/commit/bb11078ee17362a8a7aaeb2b2d527ef4d9fc411c) 更新 install_zh_cn.sh - [`300d7f3`](https://github.com/MHSanaei/3x-ui/commit/300d7f36d8108324941f6ef796fccdead5c93c38) 优化 菜单边框 - [`97ba26c`](https://github.com/MHSanaei/3x-ui/commit/97ba26cd161a6b0cf80f9857b8a4784e9226556c) 优化菜单边框 - [`9d6c333`](https://github.com/MHSanaei/3x-ui/commit/9d6c33394f80e3ce913e121371d84e33450d8aed) 优化菜单边框 - [`5e74cb0`](https://github.com/MHSanaei/3x-ui/commit/5e74cb0b3fb53a5085b6d4d1f9a011cf0145d3e2) 优化边框 - [`884457d`](https://github.com/MHSanaei/3x-ui/commit/884457dae6102433020d066c65a92c1438f7d686) 优化菜单边框 ### 📊 Changes **4 files changed** (+4499 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.zh_CN.md` (+1 -1) ➕ `install_zh_cn.sh` (+1051 -0) ➕ `update_zh_cn.sh` (+991 -0) ➕ `x-ui_zh_cn.sh` (+2456 -0) </details> ### 📄 Description 您好 **MHSanaei** 作者! 我是一名业余爱好者,非常喜欢您的 **3x-ui** 项目。 因为项目目前不支持中文,对英文不友好,所以我自己把面板提示信息翻译成了中文,方便使用。 本人技术有限,如果代码有不规范或问题,恳请谅解! ### 本次修改内容 1. **增加面板中文化提示信息**,将英文提示全部翻译为中文 2. **新增 3 个中文脚本文件**: - `install_zh_cn.sh` - `update_zh_cn.sh` - `x-ui_zh_cn.sh` ### 自测情况 已本地测试,中文显示正常,脚本运行正常,不影响原有英文版本使用。 测试代码: `bash <(curl -Ls https://raw.githubusercontent.com/xsdxq-null/3X-UI-CN/main/install_zh_cn.sh)` 如果作者您赞成我的更改,麻烦后续更新项目时,**请一并适配保留中文相关文件**,非常感谢!🙏 --- Dear **MHSanaei**, I am an amateur enthusiast and I really like your **3x-ui** project. Since the project does not support Chinese, I have translated all panel prompts into Chinese for easier use. I am not a professional developer, so please forgive me if there are any issues with my code. ### Changes 1. **Added Chinese localization prompts** for the panel. 2. **Added 3 new Chinese scripts**: - `install_zh_cn.sh` - `update_zh_cn.sh` - `x-ui_zh_cn.sh` ### Test Status All functions tested locally, works normally and does not affect the original English version. This is the test code: `bash <(curl -Ls https://raw.githubusercontent.com/xsdxq-null/3X-UI-CN/main/install_zh_cn.sh)` If you approve these changes, please **keep and support the Chinese files in future updates**. Thank you very much! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5689
No description provided.