protected function getAttributeNameAndLocale($attribute)
    {
        $parts = explode('.', $attribute);

        $name = $parts[0];
        $locale = $parts[1] ?? App::getLocale();

        return [$name, $locale];
    }