Issue Description
The detect_and_translate_ticket_text function in backend/language_pipeline.py has multiple fallback paths but if all translations fail silently, no error is logged.
Expected Fix
Add logging when translation fails and return a flag in the response dict indicating translation was attempted but failed.
Files to Modify
- backend/language_pipeline.py
Issue Description
The detect_and_translate_ticket_text function in backend/language_pipeline.py has multiple fallback paths but if all translations fail silently, no error is logged.
Expected Fix
Add logging when translation fails and return a flag in the response dict indicating translation was attempted but failed.
Files to Modify