feat: add language freeze/activate functionality#717
Open
chengxicx wants to merge 1 commit into
Open
Conversation
- Add LgIsActive column to languages table (default 1 = active) - Add Freeze/Activate action buttons in language list - Filter frozen languages from language dropdowns and current language validation - Gracefully handle invalid current_language_id after backup restore
chengxicx
force-pushed
the
feat/language-freeze
branch
from
July 24, 2026 17:29
e654623 to
d5e39b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Language Freeze & Activation

New feature to temporarily disable languages without deleting associated user data:
New database column LgIsActive added (default value = 1, meaning enabled/active)
Freeze / Activate action buttons added to the Language list page
Frozen languages are fully hidden from all dropdown selectors, statistical dashboards, and UI components
All associated books, terms, and configuration data for frozen languages are retained indefinitely and can be reactivated at any time
Edge-case handling for backup/restore workflows where the active language ID points to a previously frozen language