Skip to content

Language switcher force-opens links to language subdomains in new tab #21112

@mootari

Description

@mootari

Documentation is

  • Missing
  • Outdated
  • Confusing
  • Not sure?

Explain in Detail

Clicking a link in the language switcher dropdown opens the link in a new tab. I'm guessing it's because the links to the per-language subdomains get detected as external.

Your Suggestion for Changes

Selecting a language should change the location of the current tab.

Reproduction

https://vite.dev/guide/

Steps to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions