Skip to content

Releases

Local Translator v1.2.0 — Local LLM Auto-Discovery & Headless Auto-Start

Choose a tag to compare

@SaidAuita SaidAuita released this 14 Nov 13:38

🌐 Local Translator v1.2.0

English

🤖 Local LLMs: LM Studio & Ollama Integration (with Auto-Discovery)

  • Model Auto-Discovery: Automatically scans and lists all downloaded models from LM Studio (~/.lmstudio/models) and Ollama with their exact disk size in GB.
  • Interactive Model Selector: Settings dialog features a dropdown with all detected models, their parameters, and memory status ([In Memory]).
  • Headless Background Auto-Start: If LM Studio or Ollama is offline, Local Translator automatically launches the server and loads the selected model into GPU/CPU memory (lms load) without opening heavy Electron windows.
  • Reasoning Models Support: Built-in intelligent filtration for modern thinking models (Qwen 3, Gemma 4, DeepSeek-R1) stripping <think>...</think> internal blocks to ensure clean, instant translation output.
  • Auto-Port Configuration: Automatically selects port 1234 for LM Studio and 11434 for Ollama.
  • Fixed Standalone Runtime: Fixed ctranslate2.dll dependency packaging (cudnn64_9.dll) resolving launch errors on standalone Windows systems.

Русский

🤖 Локальные LLM: Интеграция с LM Studio и Ollama (Автоопределение моделей)

  • Автоопределение моделей: Автоматическое сканирование каталога моделей LM Studio (~/.lmstudio/models) и сервиса Ollama с отображением точного размера каждой модели на диске в гигабайтах (GB) и параметров квантования.
  • Интерактивный выбор модели: В окне настроек добавлен выпадающий список всех найденных моделей с кнопками «↺ Обновить список» и «▶ Загрузить в память».
  • Умный Headless-автозапуск: Если сервер LM Studio или Ollama выключен, при переводе программа автоматически в фоне поднимает локальный сервер и загружает выбранную модель в видеопамять (lms load -y <модель>) без открытия тяжелого графического интерфейса.
  • Поддержка Reasoning-моделей: Автоматическая очистка блоков рассуждений <think>...</think> для моделей нового поколения (Qwen 3, Gemma 4, DeepSeek-R1) — в результат перевода попадает только чистый текст.
  • Исправление запуска сборки: Включена необходимая библиотека cudnn64_9.dll для runtime ctranslate2, устранившая ошибку запуска standalone .exe.

📦 Download / Скачать

Local Translator v1.1.0 — Global Hotkeys, Clipboard Fix & Standalone Packaging

Choose a tag to compare

@SaidAuita SaidAuita released this 14 Nov 08:31

🌐 Local Translator v1.1.0

🚀 What's New & Improvements

📋 Clipboard Fixes

  • Resolved 64-bit Memory Truncation: Fixed Windows API ctypes 64-bit handle truncation which caused silent access violations and prevented copying.
  • Direct GUI Clipboard Integration: Primary copy actions now directly synchronize with QApplication.clipboard() with native Win32 fallback retry loop.
  • Popup & Keyboard Shortcuts: Pressing Enter / Return inside the floating popup now reliably copies the translation, even when focused inside the text view.

⌨️ Global Hotkeys Management

  • Master Toggle: Added a single master checkbox in Settings to enable or completely disable all global hotkeys at once.
  • Interactive Remapping: Replaced static shortcuts with interactive QKeySequenceEdit fields for:
    • Popup Quick Translation (Default: Ctrl + Q)
    • In-Place Replace Translation (Default: Ctrl + Shift + Q)
    • Screen Snippet OCR (Default: Ctrl + Shift + S)
  • Reset to Defaults: One-click Reset button to restore standard key bindings.
  • Runtime Application: Modifying hotkeys updates the background listener immediately without requiring application restart.

📦 Packaging & Engine Stability

  • Direct NllbTokenizer Import: Resolved PyInstaller lazy-loading issue (AutoTokenizer import error) in standalone frozen builds.
  • Optimized Binary Size: Cleaned up unneeded dependencies from portable build.

💾 Installation

  1. Download LocalTranslator-v1.1.0-windows-x64.zip below.
  2. Extract the archive into any folder on your PC.
  3. Run LocalTranslator.exe.
  4. If the NLLB model is not yet present, click the Download 1.3B Model button in the app (downloads ~1.38 GB directly).