-
AuthorPosts
-
February 17, 2022 at 3:11 pm #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
CharlFebruary 20, 2022 at 11:21 am #1341461Hi 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,
RikardFebruary 21, 2022 at 12:03 pm #1341613Hi 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
February 22, 2022 at 5:00 am #1341744Hi,
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.
Best regards,
IsmaelFebruary 22, 2022 at 12:41 pm #1341785Hi Ismael
I will see what I can do. Many thanks for the prompt reply.
Charl
February 22, 2022 at 5:16 pm #1341811Hi,
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,
RikardFebruary 23, 2022 at 11:22 am #1341967Hi 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
CharlFebruary 24, 2022 at 9:38 am #1342123 -
AuthorPosts
- You must be logged in to reply to this topic.