Skip to content

The language setting (Japanese) is not maintained when clicking links in the manual #395

Closed

Description

@OamiLifull

From manual page: https://php.net/class.ziparchive


Description

When browsing the PHP manual in Japanese, clicking any link within the page redirects to the English version (/manual/en/...) instead of staying on the Japanese version (/manual/ja/...).

Even though the Japanese translation for the linked page exists and can be viewed by manually switching the language back to Japanese, the language preference is not being maintained across page transitions.

Steps to Reproduce

  1. Open any PHP manual page in Japanese (e.g., https://www.php.net/manual/ja/class.ziparchive.php).
  2. Click any link to a method or function within that page.
  3. The browser navigates to the English version of the page (/manual/en/...).

Expected Behavior

The manual should maintain the selected language (Japanese) and navigate to the /manual/ja/... URL when a link is clicked.

Activity

  1. KentarouTakeda commented on Jun 11, 2026

    @KentarouTakeda
    Collaborator

    I've submitted a pull request to the upstream repository to fix this: php/web-php#1918

  2. KentarouTakeda commented on Jun 14, 2026

    @KentarouTakeda
    Collaborator

    Solved through php/web-php@742ae5c

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions