public function updateStatusFlags(&$flags)
    {
        // If there is no current FluentState, then we shouldn't update.
        if (!FluentState::singleton()->getLocale()) {
            return;
        }

        // No need to update flags if the Page is available in this Locale.
        if ($this->isAvailableInLocale()) {
            return;
        }

        // Add new status flag for "not visible".
        $flags['fluentfiltered'] = [
            'text' => null,
            'title' => _t(__CLASS__ . '.LOCALEFILTEREDHELP', 'This page is not visible in this locale')
        ];
    }