-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always send a language header in all requests #10619
Comments
I would only enable that on a per endpoint basis, I don't know where we parse random strings and thus "only speak English" |
Better send same to all endpoints. |
Note: @TheOneRing thinks there might be at least one location where we actually parse an error message from the server (somewhere in the common error handling). We may need to either replace this with a more reliable solution (if possible) or force an English locale in |
client/src/libsync/owncloudpropagator_p.h Lines 78 to 87 in e4ae053
|
Passed ownCloud 5.0.0.11523-alpha.1 |
Pre-submission Checks
Feature description
Latest oCIS notifications API (
/ocs/v2.php/apps/notifications/api/v1/notifications?format=json
) responds with translated content. Other endpoints will learn this too.Proposed solution
Desktop app should always send a language header in all requests which follows the Accept-Language spec:
Alternative solutions you considered
No response
Additional context
Related:
The text was updated successfully, but these errors were encountered: