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

オープン
#142 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
typescript
領域
localization

調査の方向性

まず、#109 の async system-prompt builder と、issue で参照されている provider abstraction を読んでください。スコープは意図的に高レベルに保たれているため、実装を始める前に、この epic をまず、データモデル、適用戦略、エディターまたは設定のインターフェース、検証基準を定義する sub-issues に細分化する必要があります。

索引モデルが issue の本文から書いたものです。

説明

enhancement epic high priority translator

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

  • Data model, enforcement strategy and UX to be defined in follow-up sub-issues.
  • Relates to the async system-prompt builder (#109) and the provider abstraction.

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

主要言語
TypeScript
スター
34
フォーク
5
平均マージ
2日 4時間
マージ済み PR(30日)
41

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

focusreactive/payload-plugins のほかの issue

focusreactive/payload-plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。