web
web copied to clipboard
The notification request does not immediately change Accept-Language after changing the system language
Steps:
- admin create share to einstein
- einstein logs in and see notification (english language by default)
- einstein changes language to
Deutsch
and awaits notification request
Expected: notification in German. request header Accept-Language
=> de
Actual: notification in English. The request header Accept-Language
=> en
. After switching language all requests use Accept-Language
=> de
except https://host.docker.internal:9200/ocs/v2.php/apps/notifications/api/v1/notifications?format=json
.
but after refreshing the token -> works fine, so low priority