Articles on: Page Editor

How to change the LANGUAGE of the COOKIE NOTICE button

To change the language of the cookie notice button to English, follow the step by step below:


  1. Access the page editor;



  1. Click the gear icon in the top right corner of the screen;



  1. Then click on "Javascript & CSS";



  1. Click to "Adicionar" a new code;



  1. Choose a name for your code, select the "Funcionamento" option and add the entire code below into the text field;


<script>
setTimeout(() => {
$('#gpc-lgpd_botoes-configurar').html('Set Up');
$('#gpc-lgpd_botoes-confirmar').html('Understood and accepted');
},400);
$('body').on('click','#gpc-lgpd_botoes-configurar',function(){
setTimeout(() => {
$('.gpc_modal_lgpd-titulo-titulo').html('Cookie Settings');
$('.gpc_modal_lgpd-titulo-texto').html('You can choose which cookies to accept');
$('#gpc_modal_lgpd-confirmar').html('Confirm settings');
$('.gpc_modal_lgpd-opcoes').each(function(i, atual){
if(i==0){
$(atual).find('.gpc_modal_lgpd-opcoes-titulo').html('Mandatory cookies');
$(atual).find('.gpc_modal_lgpd-opcoes-aviso').html('Always active');
$(atual).find('.gpc_modal_lgpd-opcoes-texto').html('They are cookies to ensure the proper functioning of the website.');
}
if(i==1){
$(atual).find('.gpc_modal_lgpd-opcoes-titulo').html('Statistics cookies');
$(atual).find('.gpc_modal_lgpd-opcoes-texto').html('They are used to collect information to display specific content to a particular browser when creating different target groups.');
}
if(i==2){
$(atual).find('.gpc_modal_lgpd-opcoes-titulo').html('Marketing cookies');
$(atual).find('.gpc_modal_lgpd-opcoes-texto').html('They are used to collect information to display advertising or specific content to a particular browser by creating different target groups.');
}
});
}, 400);
});
</script>


Then click on "Salvar"!


This code only changes the language of the cookie usage button. It does not change any other text on the page.


Still have questions? Reach out to our team on Chat! We're always happy to help.

Updated on: 08/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!