public function setActiveLocale($locale)
    {
        if (empty($locale)) {
            $this->getCore()->session()->forget(static::ACTIVE_LOCALE_SESSION_KEY);
        } else {
            $this->getCore()->session()->put(static::ACTIVE_LOCALE_SESSION_KEY, $locale);
        }

        return $this;
    }