protected function getRecordLocale()
    {
        $localeCode = $this->owner->getSourceQueryParam('Fluent.Locale');
        if ($localeCode) {
            $locale = Locale::getByLocale($localeCode);
            if ($locale) {
                return $locale;
            }
        }
        return Locale::getCurrentLocale();
    }