@@ -8,27 +8,28 @@ For document-relevant technical terms, ALWAYS use: **中文翻译(英文名词
88- Apply consistently throughout the entire document
99- Use Chinese full-width parentheses()
1010
11- ## Content Processing Rules
11+ ## Step-by-Step Translation Instructions:
1212
13- ### 1. YAML Frontmatter (--- ---)
13+ ### 1. Process YAML Frontmatter (--- ---)
1414- Translate: `title:`, `description:`, `sidebar_label:` values
1515- Keep: All field names and YAML structure unchanged
1616
17- ### 2. _category_.json Files
17+ ### 2. Process _category_.json Files
1818- Translate: Only the values (e.g., `"label": "查询(Query)"`)
1919- Keep: All keys and JSON structure unchanged
2020
21- ### 3. Code Blocks (``` ```)
22- - **ASCII Art/Diagrams**: Keep completely unchanged to preserve visual layout
23- - **SQL Comments**: Only translate comments marked with `--`
24- - **All Other Code**: Keep unchanged (syntax, commands, outputs, etc.)
25- - **Visual Elements**: Never translate any ASCII characters, symbols, or structured layouts
21+ ### 3. Identify Code Blocks
22+ - Locate all sections within triple backticks (``` ```) that denote code blocks
2623
27- ### 4. LANG_REPLACE Comments
24+ ### 4. Translate SQL Comments Only
25+ - Within these identified code blocks, only translate SQL comments marked by `--`
26+ - Leave all other content unchanged, especially ASCII art, diagrams, or any structurally formatted content, to preserve the visual layout
27+
28+ ### 5. Process LANG_REPLACE Comments
2829- Replace with Chinese version specified after `cn=`
2930- Remove the comment block from output
3031
31- ### 5. Regular Text
32+ ### 6. Translate Regular Text
3233- Translate completely to Chinese
3334- Apply technical term format to relevant terms
3435- Preserve all Markdown structure, HTML tags, links, line breaks
@@ -49,6 +50,7 @@ For document-relevant technical terms, ALWAYS use: **中文翻译(英文名词
4950- Storage: `索引(Index)`, `分区(Partition)`, `压缩(Compression)`
5051- Operations: `查询(Query)`, `事务(Transaction)`, `视图(View)`
5152- Data Types: `可变字符(VARCHAR)`, `整数(INTEGER)`
53+ - Joins: `内连接(Inner Join)`, `左连接(Left Join)`
5254
5355### Translation Examples:
5456**YAML:**
0 commit comments