Univention Bugzilla – Bug 54231
Changing locale does not work for UMC backend processes in Portal
Last modified: 2021-12-19 13:00:45 CET
The new portal can change the locale without recreating a session. But this means that no UMC process knows of a locale change in the frontend. This results in the frontend being in the correct locale, but responses from the backend are in the old locale - if the module has been opened before. Logging out and logging in is the only way of correcting it (or a UMC module timeout).
(In reply to Dirk Wiesenthal from comment #0) > The new portal can change the locale without recreating a session. yep > But this means that no UMC process knows of a locale change in the frontend. hm - because it is not communicated?! > This results in the frontend being in the correct locale, but responses from > the backend are in the old locale - if the module has been opened before. If you change the Accept-Language header newly opened modules should use the new locale. For already opened module this should also happen but doesn't work in UDM e.g. where the strings are translated at import time. For this one could use `UMCP GET newsession` - which is e.g. used after an AppCenter app installation. > Logging out and logging in is the only way of correcting it (or a UMC module > timeout). As above, there might be other ways than logging out.