Skip to content

Use English documentation fallback only for missing translations #21

Open

Description

@LunaStev

Problem

DocsPage catches every translation request failure and loads English. A timeout or server failure on an existing translated page is silently converted into an English fallback, unlike the server's not-found-only behavior.

Evidence / regression scenario

Source-derived failure scenario; existing catch handles all failure classes indiscriminately.

Code references

Audit baseline: 50eb207.

Completion criteria

  • Fallback to English only on an explicit 404 for the requested translation, using structured HTTP errors.
  • Show a retryable error for network failures and 5xx responses without changing the canonical to English.
  • Cover translated success, missing translation with English success, English also missing and transient translated-page failure.
  • Preserve selected documentation locale and advertise only real translated alternatives.

Scope and dependencies

Difficulty: easy.

Depends on #20. Do not translate missing pages or add site interface languages.

Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.

Activity

  1. added
    bug
    good first issue
    help wanted
    frontend
    priority medium
    needs testing
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrontendgood first issuehelp wantedneeds testingpriority medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions