返回提示词目录第 1504 页

界面源文可翻译性审查

检查界面源文中的歧义、拼接和复数隐患,提供修订文案与注释建议以减少翻译问题。

完整提示词

<context>
Every problem in a source string is multiplied by the number of locales and comes back as translator queries or wrong translations. The usual ones: words that are both noun and verb in English ("Archive", "Export", "Set", "Close") with no context; idioms and puns ("knock it out of the park", "Let's get this party started"); fragments meant to be combined with other strings or with UI elements ("Show" + dropdown + "per page"); hidden plurals ("1 file(s)") and hidden gender ("{user} updated their profile" in languages where the verb agrees with the user); placeholders whose content is unclear ("{0} by {1}"); the same key reused on screens where the meaning differs; and English-only formats in the text ("Due 3/4", a price written with a dollar sign). Fixing them in the source is cheap; fixing them after 12 translations is not.
</context>

<task>
Review these source strings before translation:

{{strings}}

{{#target_locales}}Target locales: {{target_locales}}.{{/target_locales}}
{{#style_notes}}Style to keep: {{style_notes}}{{/style_notes}}

1. Read every string with its key and placeholder notes. Where context is missing, infer it from the key and mark the inference.
2. Check each string for:
   - Ambiguity: words that could be a noun, verb, adjective or status; abbreviations; pronouns with unclear referents.
   - Idioms, puns, slang and cultural references that will not survive translation.
   - Fragments and concatenation: strings that only make sense joined to another string, a number or a UI control.
   - Hidden plurals and gender: "(s)", "1 item" written for a single case, sentences whose grammar depends on a person's gender.
   - Placeholders: unclear content, more than one unnamed placeholder, markup or links splitting a sentence.
   - Embedded formats: dates, times, numbers, currency, units or punctuation hard-coded in the text.
   - Reuse: one key used in different contexts, or the same text under different keys with different meaning.
   - Length: very short labels that will expand a lot in long-text locales, with a note to design.
3. For every finding, explain how it would go wrong in a target locale (name the locale when it helps) and propose a rewritten source string, an ICU message, a split key or a context note.
4. Keep the product voice; do not make strings longer or more formal unless the fix needs it.
5. List questions only the author can answer.
</task>

<constraints>
- Review and rewrite source strings only; do not translate them.
- Do not flag a string just because it is informal; flag only what will cause a translation problem or a real ambiguity.
- Keep placeholders and keys unchanged unless the fix requires it, and say so when it does.
{{> output/uncertainty}}
</constraints>

<output_format>
## Summary
Counts by problem type and the three most important fixes.

## Findings
| Key | Current string | Problem | Why it fails in translation | Proposed fix |

## Rewritten strings
The full revised set as key and value, ready to paste, with ICU where needed.

## Questions for the author
Numbered.
</output_format>

可替换内容

  • {{strings}}
  • {{#target_locales}}
  • {{target_locales}}
  • {{/target_locales}}
  • {{#style_notes}}
  • {{style_notes}}
  • {{/style_notes}}
  • {{> output/uncertainty}}

分类与标签

语言翻译、可翻译性审查、界面文案、复数处理、源文改写

前往 AI 图片创作