protected function applyTranslationFilter()
    {
        if (!array_key_exists($lang = request()->get('lang'), $this->languages())) {
            return;
        }

        return $this->query->whereLanguage($lang);
    }