Skip to content

Server language detection not working in Safari (dependency update needed) #682

Closed
@timonkbd

Description

@timonkbd

Describe the bug

Safari is sending the Accept-Language in a lowercase manner (e.g. en-us). Because the current used version of i18next-express-middleware detects this string as en- instead of en the sever language detection is not working as expected.

Occurs in next-i18next version

4.2.1

Additional context

This issue has been discussed here and got fixed in [email protected]. Is it possible to bump the dependency to a recent version? Thanks!

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