Skip to content

Language negotiation support #241

Open
@mnot

Description

@mnot

Describe the issue

The beta W3C site has links to Japanese and Chinese versions of the site in a banner on every page, but ignores language preferences sent by the browser in the Accept-Language request header field.

To reproduce

  1. Set your browser to prefer japanese and/or chinese over other languages.
  2. Navigate to the beta site.

Expected behavior

The site appears in the user's preferred langauge.

Screenshots

n/a

Additional context

My browser is sending Accept-Encoding: ja,zh;q=0.8,en-US;q=0.5,en;q=0.3.

I'd argue that the banner not be shown at all, once negotiation is working properly.

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