Skip to content

[translator] Epic: translation style controls — glossary, tone & brand voice #142

Description

@SearheiParkhamchuk

Summary

Add first-class, structured control over how content is translated — a glossary, tone/voice, and protected (do-not-translate) terms — instead of relying only on a free-form system prompt.

Motivation

Comparable tools (e.g. Sanity AI Translations) expose brand-voice controls as structured, maintainable settings rather than prompt text:

  • a glossary of preferred/forbidden term translations per locale, with a do-not-translate flag;
  • a style guide for formality and tone/voice;
  • protected phrases the model must never translate (brand names, product names, set terms).

Today our plugin can only influence this through the system prompt, which is hard to maintain, not per-term, and not enforceable. This epic closes the most significant capability gap versus Sanity.

Scope (high-level — to be refined)

  • Glossary: preferred and forbidden translations per term, per target locale; a do-not-translate flag.
  • Tone / style: formality and voice guidance applied consistently to translation requests.
  • Protected terms/phrases: a hard constraint so listed terms are passed through untranslated.
  • Make these editable and maintainable (config and/or editor-facing) and feed them into the translation prompt automatically.
  • Consider hard (rule-based) vs soft (prompt-level) enforcement, and how quality is validated.

Notes

Priority: High. Details are intentionally high-level for now; sub-issues will follow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions