Skip to content

feat: add language freeze/activate functionality#717

Open
chengxicx wants to merge 1 commit into
LuteOrg:developfrom
chengxicx:feat/language-freeze
Open

feat: add language freeze/activate functionality#717
chengxicx wants to merge 1 commit into
LuteOrg:developfrom
chengxicx:feat/language-freeze

Conversation

@chengxicx

Copy link
Copy Markdown

Language Freeze & Activation
image

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

- 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
chengxicx force-pushed the feat/language-freeze branch from e654623 to d5e39b3 Compare July 24, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant