Translation History
LangCTL automatically tracks every translation change, storing complete snapshots for rollback and auditing.
Automatic History Tracking
Every update to translation_keys triggers automatic history creation:
-- Database trigger creates history automatically
CREATE TRIGGER track_translation_changes
AFTER UPDATE ON translation_keys
FOR EACH ROW
EXECUTE FUNCTION create_translation_history();
-- Stores complete snapshot in translation_history table
{
"key_id": "uuid",
"translations": { "en": "Old value", "es": "Valor antiguo" },
"changed_by": "user-uuid",
"changed_at": "2024-04-15T10:30:00Z",
"changes": { "es": { "old": "Valor antiguo", "new": "Nuevo valor" } }
} Benefits
- Rollback Capability - Restore previous translations
- Audit Trail - Track who changed what
- Debugging - Understand translation evolution
- Compliance - Meet audit requirements
ℹ️
Note
History is automatically created on UPDATE operations. No manual action required. Retention: 90 days (Free/Pro), 1 year (Team), unlimited (Enterprise).
Next Steps
- Translation Management - Manage translations
- Collaboration - Team features
- Audit Logs - Organization activity