Improve translation loading and language detection #392 #402

Merged
Ghost merged 0 commits from blender-5x-dev into blender-5x-dev 2025-11-19 16:15:11 +00:00
Ghost commented 2025-11-19 16:15:05 +00:00 (Migrated from git.disroot.org)

Enhanced the translation loading logic to better handle unavailable languages and fallback to 'en_US' when necessary. Added tracking of the last loaded language to avoid unnecessary reloads, and improved auto-detection of language from Blender's locale with a new conversion function. Updated UI reload logic to only reload when the language actually changes.

Enhanced the translation loading logic to better handle unavailable languages and fallback to 'en_US' when necessary. Added tracking of the last loaded language to avoid unnecessary reloads, and improved auto-detection of language from Blender's locale with a new conversion function. Updated UI reload logic to only reload when the language actually changes.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Kneelawk/Cats-Blender-Plugin!402
No description provided.