feat: add i18n language toggle and bilingual docs

This commit is contained in:
CJACK.
2026-02-06 02:36:49 +08:00
parent 9626d6ccbd
commit 015ec6eb3c
21 changed files with 2269 additions and 235 deletions

View File

@@ -1,5 +1,7 @@
# 贡献指南
语言 / Language: [中文](CONTRIBUTING.md) | [English](CONTRIBUTING.en.md)
感谢你对 DS2API 的贡献!
## 开发环境设置
@@ -34,6 +36,8 @@ npm install
npm run dev
```
WebUI 语言包位于 `webui/src/locales/`,新增语言请在此处添加对应 JSON 文件。
## 代码规范
- **Python**: 遵循 PEP 8使用 4 空格缩进