`.
+
+ - **Component Attributes**: Translate the string values of component attributes.
+ For example, in ``, you must translate "Related
+ Resources".
+
+
+ #### B. WHAT TO PRESERVE (DO NOT TRANSLATE):
+
+ - **All Other Frontmatter Fields**: **Do not** translate the values of
+ other fields like `slug`, `description`, `icon`, etc., inside the `---`
+ block.
+
+ - **Code Blocks & Inline Code**: **Do not** translate any content inside
+ triple backticks (```` ``` ````) or single backticks (` `). This includes
+ code examples and commands.
+
+ - **Tags and Components**: **Do not** translate the names of MDX/JSX components
+ or HTML tags themselves (e.g., ``, ``, ``).
+
+ - **Component Attribute Names**: **Do not** translate the names of attributes
+ (e.g., the word `title` in `title="..."`).
+
+ - **JSX-style Comments**: Preserve JSX comments exactly as they are: `{/*
+ This is a comment */}`.
+
+ - **Placeholders & Variables**: **Do not** translate any text inside placeholders
+ (e.g., `{{VARIABLE_NAME}}`, `%s`).
+
+ - **URLs and File Paths**: Preserve all URLs and file paths. In Markdown
+ links like `[display text](url)`, only translate the `display text`.
+
+
+ ### Rule 3: Professional Translation Quality
+
+ For all translatable text not covered by the glossary, provide an accurate,
+ clear, and natural-sounding translation appropriate for a professional,
+ technical audience in {{ output_language1 }}.
+
+
+ ***
+
+
+ # Task Execution
+
+ Proceed with the translation of the **Source Text** from **{{ original_language
+ }}** to **{{ output_language1 }}**.
+
+
+ Ensure your output strictly follows all rules defined above, paying special
+ attention to these critical requirements:
+
+ - **Mandatory Glossary Usage**
+
+ - **MDX Frontmatter & Component Integrity**
+
+ - **Preservation of Code and Placeholders**
+
+ - **Output content directly, do not use any wrapper such as ''```mdx'' **
+
+
+
+ Provide only the final, translated MDX text as your response.
+
+ '
+ title: Translate prompt 1
+ type: template-transform
+ variables:
+ - value_selector:
+ - '1752646788391'
+ - original_language
+ variable: original_language
+ - value_selector:
+ - '1752646788391'
+ - output_language1
+ variable: output_language1
+ - value_selector:
+ - '1752646788391'
+ - termbase
+ variable: termbase
+ - value_selector:
+ - '1752646788391'
+ - the_doc
+ variable: the_doc
+ height: 52
+ id: '1752651231563'
+ position:
+ x: 333
+ y: 283
+ positionAbsolute:
+ x: 333
+ y: 283
+ selected: true
+ sourcePosition: right
+ targetPosition: left
+ type: custom
+ width: 243
+ - data:
+ desc: ''
+ selected: false
+ template: '
+
+
+ {{ termbase }}
+
+
+
+
+
+ ------------
+
+
+ ------------
+
+
+
+
+
+ {{ the_doc }}
+
+
+
+
+
+ ------------
+
+
+ ------------
+
+
+
+
+
+ {{ text }}
+
+
+
+
+ '
+ title: Check prompt 1
+ type: template-transform
+ variables:
+ - value_selector:
+ - '1752646788391'
+ - the_doc
+ variable: the_doc
+ - value_selector:
+ - '1752646788391'
+ - termbase
+ variable: termbase
+ - value_selector:
+ - '1752648440981'
+ - text
+ variable: text
+ height: 52
+ id: '1752651466443'
+ position:
+ x: 939
+ y: 283
+ positionAbsolute:
+ x: 939
+ y: 283
+ selected: false
+ sourcePosition: right
+ targetPosition: left
+ type: custom
+ width: 243
+ - data:
+ context:
+ enabled: false
+ variable_selector: []
+ default_value:
+ - key: text
+ type: string
+ value: CheckFail
+ desc: ''
+ error_strategy: default-value
+ model:
+ completion_params: {}
+ mode: chat
+ name: gpt-4o-mini
+ provider: langgenius/openai/openai
+ prompt_template:
+ - id: f2c1bc20-e35f-409e-9d17-bd75217f7edb
+ role: system
+ text: ''
+ - id: a1253770-1afc-4367-841f-22c735b5f0d9
+ role: user
+ text: "# Role Definition\nYou are an AI Quality Assurance agent, specializing\
+ \ in meticulously auditing translated technical MDX documents.\n\n# Context\n\
+ You will be provided with three pieces of information:\n1. ``:\
+ \ A mandatory glossary of terms.\n2. ``: The original\
+ \ document before translation.\n3. ``: The final\
+ \ translated document that you must audit.\n\n{{#1752651466443.output#}}\n\
+ \n# Audit Instructions\nYour task is to compare the ``\
+ \ against the ``, strictly following the rules below.\
+ \ Your goal is to identify any deviations or errors in the translation.\n\
+ \n1. **Glossary Adherence**: Verify that every term from the ``\
+ \ was translated exactly as specified in the ``.\n\
+ 2. **Structural Integrity**: Confirm that the MDX structure is perfectly\
+ \ preserved.\n - **Frontmatter**: Check that ONLY the `title` field\
+ \ was translated. All other fields (`slug`, `description`, `icon`, etc.)\
+ \ must be untouched.\n - **Code & Placeholders**: Ensure that all\
+ \ content inside code blocks (```` ``` ````), inline code (` `), and placeholders\
+ \ (`{{...}}`) is completely untranslated.\n - **Components & Tags**:\
+ \ Verify that all MDX/HTML tags (e.g., ``, ``) and JSX comments\
+ \ (`{/*...* /}`) are preserved without modification.\n3. **Translation\
+ \ Quality**: Assess if the general, non-glossary text in ``\
+ \ is accurate, fluent, and professional, without grammatical errors, when\
+ \ compared to the ``.\n\n# Output Specification\nYour\
+ \ output must contain exactly two parts: `result` and `reason`.\n\n1.\
+ \ **`result`**:\n Provide the final verdict. The `result` **must be\
+ \ one of these three exact values**:\n - `Perfect`\n - `Approved\
+ \ with Minor Issues`\n - `Requires Human Review`\n\n2. **`reason`**:\n\
+ \ Provide a concise but detailed explanation for your verdict.\n \
+ \ - If the result is `Perfect`, state that all checks passed.\n \
+ \ - If you find any errors (`Approved with Minor Issues` or `Requires\
+ \ Human Review`), you **MUST cite specific examples** from the text to\
+ \ support your findings. For instance, point out the incorrect term, the\
+ \ translated code, or the awkward sentence.\n\n# Task Execution\nAnalyze\
+ \ the provided content now and generate your response in the specified\
+ \ two-part format."
+ selected: false
+ structured_output:
+ schema:
+ properties:
+ reason:
+ description: Provide a concise but detailed explanation for your verdict. - If
+ the result is `Perfect`, state that all checks passed. - If
+ you find any errors (`Approved with Minor Issues` or `Requires Human
+ Review`), you **MUST cite specific examples** from the text to support
+ your findings. For instance, point out the incorrect term, the translated
+ code, or the awkward sentence.
+ maxLength: 500
+ type: string
+ result:
+ description: ' Provide the final verdict. The `result` **must be
+ one of these three exact values**: - `Perfect` - `Approved
+ with Minor Issues` - `Requires Human Review`'
+ enum:
+ - Perfect
+ - ApprovedwithMinorIssues
+ - RequiresHumanReview
+ type: string
+ required:
+ - result
+ - reason
+ type: object
+ structured_output_enabled: true
+ title: Check 1
+ type: llm
+ variables: []
+ vision:
+ enabled: false
+ height: 124
+ id: '1752653558819'
+ position:
+ x: 1242
+ y: 283
+ positionAbsolute:
+ x: 1242
+ y: 283
+ selected: false
+ sourcePosition: right
+ targetPosition: left
+ type: custom
+ width: 243
+ - data:
+ desc: ''
+ outputs:
+ - value_selector:
+ - '1752648440981'
+ - text
+ value_type: string
+ variable: output1
+ - value_selector:
+ - '17526572823780'
+ - output
+ value_type: string
+ variable: result_summary
+ selected: false
+ title: End (1)
+ type: end
+ height: 114
+ id: '17526564523360'
+ position:
+ x: 1848
+ y: 283
+ positionAbsolute:
+ x: 1848
+ y: 283
+ selected: false
+ sourcePosition: right
+ targetPosition: left
+ type: custom
+ width: 243
+ - data:
+ desc: ''
+ selected: false
+ template: 'Translate results: {{ output_language1 }} - {{ result }}.
+
+
+ See the Dify log for details if needed.'
+ title: Check Result 1
+ type: template-transform
+ variables:
+ - value_selector:
+ - '1752646788391'
+ - output_language1
+ variable: output_language1
+ - value_selector:
+ - '1752653558819'
+ - structured_output
+ - result
+ variable: result
+ height: 52
+ id: '17526572823780'
+ position:
+ x: 1545
+ y: 283
+ positionAbsolute:
+ x: 1545
+ y: 283
+ selected: false
+ sourcePosition: right
+ targetPosition: left
+ type: custom
+ width: 243
+ viewport:
+ x: 268
+ y: 99
+ zoom: 0.7