---
title: "參與翻譯"
description: "Calends 介面文案的存放位置、如何改進現有翻譯或新增一種語言。"
lang: "zh-HK"
version: "1.84.0"
url: "https://docs.calends.date/zh-hk/self-host/translate/"
markdown_url: "https://docs.calends.date/zh-hk/self-host/translate.md"
section: "自託管"
llms_index: "https://docs.calends.date/llms.txt"
llms_full: "https://docs.calends.date/llms-full.txt"
agents_guide: "https://calends.date/AGENTS.md"
---

# 參與翻譯

> Calends 介面文案的存放位置、如何改進現有翻譯或新增一種語言。

- Canonical page: https://docs.calends.date/zh-hk/self-host/translate/
- Markdown source: https://docs.calends.date/zh-hk/self-host/translate.md
- Calends version: v1.84.0

改進介面翻譯或新增語言時，請依本頁維護語言檔案、佔位符與產生檢查。

Calends 介面目前支援 14 種語言：English、简体中文、繁體中文（台灣）、繁體中文（香港）、日本語、한국어、Español、Français、Deutsch、Português (Brasil)、Русский、Türkçe、Bahasa Indonesia、Tiếng Việt。另設 English (Australia)（`en-AU`）地區選項，沿用英文文案並保留澳洲日期與數字格式，不設獨立文案目錄。英文與簡體中文為源語言。

## 文案在哪裡

```text
shared/locales/<語言代碼>/<命名空間>.json
```

每種語言各自一個目錄，按模組拆分成若干巢狀 JSON 檔案（`settings.json`、`report.json`、`notify.json` 等）。同一份文案亦用於提醒訊息與 MCP 傳回文字。

規則：

- `{name}`、`{count}` 這類佔位符必須原樣保留。
- 複數採用 CLDR 類別：`{ "one": "...", "other": "..." }`。俄語另含 `few`、`many`；中文、日語、韓語、印尼語、越南語僅使用 `other`。

## 改進現有翻譯

1. 編輯對應語言目錄下的 JSON 檔案；
2. 執行 `npm run i18n:check`，確認沒有缺漏或多餘的鍵；
3. 提交 Pull Request。

機器翻譯的初稿同樣歡迎，若經母語者校對更佳。

## 新增一種語言

1. 複製 `shared/locales/en` 為新的語言目錄並翻譯；
2. 將該語言加入 `shared/i18n.ts` 的 `LOCALES`；
3. 複製一個現有的 `app/src/locales/<代碼>.ts`，把 JSON 匯入路徑改為新語言目錄；
4. 執行 `npm run i18n` 產生檔案，再執行 `npm run i18n:check`。

## 這份文件

文件站（`docs.calends.date`）與官網同步提供全部 14 種語言，簡體中文位於根路徑，其餘語言位於對應子路徑（例如 `/en/`、`/zh-tw/`、`/zh-hk/`、`/ja/`）。可在頁首右上角的語言選擇器切換。

---

## Related Pages & Global AI Discovery

To explore broader context beyond this page, fetch any of the Markdown or plain-text resources below directly:

### Same Section (自託管)
- [Cloudflare Workers + D1](https://docs.calends.date/zh-hk/self-host/cloudflare.md)
- [Docker](https://docs.calends.date/zh-hk/self-host/docker.md)
- [設定項](https://docs.calends.date/zh-hk/self-host/config.md)
- [自訂域名與 HTTPS](https://docs.calends.date/zh-hk/self-host/custom-domain.md)
- [升級](https://docs.calends.date/zh-hk/self-host/upgrade.md)
- [本機開發](https://docs.calends.date/zh-hk/self-host/development.md)
- [參與翻譯](https://docs.calends.date/zh-hk/self-host/translate.md) *(current)*

### Reading Order
- Previous: [本機開發](https://docs.calends.date/zh-hk/self-host/development.md)

### Global Calends Resources
- Read-only Docs MCP Server (zero auth Streamable HTTP): https://docs.calends.date/mcp
- Complete Docs Index (all 37 topics with `.md` links): https://docs.calends.date/llms.txt
- Complete English Docs Bundle (single file): https://docs.calends.date/llms-full.txt
- Complete Simplified Chinese Docs Bundle: https://docs.calends.date/llms-zh.txt
- Docs AI Agent Guide: https://docs.calends.date/AGENTS.md
- Product Website Overview (Markdown): https://calends.date/zh-hk/index.md
- Product LLMs Index & Full Reference: https://calends.date/llms.txt | https://calends.date/llms-full.txt
- Deployment & MCP Agent Guide (AGENTS.md): https://calends.date/AGENTS.md
- FAQ & Calends vs Wallos Comparison (Markdown): https://calends.date/en/faq.md | https://calends.date/en/compare.md
- Complete Changelog (Markdown): https://calends.date/en/releases.md
