public String getDescription(final String locale) {
        if (this.uiInfo != null) {
            val description = getLocalizedValues(locale, this.uiInfo.getDescriptions());
            return Optional.ofNullable(description).orElseGet(super::getDescription);
        }
        return super.getDescription();
    }
Gets localized description.

@param locale browser preferred language
@return the description
support/cas-server-support-saml-mdui-core/src/main/java/org/apereo/cas/support/saml/mdui/SamlMetadataUIInfo.java