[GH-ISSUE #525] [Feature]: Customize translator prompts for input and output #241

Closed
opened 2026-10-20 17:26:42 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/525

What problem does this solve?

The current translator configuration only exposes a single translation language. That makes multilingual workflows awkward when the user wants different translation directions for input and output.

Example from the reporter:

  • The user's native language is Language A.
  • The user wants the model's actual responses/output in Language B.
  • They set the translation language to Language A so they can understand translated output.
  • Automatic input translation then also tries to translate the user's messages into Language A, even though the user wants input translated into Language B so the model can understand/respond in that language.

This makes the existing translation setting counterproductive for users who need asymmetric input/output translation.

Proposed solution

Add separate customizable prompts for input translation and output translation.

The reporter suggested a structure similar to the current impersonation prompt system, where users can edit the prompt template directly and use placeholders/variables for the language portion. This would let users dynamically specify target languages for each direction instead of relying on one shared translation language setting.

A useful first slice might include:

  • Separate input translation and output translation prompt templates.
  • Placeholder support for target language values.
  • Defaults that preserve the current behavior when users do not customize the prompts.

Alternatives considered

A previous translator-related suggestion asked for a standard translator preset, configurable translator model settings such as temperature/top_p, and reasoning visibility during generation. That broader request was closed, with model sampler/reasoning changes rejected.

This request is narrower: it focuses on prompt customization and separate input/output translation behavior, not sampler controls or reasoning display.

Additional context

Reporter referenced Magic Translation for SillyTavern as an example of customizable translation prompts:

https://github.com/bmen25124/SillyTavern-Magic-Translation

Discord source:

https://discord.com/channels/1417099416812392641/1501958988806488198

Related prior suggestion summary from Discord:

  • Ability to add a standard preset for the translator.
  • Ability to change default model settings.
  • Ability to view reasoning during generation.

The attached screenshot in Discord showed Marinara's current impersonation settings with a prompt template field, built-in default display, preset selector, quick button toggle, connection selector, and skip agents toggle. The reporter suggested the translation prompt UX could follow a similar pattern.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/525 ## What problem does this solve? The current translator configuration only exposes a single translation language. That makes multilingual workflows awkward when the user wants different translation directions for input and output. Example from the reporter: - The user's native language is Language A. - The user wants the model's actual responses/output in Language B. - They set the translation language to Language A so they can understand translated output. - Automatic input translation then also tries to translate the user's messages into Language A, even though the user wants input translated into Language B so the model can understand/respond in that language. This makes the existing translation setting counterproductive for users who need asymmetric input/output translation. ## Proposed solution Add separate customizable prompts for input translation and output translation. The reporter suggested a structure similar to the current impersonation prompt system, where users can edit the prompt template directly and use placeholders/variables for the language portion. This would let users dynamically specify target languages for each direction instead of relying on one shared translation language setting. A useful first slice might include: - Separate input translation and output translation prompt templates. - Placeholder support for target language values. - Defaults that preserve the current behavior when users do not customize the prompts. ## Alternatives considered A previous translator-related suggestion asked for a standard translator preset, configurable translator model settings such as temperature/top_p, and reasoning visibility during generation. That broader request was closed, with model sampler/reasoning changes rejected. This request is narrower: it focuses on prompt customization and separate input/output translation behavior, not sampler controls or reasoning display. ## Additional context Reporter referenced Magic Translation for SillyTavern as an example of customizable translation prompts: https://github.com/bmen25124/SillyTavern-Magic-Translation Discord source: https://discord.com/channels/1417099416812392641/1501958988806488198 Related prior suggestion summary from Discord: - Ability to add a standard preset for the translator. - Ability to change default model settings. - Ability to view reasoning during generation. The attached screenshot in Discord showed Marinara's current impersonation settings with a prompt template field, built-in default display, preset selector, quick button toggle, connection selector, and skip agents toggle. The reporter suggested the translation prompt UX could follow a similar pattern. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:26:42 +07:00
Author
Owner

@cha1latte commented on GitHub (May 7, 2026):

Triage note: labeling this as scope-risk because the request fits an existing translation/chat workflow, but it adds separate direction-specific prompt templates and placeholder behavior that should be narrowed before implementation.

Least risky next step: define a first slice around separate input/output prompt templates with current-behavior defaults, leaving translator model sampler settings and reasoning visibility out of scope.

<!-- gh-comment-id:4399241940 --> @cha1latte commented on GitHub (May 7, 2026): Triage note: labeling this as `scope-risk` because the request fits an existing translation/chat workflow, but it adds separate direction-specific prompt templates and placeholder behavior that should be narrowed before implementation. Least risky next step: define a first slice around separate input/output prompt templates with current-behavior defaults, leaving translator model sampler settings and reasoning visibility out of scope.
Author
Owner

@SpicyMarinara commented on GitHub (May 10, 2026):

This can be achieved with prompting.

<!-- gh-comment-id:4414869820 --> @SpicyMarinara commented on GitHub (May 10, 2026): This can be achieved with prompting.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#241
No description provided.