• Resolved InFerYes

    (@inferyes)


    How do I change the “I agree” button to say “I understand” on the cookie consent popover?

    I have enabled and configured the GDPR plugin with regards to cookies, but I’m unable to find the option to change the text on the button. All my cookies are required. I have only 1 consent category.

    There is a screenshot on the plugin page that shows the text “I understand”.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Fernando Claussen

    (@fclaussen)

    It used to say “I understand” when it was just related to Cookies. Since we’ve changed to be cookies and consent we changed it to “I Agree”

    I can add a filter to allow changing this label.

    Plugin Author Fernando Claussen

    (@fclaussen)

    This will be available in the next update as a filter called gdpr_privacy_bar_button_text.

    Hi there

    Thanks for a gret plug in Fernando. Please, how can I translate I agree to spanish?

    Thanks

    Plugin Author Fernando Claussen

    (@fclaussen)

    Hi @tamsley,

    You can either use a translation file or use the gdpr_privacy_bar_button_text filter.

    Thanks for your answer, Fernando.
    Sorry my knowledge of wordpress is limited. Where is the translation file or how can I use that filter?

    Big thanks

    Plugin Author Fernando Claussen

    (@fclaussen)

    You can translate it with apps or a plugin like Loco Translate.

    You can use the filter in your theme functions.php file like this

    
    add_action( 'gdpr_privacy_bar_button_text', 'my_i_agree_translation );
    function my_i_agree_translation( $text ) {
        return 'estoy de acuerdo';
    }
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cookie consent button’ is closed to new replies.