OverviewLanguageMiddleware picks the correct translations, stores the choice in the session and logs diagnostics when debug mode is active.
Usage
$middleware[] = new LanguageMiddleware($debugMw, $sessionMw);
Do's
Don'ts