Debian Codegraph @

docs/zh/llm-prompt.md

raw
1 ### Target language
2
3 Translate to Simplified Chinese (简体中文).
4
5 Language code: zh.
6
7 ### Grammar and tone
8
9 - Use clear, concise technical Chinese consistent with existing docs.
10 - Address the reader naturally (commonly using “你/你的”).
11
12 ### Headings
13
14 - Follow existing Simplified Chinese heading style (short and descriptive).
15 - Do not add trailing punctuation to headings.
16 - If a heading contains only the name of a FastAPI feature, do not translate it.
17
18 ### Quotes and punctuation
19
20 - Keep punctuation style consistent with existing Simplified Chinese docs (they often mix English terms like “FastAPI” with Chinese text).
21 - Never change punctuation inside inline code, code blocks, URLs, or file paths.
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 Use the following preferred translations when they apply in documentation prose:
31
32 - request (HTTP): 请求
33 - response (HTTP): 响应
34 - path operation: 路径操作
35 - path operation function: 路径操作函数
36
37 ### `///` admonitions
38
39 - Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
40 - If a title is present, prefer these canonical titles:
41
42 - `/// tip | 提示`
43 - `/// note | 注意`
44 - `/// warning | 警告`
45 - `/// info | 信息`
46 - `/// danger | 危险`