What product/components do you use and which version/fix level?
.cumulocity.com; 10.11; Azure B2C
What are trying to achieve? Please describe in detail.
Hi Community,
is there a way to set the users UI-language in Cumulocity via api or sso?
In the documentation I found that the UI language is selected according to the following rules:
The language selected in the Cumulocity IoT user settings.
The language selected in the browser preferences.
The operating system language.
Where is the selected language stored? I would have expected to find something in the user API, but it doesn’t seem to contain any language information.
The preferred language is included in the ID token (Azure B2C), so it would also be available for user creation and access.
in general there are several user preferences which are not stored in the user-object itself.
There are further managed objects in the inventory with type “c8y_UserPreference” - owned by the user itself - which contain further settings like language settings.
Those objects are only there if the user has custom settings, like a different language than the default (English).
As an example: If a user has a language set you would find a managed object like below:
In this case “de” (Deutsch) is set for my user: