Skip to content

Editor language detection via query param #388

@valeriocomo

Description

@valeriocomo

Subject of the issue

Bug:

The i18n system should detect the browser's language out of the box and serve the right one, or it can be forced with the lang param like this:

https://publiccode-editor-develop.vercel.app/?lang=fr
https://publiccode-editor-develop.vercel.app/?lang=it
https://publiccode-editor-develop.vercel.app/?lang=en

The webapp doesn't change language due to a lang query param.

Steps to reproduce

Append a lang query param to the URL and reload the application.

Expected behaviour

The webapp have to be localized in the language defined by the query param lang.

Actual behaviour

The web app ignore this param.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions