humanmade / humanmade/Workflows

Incorrect locale used for REST API requests

Open
#146 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
106
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The REST API request that fires off in the admin area every ten seconds to fetch notifications doesn't have a `_locale` parameter set. This means when a user has their profile language set to something different to the current site's language they see notifications in the wrong language.

These requests should use `?_locale=user` so the response uses the user's chosen language.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.