Debian Codegraph @

docs/zh-hant/llm-prompt.md

raw
1 ### Target language
2
3 Translate to Traditional Chinese (繁體中文).
4
5 Language code: zh-hant.
6
7 ### Grammar and tone
8
9 - Use clear, concise technical Traditional Chinese consistent with existing docs.
10 - Address the reader naturally (commonly using “你/你的”).
11
12 ### Headings
13
14 - Follow existing Traditional Chinese heading style (short and descriptive).
15 - Do not add trailing punctuation to headings.
16
17 ### Quotes and punctuation
18
19 - Keep punctuation style consistent with existing Traditional Chinese docs (they often mix English terms like “FastAPI” with Chinese text).
20 - Never change punctuation inside inline code, code blocks, URLs, or file paths.
21 - For more details, please follow the [Chinese Copywriting Guidelines](https://github.com/sparanoid/chinese-copywriting-guidelines).
22
23 ### Ellipsis
24
25 - Keep ellipsis style consistent within each document, prefer `...` over `……`.
26 - Never change ellipsis in code, URLs, or CLI examples.
27
28 ### Preferred translations / glossary
29
30 - Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
31 - For some Python-specific terms like "pickle", "list", "dict" etc, we don't have to translate them.
32 - Use the following preferred translations when they apply in documentation prose:
33
34 - request (HTTP): 請求
35 - response (HTTP): 回應
36 - path operation: 路徑操作
37 - path operation function: 路徑操作函式
38
39 The translation can optionally include the original English text only in the first occurrence of each page (e.g. "路徑操作 (path operation)") if the translation is hard to be comprehended by most of the Chinese readers.
40
41 ### `///` admonitions
42
43 1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
44 2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK.
45 3) If a generic title is present, prefer these canonical titles:
46
47 - `/// note | 注意`
48
49 Notes:
50
51 - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`.
52 - Example canonical titles used in existing docs:
53
54 ```
55 /// details | 上述指令的含義
56 ```
57
58 ```
59 /// details | 關於 `requirements.txt`
60 ```