Skip to content

Release v1.0.3 - Windows Complete Standalone Package

Latest

Choose a tag to compare

@Qervas Qervas released this 25 Oct 04:15
· 29 commits to master since this release
image

New Features

Language Support Expanded

  • Added 7 new OCR languages: Portuguese, Italian, Dutch, Polish, Korean, Arabic, Hebrew
  • Total supported languages: 15 (English, Swedish, French, German, Spanish, Portuguese, Italian, Dutch, Polish, Russian, Chinese Simplified, Japanese, Korean, Arabic, Hebrew)
  • All language packs (258 MB) now bundled in release

Translation Improvements

  • Translation source language now defaults to "Auto-Detect" for better accuracy
  • Fixed partial translation issues where some text segments weren't translated
  • Simplified translation settings - removed unused translation engines

UI Improvements

  • Windows: Application icon now displays correctly in window title bar and taskbar
  • System tray icon changed from generic computer icon to Ohao Lang app icon
  • Translation overlay shows both original and translated text for comparison

Bug Fixes

OCR Fixes

  • Fixed UTF-8 character corruption in Swedish, French, German, and other Latin-based languages
  • Fixed non-English character recognition (ä, ö, ü, é, etc. now work correctly)
  • Removed TSV parsing mode that was causing character encoding issues
  • Italian OCR now works (traineddata file was missing)

Translation Fixes

  • Fixed incorrect language detection causing translation failures
  • Fixed missing text segments in translation output
  • Translation now uses OCR language as source instead of unreliable auto-detection
  • Google Translate API calls now more reliable with proper language codes

Build & Release Fixes

  • Release packages now use project's bundled language files instead of Scoop dependencies
  • Fixed missing traineddata files for new languages
  • Windows icon now properly embedded in executable
  • Improved release script reliability

Technical Changes

Code Refactoring

  • LanguageManager is now the single source of truth for all language configurations
  • Consolidated language lists across OCR, translation, and settings
  • Removed hardcoded language mappings in translation engine
  • Simplified settings UI to dynamically populate from LanguageManager

Architecture Improvements

  • UTF-8 text encoding now handled correctly throughout the application
  • Plain text mode used instead of TSV for more reliable character recognition
  • Translation engine simplified to only use Google Translate (free, no API key needed)
  • Removed dead code for unused translation engines (LibreTranslate, Ollama, DeepL, etc.)

Known Issues

  • Google Translate's free API occasionally fails to translate certain text segments
  • Some complex Russian poetry may have partial translation failures
  • This is a limitation of the free Google Translate API, not a bug in Ohao Lang

File Sizes

  • Application: ~545 KB
  • Total package with dependencies: ~350 MB
  • Language packs: ~258 MB (16 traineddata files)

Upgrade Notes

  • No breaking changes from v1.0.2
  • Existing settings and configurations are preserved
  • New language packs are automatically available after upgrade