web icon indicating copy to clipboard operation
web copied to clipboard

The notification request does not immediately change Accept-Language after changing the system language

Open ScharfViktor opened this issue 1 year ago • 2 comments

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

ScharfViktor avatar Jul 06 '23 12:07 ScharfViktor