public function __construct() { $this->grav = Grav::instance(); $this->lang = $this->grav['user']->language; }