惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
I
InfoQ
博客园_首页
G
Google Developers Blog
爱范儿
爱范儿
Last Week in AI
Last Week in AI
量子位
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
月光博客
月光博客
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

运维开发绿皮书

OBS虚拟摄像头重命名 Ubuntu备份为LiveOS 使用Powershell卸载windows默认程序 Cisco路由器OSPF配置 汽车的分类和特点 Windows11跳过TPM2.0 HTTPS 双向认证与 USB 加密锁配置实战 SSL 证书工具 字数统计 BMI 计算 颜色转换 Hash 生成器 JSON 格式化 JWT 解码 房贷计算 时间戳转换 URL 编码 UUID 生成 牛马时钟 二维码批量生成器 CKS Simulator Kubernetes 1.25 FRP TOTP验证码生成器 direct-ssh-passthrough-nat 脚本使用说明 Python软件授权 Linux命令行百度网盘 为 Containerd 配置 Harbor 无证书镜像站 Docker一键部署Meta和MetacubexD面板 必应搜索屏蔽垃圾网站 VMware的ubuntu完整安装vm-tools支持粘贴板
aapanel 7.x 中文语言配置指南
Paper-Dragon · 2025-03-04 · via 运维开发绿皮书

aapanel 7.x 中文语言配置指南

准备工作

1. 版本要求

✅ 官方支持版本:7.0.10+

2. 配置文件路径

/www/server/panel/BTPanel/languages/settings.json

配置步骤

1. 备份配置文件

cp /www/server/panel/BTPanel/languages/settings.json{,.bak}

2. 编辑配置文件

vim /www/server/panel/BTPanel/languages/settings.json

3. 添加中文配置

languages数组首项插入:

    "languages": [
        {
            "name": "zh",
            "google": "zh",
            "title": "\u7b80\u4f53\u4e2d\u6587",
            "cn": "\u7b80\u4f53\u4e2d\u6587"
        },
      ...
      ]

4. 重启面板服务

全文参考

cat /www/server/panel/BTPanel/languages/settings.json
{
    "default": "zh",
    "languages": [
        {
            "name": "zh",
            "google": "zh",
            "title": "\u7b80\u4f53\u4e2d\u6587",
            "cn": "\u7b80\u4f53\u4e2d\u6587"
        },
        {
            "name": "cht",
            "google": "zh-tw",
            "title": "\u7e41\u9ad4\u4e2d\u6587",
            "cn": "\u7e41\u9ad4\u4e2d\u6587"
        },
        {
            "name": "en",
            "google": "en",
            "title": "English",
            "cn": "\u82f1\u8bed"
        },
        {
            "name": "de",
            "google": "de",
            "title": "Deutsch",
            "cn": "\u5fb7\u8bed"
        },
        {
            "name": "fra",
            "google": "fr",
            "title": "Fran\u00e7ais",
            "cn": "\u6cd5\u8bed"
        },
        {
            "name": "spa",
            "google": "es",
            "title": "Espa\u00f1ol",
            "cn": "\u897f\u73ed\u7259\u8bed"
        },
        {
            "name": "pt",
            "google": "pt",
            "title": "Portugu\u00eas",
            "cn": "\u8461\u8404\u7259\u8bed"
        }
    ]
}

更新日志

  • 95adf-aapanel 7.x 中文语言配置指南