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
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Provide alternative to store user language setting #9243
As a developer I need a way to store the user-language without the ocis settings api so that I'm not fixed to store the user-language via the the ocis settings-service.
Value
Acceptance Criteria
user language needs to be available in get request to /me in the graph api
user language can be updated via patch request to /users/{id} in the graph api
web needs to use these 2 requests for the user language (dont use the settings api any more)
check if the query for values-list can be removed if only used for getting the current language
web needs to provide a hard-coded list of all available languages. Currently:
Note: settings api should only be available internal via grpc
Note: needs backend change (for both ocis and reva master)
Definition of ready
[ ] everybody needs to understand the value written in the user story
[ ] acceptance criteria has to be defined
[ ] all dependencies of the user story need to be identified
[ ] feature should be seen from an end user perspective
[ ] user story has to be estimated
[ ] story points need to be less then 20
Definition of done
Functional requirements
[ ] functionality described in the user story works
[ ] acceptance criteria are fulfilled
Quality
[ ] code review happened
[ ] CI is green
[ ] critical code received unit tests by the developer
[ ] automated tests passed (if automated tests are not available, this test needs to be created and passed
Non-functional requirements
[ ] no sonar cloud issues
The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: "en-US", or "es-ES". Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values)
Reacted by Dominik Schmidt, Tobias Baader and Jannik Stehle
Activity
Change UI language
butonic commentedon Oct 12, 2023
we should add the
preferredLanguageproperty to the libre graph user resouce as it exists in ms graph:$filter(eq,ne,not,ge,le,in,startsWith, andeqonnullvalues)micbar commentedon Oct 12, 2023
Fine for me.
tbsbdr commentedon Oct 13, 2023
relates to / blocked by: Make
languagesetting available via graph user (read & write) · Issue #5455 · owncloud/ocis2403905 commentedon Nov 9, 2023
@butonic
2. Could the available languages look like https://learn.microsoft.com/en-us/graph/api/outlookuser-supportedlanguages?view=graph-rest-1.0&tabs=http
AlexAndBear commentedon Nov 10, 2023
we keep the two-letter format, but the API will accept and expose ISO lang codes as well
AlexAndBear commentedon Nov 11, 2023
Note: I updated the story points to 8 because its a little bit more complex than we thought first