Skip to content

Translate: run server /detect escalation only for logged-in users #3460

Description

@feruzm

Mirror of the vision-web change: the full-post language-CTA detection escalates to the translate backend /detect endpoint for languages franc-min cannot identify. Gate that network escalation on a logged-in user; logged-out readers keep the franc-based result (same as the current unreachable-/detect fallback). Tap-to-translate stays available to everyone.

Touchpoint: src/providers/translation (detectLanguage escalation used by the post-view translate CTA).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions