You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ClientCrash, thanks for reaching out. Sorry to hear that this behavior caused an issue for you.
The API has an optional language parameter, this can be set on API requests so the same language is always used to give consistent responses.
Changing the API to ignore users language by default could cause problems for existing API usage. We also can't assume that every user understands English, it seems reasonable that if a user has already indicated that they want to use Matomo in a specific language then API responses should by default be served in that language and not a different language that the user might not be able to comprehend. I hope that makes sense 🙂
bx80
added
answered
For when a question was asked and we referred to forum or answered it.
and removed
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
labels
Jul 13, 2022
Expected Behavior
API Language should never change. This breaks systems.
Current Behavior
If the user has a different language, for example German, the language of API responses changes.
Possible Solution
It should be completely removed of if some people depend on it it should be a toggle that is off by default.
Context
The API being dependent on users and their language settings created issues in our production environment.
Your Environment
The text was updated successfully, but these errors were encountered: