Skip to content

Detect language automatically according to browser preferencesΒ #181

@Quenix

Description

@Quenix

I've noticed that my main browser language is PT-BR but game instance is always loaded in english due to this validation:

messages.languageActive.hasOwnProperty(requestLang)

Because portuguese is added as pt-br and requestLang returns "pt".
Changing it through settings seems fine. I will create a fork to pull request this fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions