Skip to content

Error messages from server are always in English #3692

@rk-for-zulip

Description

@rk-for-zulip

The Zulip server attempts to localize error messages using the language sent in the HTTP Accept-Language header. Unfortunately, we don't send that when making API calls.

The fix is probably to ensure that the locale value is available in the Auth object, so that apiFetch (or one of its callees) will have it on hand to construct an appropriate Accept-Language header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-i18nTranslation, localization, internationalization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions