Univention Bugzilla – Bug 56256
UMC system diagnostic module messages are not translated to German
Last modified: 2023-07-05 14:48:56 CEST
Created attachment 11081 [details] System diagnostic module translation bug example The UMC system diagnostic module is only partially translated. I filed this as a bug and not an enhancement as the translation has worked in the past. See the attachment for an example of the problem. In the example, the type of the message is translated ("Warnung") but not the title ("SAML certificate verification failed!") although a translation file exists, see `management/univention-management-console-module-diagnostic/umc/python/diagnostic/de.po` in the UCS repository. System information: ``` UCS: 5.0-4 errata721 Installed: self-service-backend=5.0 ucsschool=5.0 v3 ```
The problem is in the UMC-Moduleprocess, which is initially started with the correct locale but then the first request resets that, because tornado doesn't contain the locale territory: MODULE ( PROCESS ) : Received request '/univention/command/diagnostic/run': ('Administrator', None, None, 'de') MAIN ( WARN ) : Locale 'de.UTF-8' is not available: unsupported locale setting MAIN ( WARN ) : Could not set language. Resetting locale.
univention-management-console.yaml 58445b2ba03e | fix(umc): fix translation of module processes univention-management-console (12.0.31-5) 58445b2ba03e | fix(umc): fix translation of module processes
QA: - system diagnostics are translated correctly: OK - advisory: OK - no related errors/tracebacks in logfiles: OK
<https://errata.software-univention.de/#/?erratum=5.0x725>