[GH-ISSUE #3965] [Issue]: Support separate customizable translation prompts #2144

Closed
opened 2026-10-21 05:45:44 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3965

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Allow users to configure separate prompts for input and output translation, including placeholders for dynamically specified target languages.

Expected behavior

Users can independently configure input translation to target the model's language and output translation to target the user's native language. Both translation prompts should be directly customizable and support language placeholders or variables.

Actual behavior

Only one translation language can be configured. This language is applied to both input and output translation, causing input messages to be translated into the user's native language instead of the model's desired output language.

Steps to reproduce

  1. Use a multilingual workflow where the user's native language is Language A and the model should respond in Language B.
  2. Set the translation language to Language A so model output is translated for the user.
  3. Enable automatic input translation.
  4. Observe that user input is also translated into Language A rather than Language B.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Chrome

Logs, screenshots, or video

Attached screenshot: https://cdn.discordapp.com/attachments/1501977580763615312/1501977581170331698/Screenshot_20260508_005222_Chrome.jpg?ex=6a62e3e0&is=6a619260&hm=037189eff52484bfb8cdd206e42c5247230372e306c21480ceffb6b9f3ec5477&

Additional context

Suggested behavior is similar to the current impersonation prompt system and the SillyTavern Magic Translation extension: https://github.com/bmen25124/SillyTavern-Magic-Translation. A previous Discord suggestion also discussed customizable translation prompts: https://discord.com/channels/1417099416812392641/1494004487759859854. Marinara stated that these options will be added to the translation section of chat settings.

Discord thread: Customize prompts for translator
Discord thread link: https://discord.com/channels/1417099416812392641/1501977580763615312
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-05-07T16:02:40.648Z] salnegyeron: It would be great if users could customize the prompts used for translation, similar to the Magic Translation extension for SillyTavern. https://github.com/bmen25124/SillyTavern-Magic-Translation

Right now, only a single “translation language” can be configured, and I think this creates a limitation in multilingual workflows.

For example:

My native language is Language A.

I want the model’s actual responses/output in Language B.


In this situation, I set the translation language to A so I can understand the translated output. However, this also means the automatic input translation tries to translate my messages into A as well, because the system only has one language setting. That becomes counterproductive, since I actually want my input translated into B to help the model understand me better.

Because of this, I think it would be much more flexible if:

Input translation and output translation could use separate prompts.

Users could customize those prompts directly.

The language portion could use placeholders/variables, so users can dynamically specify target languages.


Personally, I think a structure similar to the current impersonation prompt system would work really well for this.

I know there were previous suggestions related to customizable translation prompts (https://discord.com/channels/1417099416812392641/1494004487759859854), but since it doesn’t seem to have been implemented, I wanted to share my perspective as another use case.
GitHub - bmen25124/SillyTavern-Magic-Translation: A SillyTavern ext...
A SillyTavern extension that translates chat with your favorite LLM. - bmen25124/SillyTavern-Magic-Translation

[attached image 1: https://cdn.discordapp.com/attachments/1501977580763615312/1501977581170331698/Screenshot_20260508_005222_Chrome.jpg?ex=6a62e3e0&is=6a619260&hm=037189eff52484bfb8cdd206e42c5247230372e306c21480ceffb6b9f3ec5477&]
[Discord message: https://discord.com/channels/1417099416812392641/1501977580763615312/1501977580763615312]

[2026-07-23T07:55:39.399Z] Marinara: I will add those to the translation section of chat settings.
[Discord message: https://discord.com/channels/1417099416812392641/1501977580763615312/1529758883612987452]

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 @SpicyMarinara on GitHub (Jul 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3965 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Allow users to configure separate prompts for input and output translation, including placeholders for dynamically specified target languages. ## Expected behavior Users can independently configure input translation to target the model's language and output translation to target the user's native language. Both translation prompts should be directly customizable and support language placeholders or variables. ## Actual behavior Only one translation language can be configured. This language is applied to both input and output translation, causing input messages to be translated into the user's native language instead of the model's desired output language. ## Steps to reproduce 1. Use a multilingual workflow where the user's native language is Language A and the model should respond in Language B. 2. Set the translation language to Language A so model output is translated for the user. 3. Enable automatic input translation. 4. Observe that user input is also translated into Language A rather than Language B. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Chrome ## Logs, screenshots, or video Attached screenshot: https://cdn.discordapp.com/attachments/1501977580763615312/1501977581170331698/Screenshot_20260508_005222_Chrome.jpg?ex=6a62e3e0&is=6a619260&hm=037189eff52484bfb8cdd206e42c5247230372e306c21480ceffb6b9f3ec5477& ## Additional context Suggested behavior is similar to the current impersonation prompt system and the SillyTavern Magic Translation extension: https://github.com/bmen25124/SillyTavern-Magic-Translation. A previous Discord suggestion also discussed customizable translation prompts: https://discord.com/channels/1417099416812392641/1494004487759859854. Marinara stated that these options will be added to the translation section of chat settings. Discord thread: Customize prompts for translator Discord thread link: https://discord.com/channels/1417099416812392641/1501977580763615312 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-05-07T16:02:40.648Z] salnegyeron: It would be great if users could customize the prompts used for translation, similar to the Magic Translation extension for SillyTavern. https://github.com/bmen25124/SillyTavern-Magic-Translation Right now, only a single “translation language” can be configured, and I think this creates a limitation in multilingual workflows. For example: My native language is Language A. I want the model’s actual responses/output in Language B. In this situation, I set the translation language to A so I can understand the translated output. However, this also means the automatic input translation tries to translate my messages into A as well, because the system only has one language setting. That becomes counterproductive, since I actually want my input translated into B to help the model understand me better. Because of this, I think it would be much more flexible if: Input translation and output translation could use separate prompts. Users could customize those prompts directly. The language portion could use placeholders/variables, so users can dynamically specify target languages. Personally, I think a structure similar to the current impersonation prompt system would work really well for this. I know there were previous suggestions related to customizable translation prompts (https://discord.com/channels/1417099416812392641/1494004487759859854), but since it doesn’t seem to have been implemented, I wanted to share my perspective as another use case. GitHub - bmen25124/SillyTavern-Magic-Translation: A SillyTavern ext... A SillyTavern extension that translates chat with your favorite LLM. - bmen25124/SillyTavern-Magic-Translation [attached image 1: https://cdn.discordapp.com/attachments/1501977580763615312/1501977581170331698/Screenshot_20260508_005222_Chrome.jpg?ex=6a62e3e0&is=6a619260&hm=037189eff52484bfb8cdd206e42c5247230372e306c21480ceffb6b9f3ec5477&] [Discord message: https://discord.com/channels/1417099416812392641/1501977580763615312/1501977580763615312] [2026-07-23T07:55:39.399Z] Marinara: I will add those to the translation section of chat settings. [Discord message: https://discord.com/channels/1417099416812392641/1501977580763615312/1529758883612987452] ``` </details> ## 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-21 05:45:44 +07:00
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#2144
No description provided.