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

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