Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
use closure to properly defer l10n initialization #27328
fixes translation of web ui for ldap users. backport to 9.1 requested
Motivation and Context
Mixed language in the UI.
How Has This Been Tested?
locally, with ldap and german, english, spanish language mix.
Types of changes
waiting for CI will then backport.
also, I don't know if I catched all occurrences of this. I certainly did not catch the ones in other apps ... how do we enforce them to defer initialization ... The problem is that $l is initialized in app.php ... way before the user preferences have been loaded.
I guess we need to log a warning when anything but a closure is used?