public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
{
// Do Not Edit This Line
parent::initController($request, $response, $logger);
// Preload any models, libraries, etc, here.
$session = \Config\Services::session();
$language = \Config\Services::language(); <--------- Added This
$language->setLocale($session->site_lang) <--------- Added This;
// E.g.: $this->session = \Config\Services::session();
}