Make it possible to use language that is not enabled in UI. We want some
incomplete locales to be used by external API clients without need
to enable the languages for UI.
Fixed handling of the language cookie.
Added tests.
Differential D5784
Improve Locale middleware Authored by machniak on Dec 31 2025, 3:10 PM. Project Tags None Referenced Files
Subscribers
Details
Make it possible to use language that is not enabled in UI. We want some Fixed handling of the language cookie. Added tests. ./phpunit
Diff Detail
Event TimelineComment Actions I'm not sure why we have to check for enabled languages at all tbh. (I think it would be sufficient to only show enabled languages available for selection in the ui, but not prevent accessing any language). But this fine too. |