Skip to content

Updating site localization mechanics #5011

@Zellrus

Description

@Zellrus

The site should automatically understand the browser language. This can be achieved, for example, using the js method navigator.language.

When the user manually changes the language of the site, the data must be saved in localStorage and uploaded, for example, when logging in to the site.

It turns out that the language has such a priority:

  1. The language manually selected by the user
  2. Browser Language
  3. Default site language

The button that allows you to change the language of the site should be duplicated in the page header.

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