Skip to content

fix: add logging when translation fails in detect_and_translate_ticket_text #722

@tmdeveloper007

Description

@tmdeveloper007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions