feat: Improve System Language Detection in Translator Class

- Refactor language detection method with separate methods for Windows, macOS, and Linux
- Add more robust language detection for different platforms
- Improve error handling and fallback mechanisms
- Ensure consistent language code formatting (zh_CN, zh_TW)
- Update Windows language detection using windll with additional error checks
This commit is contained in:
yeongpin
2025-02-25 12:09:13 +08:00
parent 72c95e4b4f
commit 5bbba05f69
4 changed files with 130 additions and 59 deletions

View File

@@ -1,5 +1,10 @@
# Change Log
## v1.4.05
1. Fix: macOS Language Detection | 修復macOS語言檢測
## v1.4.04
1. Change Some Language Info to English | 更改一些語言信息為英文