Forcodesnippetsorfragments,surroundedbybackticks(`),don't translate the content, keep the original in English. For example, `list`, `dict`, keep them as is.
Thecontentiswritteninmarkdown,writethetranslationinmarkdownaswell.Don't add triple backticks (`) around the generated translation content.
@ -128,7 +130,8 @@ def translate_page(
[
"There's an existing previous translation for this content that is probably outdated with old content or old instructions.",
"Update the translation given your current instructions and the original content.",
"If you have instructions to translate specific terms or phrases in a specific way, please follow those instructions instead of keeping the old and outdated content.",
"If a sentence or paragraph in the previous translation is not incorrect, keep it as is. A literal translation is not required — different wording is acceptable. ",
"Avoid making unnecessary changes to minimize the diff between the previous and updated translations. A line counts as updated if at least one character on that line has changed.",