Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1341174

    Hello, Hello

    I have a question relating to “Privacy and Cookies” language settings.

    On multiple of my client websites the “Privacy and Cookies” language is displayed correctly, in German. However, the “Click to enable / disable” options are in English. (See Private Content attachment)

    I would like to resolve it so that the “Click to enable / disable” options are also displayed in German. How can I do this efficiently as it effects numerous websites?

    Many thanks
    Charl

    #1341461

    Hi Charl,

    The screenshot you posted is not working, could you post a link to where we can see the actual problem instead please?

    Best regards,
    Rikard

    #1341613

    Hi Rikard

    If you go to the website listed in Private Content, you will see the cookie warning box at the bottom right. Click on the button “Einstellungen” which will open the pop-up of your various options.

    If you click on any of the options like “Wesentliche Website-Cookies”, “Google Analytics Cookies” or “Google Cookies und externe Videoanbieter” you will see various green enable/disable buttons at the bottom. Unlike the rest of the website, which is in German, the description of these buttons are mostly in English. I would like to change the text to German to match the language of the website.

    Thanks Charl

    #1341744

    Hi,

    Thank you for the info.

    The translations for the toggle description might still be missing from the language files. You may need to manually add the translations in the enfold/lang/de_CH.po language file or use the Loco Translate plugin to translate the strings.

    // https://wordpress.org/plugins/loco-translate/

    If you want to manually translate the strings instead of using the plugin, look for this lines in the de_CH.po file.

    #: includes/helper-privacy.php:941
    #, php-format
    msgid "Click to enable/disable %s."
    msgstr ""
    
    #: includes/helper-privacy.php:766
    msgid "Click to enable/disable essential site cookies."
    msgstr ""
    
    #: includes/helper-privacy.php:785
    msgid "Click to enable/disable Google Analytics tracking."
    msgstr ""
    
    #: includes/helper-privacy.php:828
    msgid "Click to enable/disable Google Maps."
    msgstr ""
    
    #: includes/helper-privacy.php:867
    msgid "Click to enable/disable Google reCaptcha."
    msgstr ""
    
    #: includes/helper-privacy.php:809
    msgid "Click to enable/disable Google Webfonts."
    msgstr ""
    
    #: includes/helper-privacy.php:848
    msgid "Click to enable/disable video embeds."
    msgstr "Klicken Sie, um Videoeinbettungen zu aktivieren/deaktivieren."
    

    You may need to install the POEdit application to convert the .po file to .mo.

    // https://poedit.net/

    Best regards,
    Ismael

    #1341785

    Hi Ismael

    I will see what I can do. Many thanks for the prompt reply.

    Charl

    #1341811

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1341967

    Hi Rikard

    You can close it. I haven’t tried any of your solutions yet, but it will probably be a week at least before I have time to and I know you like to wrap things up.

    many thanks
    Charl

    #1342123

    Hi,

    Alright. We will keep the thread open for now. Please feel free to update us when you have more questions regarding the translations.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.