Skip to content

Releases: tomy6764kuma/Bethesda-AI-Translator

Bethesda AI Translator v1.0.8

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 12 Oct 01:46

Added (新規追加)

  • 3-Way Prompt Specialization (Protagonist, Dialogue, General): Split the custom system prompt into three dedicated categories to eliminate misgendering and tone confusion:
    1. Protagonist's Lines (Choices · Protagonist Lines): Optimized for player choices and protagonist voice. Define first-person pronouns and style suited for your character's gender/personality (e.g., female protagonist).
    2. Lines Addressed to Protagonist (NPC dialogues): Optimized for NPC dialogues directed at the player. Specify how NPCs should address the player (e.g., "lady/miss" vs "sir") alongside individual NPC tone profiles.
    3. Everything Else (Books, Items, and Systems): Neutral, immersive rules for non-dialogue records (books, item names, perk descriptions, and UI messages).
      During translation, texts are automatically categorized and sent to the AI with only their respective prompt applied, preventing conflicting instructions.
  • プロンプト3分割機能の導入(主人公 / 対話 / 一般): カスタムプロンプトを以下の3つの役割に分割し、プレイヤーやNPCの性別誤認(Misgendering)やプロンプト混線を防止:
    1. 主人公のセリフ (プレイヤー): プレイヤーの選択肢や発言用。主人公の性別・一人称・口調を指定可能。
    2. 主人公へのセリフ (NPC対話): NPCが主人公に語りかけるダイアログ用。主人公への二人称や呼びかけ(「お嬢さん」「旦那」等)をNPC口調設定と連動して指定可能。
    3. その他 (書籍・アイテム・システム): 本、アイテム名、Perk説明、UI文などの非対話レコード用の中立的なプロンプト。
      翻訳実行時に対象テキストが自動判別され、該当するカテゴリのプロンプトのみが個別に適用されてAIへ送信されます。

Improved (改善)

  • Wildcard HTTP Scope for Remote / LAN LLMs: Updated Tauri v2 HTTP plugin capabilities to allow wildcard URL scopes (http://** and https://**). Users running dedicated local LLM servers (Ollama, LM Studio, llama.cpp) on another PC within their local network (e.g., http://192.168.x.x:11434 or custom hostnames) can now connect directly without hitting "url not allowed on the configured scope" errors or requiring netsh port forwarding.
  • LAN内リモートLLMサーバー(Ollama等)への直接接続対応: Tauri v2のHTTPセキュリティスコープを拡張し、ローカルネットワーク内の別PC(http://192.168.x.x:11434 等)や専用サーバーで動作する Ollama / LM Studio / llama.cpp へ、ポートプロキシ(netsh等)を設定することなく直接接続できるよう改善しました。

Bethesda AI Translator v1.0.7

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 23 Aug 01:31

[1.0.7] - 2026-08-23

Added (新規追加)

  • New Target Languages (Ukrainian, Portuguese - Brazil, Polish, Thai): Added 4 new languages to the Translation Target Language options, fully integrated with AI system prompts and proper noun translation pipelines.
    • 🇺🇦 Ukrainian (uk): Accurate tone & grammatical gender inflection based on NPC profiles.
    • 🇧🇷 Portuguese - Brazil (pt-BR): Tailored dialogue translations with speaker-gender agreement.
    • 🇵🇱 Polish (pl): Full gender-aware past verb and adjective inflections.
    • 🇹🇭 Thai (th): First-person pronouns and polite sentence-ending particles aligned with character settings.
  • 翻訳先言語の拡充(ウクライナ語・ポルトガル語(ブラジル)・ポーランド語・タイ語): 翻訳先言語(Target Language)に新たに4言語を追加。AIシステムプロンプトおよび固有名詞自動翻訳と連携。
    • 🇺🇦 ウクライナ語 (uk): NPCの性別に応じた過去形動詞・形容詞の語尾変化に対応。
    • 🇧🇷 ポルトガル語 (ブラジル) (pt-BR): 話者の性別に合わせた形容詞・挨拶表現に対応。
    • 🇵🇱 ポーランド語 (pl): 話者・対象の性別による厳密な動詞・形容詞の活用に対応。
    • 🇹🇭 タイ語 (th): 性別に応じた一人称や丁寧な文末詞(ครับ/ค่ะ)に対応。

Bethesda AI Translator v1.0.6

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 10 Jul 11:37

Tauri Autoupdater Integration: Completely removed Tauri's native automatic updater, related general settings UI, and Nexus Mods endorsement prompt, in compliance with Nexus Mods policies.
Tauri自動アップデート機能の削除: Nexus Modsのポリシーに準拠するため、Tauriの自動アップデート機能、一般設定の更新トグルUI、およびNexus Mods評価動線のポップアップを完全に削除。

Bethesda AI Translator v1.0.5

Choose a tag to compare

@github-actions github-actions released this 06 Jul 09:58

See the CHANGELOG.md for a list of changes.

Bethesda AI Translator v1.0.4

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 05 Jul 17:26

Added

  • All Locales Translation Support: Fully localized NPC profiles, editor logs, glossary controls, and alert validations in All Locales.
  • Implemented a Feature to Overwrite/Re-translate Specific NPCs: Added a dropdown list to filter and select a specific NPC. The tool can now re-translate all lines related to the selected NPC, including text that has already been translated.

Improved

  • Target-Language Adaptive NPC Profiling: Updated the automatic NPC tone detection logic to dynamically adjust the AI's instruction prompt, pronoun suggestions, and parser fallback values to match the user's selected translation target language (e.g. suggesting Japanese pronouns like "私/俺/あなた" when translating to Japanese, or Chinese pronouns like "我/你" when translating to Chinese).
  • Changed XML Save Destination:
    Instead of saving to the browser's default download folder, you can now manually select and specify your preferred destination folder when saving XML files.

新規追加

  • 他言語の完全特定NPCの上書き再翻訳機能: NPCを選択するドロップダウンリストを実装し、フィルター選択したNPCを対象に、翻訳済の文章も含めて再翻訳する機能を実装しました。 
  • ローカライズ対応: NPC口調プロファイル管理や用語集、アラート警告などの全UI要素を他言語に完全対応。

改善

  • 翻訳先言語に連動したNPC自動口調推定: AIによる口調の自動推定プロンプトと人称の提案・フォールバック値を、選択された「翻訳先言語」に動的に適合するよう改善。
  • XMLの保存先を変更:ブラウザのデフォルトのダウンロードフォルダに保存される代わりに、XMLファイルを保存する際、好みの宛先フォルダを手動で選択・指定できるようになりました。

Bethesda AI Translator v1.0.3

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 05 Jul 01:21

🚀 What's New in v1.0.3
This release focuses on improving local LLM compatibility (Ollama / llama.cpp / LM Studio), adding safety controls, resolving network issues, and providing detailed user documentation.

🔧 Major Enhancements & Local LLM Compatibility
Tauri v2 HTTP CORS Error Fix: Resolved 403 Forbidden CORS errors when connecting to local LLM servers by automatically appending correct Origin headers to requests.
Ollama Dialogue Quality Fix: Removed strict format: "json" constraints from Ollama request bodies. This prevents models (like Gemma/Llama-3) from forcing conversational thought logs and explanations inside the translated JSON values. We now rely on our custom Recovery Service to securely parse and repair raw JSON data.
Safe ID Mapping & Restoration: Incoming translation IDs are now simplified to sequential indexes (0, 1, 2...) on request and restored to original unique IDs (str_xx, noun_xx) on receipt. This completely eliminates empty table updates (0% completion) caused by local LLMs resetting IDs, while avoiding line-shifting data corruption.
Enhanced JSON Recovery (Safeguard): Optimized the fallback regex parser to prevent catastrophic backtracking (ReDoS freezes) when local models output massive thought logs, and added support for reversed key-value order in JSON.
Manual [Stop Translation] Button: Added a red "Stop" button in place of the start button. You can now safely interrupt active batch translation loops at any time. Fully localized in 9 languages.
Proper Noun RPM Throttling: Extended RPM/TPM limits and cooldown delays to the Proper Noun Extractor to prevent API rate limits on cloud providers (Gemini/OpenAI).
Real-time Noun Updates: Proper noun translations are now updated in the UI in real-time as each batch completes.
llama.cpp Support: Added a native llama.cpp (Local) option to the engine dropdown menu.
Ollama Default URL: Reverted the default Ollama base URL to http://localhost:11434.
📖 Manuals Included
Included a detailed User Manual & Setup Guide (Manual.txt) in the zip package to help you configure settings (Batch Size, RPM, Custom Prompts) and set up local LLMs (llama-server.exe launch configurations).

日本語
🚀 v1.0.3 更新内容
今回のアップデートでは、ローカルLLM(Ollama / llama.cpp / LM Studio)との互換性の大幅向上、翻訳コントロールとセーフガードの強化、および詳細な取扱説明書の同梱を行いました。

🔧 主な改善点およびローカルLLM互換性の向上
Tauri v2 HTTP CORSエラー(403)の解消: ローカルサーバーへの接続時に自動で適切な Origin ヘッダーを付与するようにし、一部環境で発生していた接続エラーを解消しました。
Ollamaの翻訳品質・ゴミ混入バグの解消: Ollama APIへの "format": "json" による強引なJSON制限を排除しました。これにより、GemmaやLlama3などのモデルが翻訳文のなかに思考ログや注釈をねじ込んで出力してしまうバグが解消されます(JSONのパースは内蔵の Recovery Service が安全に修復・実行します)。
安全なID連番変換と復元(翻訳が反映されない問題の解消): 送信時にIDを一時的にシンプルな連番にし、受信後に元のユニークIDに厳密に復元する処理を実装しました。これにより、ローカルLLMがIDを勝手に str_0 等にリセットして「翻訳済が0%のまま反映されない」現象を解決しつつ、翻訳行がずれるデータ汚染リスクを完全に排除しました。
JSON復元エンジン(セーフガード)の大幅強化: ローカルLLMが最後に膨大な独り言を出力した際にも、フリーズ(ReDoS)を起こさずに正常な翻訳部分だけを一瞬で救出するよう正規表現を最適化。キーと値の順序が逆になったJSONのパースにも対応しました。
手動「翻訳停止」ボタンの追加: 翻訳開始後、同じ場所に赤色の「翻訳停止」ボタンを表示し、いつでも安全にループを中断できるようになりました(9言語の多言語対応済み)。
固有名詞翻訳のRPM制限機能の追加: 固有名詞翻訳時にもRPM流量制限と安全な待機時間を適用し、GeminiやOpenAIのアクセス制限エラーを防止します。
固有名詞のリアルタイム反映: 固有名詞の翻訳結果が、バッチの完了ごとにリアルタイムで画面(テーブル)に反映されるよう改善しました。
llama.cpp (Local) オプションの追加: エンジン選択プルダウンに llama.cpp 専用の選択肢を追加しました。
Ollamaの初期URLの復帰: デフォルトの接続URLを元の http://localhost:11434 に差し戻しました。
📖 取扱説明書の同梱
ZIPパッケージ内に、設定画面の解説やローカルLLMのセットアップ(作者の llama-server.exe 起動パラメータ設定例)を記載した 簡易取扱説明書 (Manual.txt) を同梱しました。

Bethesda AI Translator v1.0.2

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 03 Jul 15:31

・UI Language crash fix: Resolved a critical TypeError crash that prevented importing XML files when the UI language was set to Russian, Chinese, Spanish, French, German, or Italian due to missing translation keys.
・特定UI言語でのインポートクラッシュ修正: ロシア語、中国語、スペイン語、フランス語、ドイツ語、イタリア語にUI言語を設定している際、一部の翻訳キーが不足していたためにXMLの読み込み(インポート)時に強制終了するバグを修正しました。

Bethesda AI Translator v1.0.1

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 03 Jul 14:35

[1.0.1] - 2026-07-03

Improved (改善)

  • Enhanced proper noun & name translation: Updated the default system prompt (Rule 7) to instruct AI models to translate short texts, single words, and NPC/location/item names properly into the target language instead of leaving them in English.
  • 固有名詞・人名の翻訳精度向上: デフォルトのシステムプロンプトに「Rule 7」を追加し、文脈のない短い人名、地名、アイテム名などが自動翻訳時に英語のまま残ってしまう問題を改善しました。

Bethesda AI Translator v1.0.0

Choose a tag to compare

@tomy6764kuma tomy6764kuma released this 03 Jul 11:45

Initial release of Bethesda AI Translator