Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #1220170

    Hi,
    I need to edit the toggle buttons of the modal window to have them in English and in French.
    Could you help?
    Thanks.
    Charles

    #1220275

    Hey lecoanetdesign,

    Could you please attach some screenshots of the issue?

    Best regards,
    Victoria

    #1224013

    My client needs the button in the cookies modal window to be in English and in French, so I need to edit them to have them in both languages.
    Screen shot

    #1225114

    Hello, anyone to answer my request?

    #1225136

    Hi lecoanetdesign,

    We cannot see the screenshot. Please, upload screenshots to a service like Dropbox or http://imgur.com and give us the links here.

    Best regards,
    Victoria

    #1226614

    Here is the link:

    View post on imgur.com

    #1227508

    Hi,

    Thank you for the info.

    You can actually define your own toggle description or label by enclosing the text in the privacy shortcode. Example:

    [av_privacy_video_embeds]This is a custom privacy toggle label for video embeds in French.[/av_privacy_video_embeds]
    

    Best regards,
    Ismael

    #1227562

    Hi, thanks it’s working well except that I need to hide the one in English when on the French version of the website and vice-versa.
    I do it for the text with <span class=”fr-cookie”> content </span> but the shortcode button still appears.
    Anyway to hide it depending on the language?
    Charles

    #1228368

    Hi,

    Thank you for the update.

    There’s no option for it by default but your solution should be enough to only display the toggle for the current language.

    Best regards,
    Ismael

    #1228404

    Unfortunately it’s not enough. For whatever reason the english toggle disappears on the French version but the French toggle stays visible… For example :
    <span class=”fr-cookie”>Ces cookies collectent des informations qui utilisées pour améliorer notre compréhension de l’usage du site et de l’efficacité de nos campagnes marketing, ou pour nous permettre d’adapter notre site de façon à améliorer votre expérience de navigation. Si vous ne souhaitez pas que nous analysions votre parcours vous pouvez désactiver ces cookies ci-dessous :
    [av_privacy_google_tracking]Cliquer pour activer/désactiver le suivi par Google Analytics.[/av_privacy_google_tracking]</span>
    <span class=”en-cookie”>These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
    If you do not want that we track your visit to our site you can disable tracking in your browser here:
    [av_privacy_google_tracking]</span>

    So, I’m very confused…

    #1229368

    Hi,

    What is the css code that you’re using to toggle the visibility of the buttons?

    If you don’t have the css yet, you have to initially hide the toggles..

    
    .fr-cookie, .en-cookie {
      display: none;
    }

    .. then only display them on their respective languages:

    html[lang="en-US"] .en-cookie {
      display: inline;
    }
    
    html[lang="fr-FR"] .fr-cookie {
      display: inline;
    }

    If “inline” doesn’t work for you, try to replace it with “block”.

    Best regards,
    Ismael

    #1229458

    I added your codes. It makes sense but it’s still not working. The French toggles stay visible on the English version. Is there something to do with the way the language is declared in the header?

    #1229988

    Hi,

    As much as I see in the HTML code the span attribute fr-cookie is not containing the checkboxes but only the text. Check this please. Both text and checkboxes must be inside for CSS to work.

    Best regards,
    Günter

    #1230454

    ?!?! What do you mean by inside, is this not it? Did you see what I sent? :
    <span class=”fr-cookie”>Ces cookies collectent des informations qui utilisées pour améliorer notre compréhension de l’usage du site et de l’efficacité de nos campagnes marketing, ou pour nous permettre d’adapter notre site de façon à améliorer votre expérience de navigation. Si vous ne souhaitez pas que nous analysions votre parcours vous pouvez désactiver ces cookies ci-dessous :
    [av_privacy_google_tracking]Cliquer pour activer/désactiver le suivi par Google Analytics.[/av_privacy_google_tracking]</span>
    <span class=”en-cookie”>These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
    If you do not want that we track your visit to our site you can disable tracking in your browser here:
    [av_privacy_google_tracking]</span>

    #1230848

    Hi,

    My bad. I forgot to change selector for the FR language. Please update the code again.

    We changed this line:

    html[lang="fr-FR"] .en-cookie {
    

    .. to:

    html[lang="fr-FR"] .fr-cookie {
    

    If it doesn’t work still, try to add the important rule to the display property.

    html[lang="en-US"] .en-cookie {
      display: inline !important;
    }
    
    html[lang="fr-FR"] .fr-cookie {
      display: inline !important;
    }

    Best regards,
    Ismael

    #1231040

    Yes, I corrected it already but still no luck. This is what I have in my CSS :
    .fr-cookie, .en-cookie {
    display: none;
    }
    html[lang=”en-GB”] .en-cookie {
    display: inline !important;
    }
    html[lang=”fr-FR”] .fr-cookie {
    display: inline !important;
    }
    … and the French toggle still stay visible on the English version… Meanwhile, the English toggle disappears as expected on the French version. (also tried to use “block” instead of “inline”)
    Can’t figure that out…

    #1231624

    Hi,

    Thank you for the update.

    We may need to access the site in order to check the issue properly. Please post the login details in the private field so that we can access the dashboard and edit the css when necessary.

    Best regards,
    Ismael

    #1231799

    Ok, I joined the infos in the private section.

    #1231952

    Hi,

    Some of the toggles or content are wrapped inside the fr-cookie element, but some are not such as this one.

    <span class="toggle-label-content">Cacher en permance la barre de message et refuser tous les cookies. Nous avons besoin de stocker ces 2 paramètres. Dans le cas contraire il vous sera demandé d'ouvrir une nouvelle fenêtre ou un nouvel onglet.</span>
    

    Make sure that they are wrapped inside an element with the fr-cookie class attribute or name.

    <span class="fr-cookie">
    CONTENT HERE
    </span>
    

    Best regards,
    Ismael

    #1232395

    Where did you find this one… Are you trying for me to give up or what.
    The toggle is enclosed…
    <span class=”fr-cookie”>Ces cookies sont essentiels au bon fonctionnement de notre site et de ses fonctionnalités. En conséquence, les refuser aura un impact sur la manière dont le site fonctionne. Vous pouvez toujours bloquer ou supprimer les cookies en modifiant les paramètres de votre navigateur et forcer le blocage de tous les cookies de ce site. A chaque nouvelle connexion nous vous demanderons à nouveau d’accepter ou refuser les cookies. Si vous souhaitez refuser les cookies de manière permanente, permettez-nous d’enregistrer un cookie à cet effet. Nous supprimerons alors tous les cookies sauvegardés sur notre domaine, et vous fournirons une liste des cookies sauvegardés sur votre domaine de manière à vous permettre de vérifier ce que nous avons sauvegardés. Pour des raisons de sécurité nous ne pouvons vous fournir ou modifier les cookies d’autres domaines. Vous pouvez consulter ces derniers dans les paramètres de sécurité de votre navigateur.
    [av_privacy_allow_cookies]Cacher en permance la barre de message et refuser tous les cookies. Nous avons besoin de stocker ces 2 paramètres. Dans le cas contraire il vous sera demandé d’ouvrir une nouvelle fenêtre ou un nouvel onglet.[/av_privacy_allow_cookies][av_privacy_accept_essential_cookies]Cliquer pour activer/désactiver les cookies[/av_privacy_accept_essential_cookies]
    </span>

    Look closer please! Look closely to the one about Google analytics for exemple:

    <span class=”fr-cookie”>
    Ces cookies collectent des informations qui utilisées pour améliorer notre compréhension de l’usage du site et de l’efficacité de nos campagnes marketing, ou pour nous permettre d’adapter notre site de façon à améliorer votre expérience de navigation. Si vous ne souhaitez pas que nous analysions votre parcours vous pouvez désactiver ces cookies ci-dessous :
    [av_privacy_google_tracking]Cliquer pour activer/désactiver le suivi par Google Analytics.[/av_privacy_google_tracking]
    </span>
    <span class=”en-cookie”>
    These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
    If you do not want that we track your visit to our site you can disable tracking in your browser here:
    [av_privacy_google_tracking]
    </span>

    Everything is enclosed correctly, no? Still it’s not working.

    #1233481

    Hi,

    Are you trying for me to give up or what.

    No, not at all. In the front end, we just noticed that the language wrapper are not there, so we assumed that you just forgot to enclose some of the content.

    To fix the issue, we replaced the span tag with div elements and somehow this worked.

    Best regards,
    Ismael

    #1233956

    So, anyway, it’s working finaly fine. Thanks for the help. You can close this thread no.
    Best,
    Charles

    #1234682

    Hi,
    Glad Ismael could help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘Edit toggle button of modal window (cookies)’ is closed to new replies.