HsgtLgt-Autolocalization icon

Autolocalization

Make all mod interfaces display in your preferred language!

CHANGELOG

📜 Changelog

v1.5.6

  • 🔧 Translation Key Conflict Detection - Added automatic detection and resolution for translation key conflicts:
    • System automatically detects when multiple original texts are translated to the same key
    • Automatically generates unique suffixes based on MD5 hash to prevent duplicate key errors
    • Prevents BepInEx configuration errors caused by duplicate keys
  • Translation Validation Mechanism - Enhanced translation validation to ensure compliance with BepInEx requirements:
    • Validates that translated text does not contain invalid characters (=, \n, \t, , ", ', [, ])
    • Ensures translated text has no leading or trailing spaces
    • Automatically removes invalid translations to prevent mod crashes
  • 🔄 Fixed Translation File Merging - Fixed issue where translation files were automatically merged during secondary collection:
    • Translation files now correctly merge without data loss
    • Improved file merging logic to handle multiple translation sources (translations.yaml and collected_items.yaml)
    • Added persistent group memory to maintain grouping stability across file saves
    • Note: This fix only affects grouping metadata, not user-provided translation text in translations.yaml
  • 🛡️ Enhanced Exception Handling - Optimized exception handling in configuration and GUID mapping stages:
    • Improved exception detection and handling during ConfigEntry/ConfigDefinition processing
    • Better error recovery and logging when building GUID mappings
    • Prevents crashes caused by unhandled exceptions in configuration processing

v1.5.5

  • 📝 YAML File Format Documentation Update - Translation files now support two formats:
    • Nested format: Grouped by mod GUID for easier management and organization of translation content
    • Flat format: A simple backward-compatible format suitable for small-scale translations
    • The system automatically recognizes and loads both formats, users can choose according to their needs
  • ⚙️ New Collection Feature Toggle Configuration - Added [Collection] configuration section in .com.HsgtLgt.autolocalization.cfg:
    • EnableCollection: Controls whether to enable the collection feature
    • After translation is complete, the collection feature can be disabled to improve game startup speed
    • When disabled, the system only applies existing translations and no longer collects new content

v1.5.4

  • 🎨 Updated Icons - Improved visual design and user interface with new icons
  • 📝 Updated MD Content - Enhanced documentation and markdown files for better readability and user guidance

v1.5.2

  • 🔧 Fixed Translation File Loading - System now correctly recognizes and loads user-provided translation files

v1.5.0

  • Complete core architecture rebuild
  • New high-performance caching system
  • Improved file management and user experience
  • Optimized translation workflow