[PR #5] [MERGED] Add command line option to toggle automatic translation #5

Closed
opened 2026-10-15 18:06:04 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/SillyTavern-i18n/pull/5
Author: @Yokayo
Created: 6/9/2024
Status: ✅ Merged
Merged: 6/9/2024
Merged by: @Cohee1207

Base: main ← Head: main


📝 Commits (2)

  • 68af4dc Add option to not translate newly inserted entries automatically
  • 5c0ef0f Describe --auto-translate

📊 Changes

2 files changed (+24 additions, -13 deletions)

View changed files

📝 README.md (+2 -1)
📝 generate.py (+22 -12)

📄 Description

Added --auto-translate argument. The default is False.
When the option is enabled, the script works as it did.
When it's disabled, newly inserted entries generated by the script are left untranslated, so the json lines will contain the original English text.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/SillyTavern-i18n/pull/5 **Author:** [@Yokayo](https://github.com/Yokayo) **Created:** 6/9/2024 **Status:** ✅ Merged **Merged:** 6/9/2024 **Merged by:** [@Cohee1207](https://github.com/Cohee1207) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`68af4dc`](https://github.com/SillyTavern/SillyTavern-i18n/commit/68af4dc412f625a119b5f8bd6a3c5337808f29b4) Add option to not translate newly inserted entries automatically - [`5c0ef0f`](https://github.com/SillyTavern/SillyTavern-i18n/commit/5c0ef0f7dedbc2cd34b8adcd7287d32ad39c3b65) Describe --auto-translate ### 📊 Changes **2 files changed** (+24 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -1) 📝 `generate.py` (+22 -12) </details> ### 📄 Description Added --auto-translate argument. The default is False. When the option is enabled, the script works as it did. When it's disabled, newly inserted entries generated by the script are left untranslated, so the json lines will contain the original English text. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 18:06:04 +00:00
Sign in to join this conversation.
No labels
pull-request
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
SillyTavern/SillyTavern-i18n#5
No description provided.