Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1231549

    Hi
    On one of my sites (www.birgittabechtold.com) I have added a google captcha (v3) to the contact form at the bottom of the homepage.
    The site is in English, but the text with the captcha appears in Dutch. I can’t find options to change the language of the captcha, not in wordpress, not in the enfold settings page and not on google.
    Can you please inform me how I can change this?

    Thanks

    #1231961

    Hey marc_vandaele,

    Sorry for the late reply. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1232069

    Thank you for your reply. login details in de private content field.

    Best regards
    Marc

    • This reply was modified 4 years, 3 months ago by marc_vandaele.
    #1232485

    Hi Marc,

    Thanks for that. The login details are not working though, please check and verify:

    FOUT: Ongeldige gebruikersnaam of wachtwoord.

    Best regards,
    Rikard

    #1232520

    Updated login data in private field

    #1232876

    Hi Marc,

    Thanks for that. The text in question depends on the language that your WordPress installation is set to use. If the site is in English, then maybe it would be a good idea to use English on the backend as well? If you want to keep using Dutch then I’ll ask the rest of the team if we might have a solution for translating the text. It might be difficult though since I think the text in question is fetched directly from Google, but I’m not 100% sure of that.

    Best regards,
    Rikard

    #1232884

    First, you can change the language of the website as you like – in this case English – and that makes sense because it is in English in the frontend.
    Second: If you want a different dashboard language, go to your user account and switch to Dutch – from this moment on, all dashboard translations are in Dutch when you are logged in ( other users may prefer different language setting ).

    _______

    besides that and i believe the above is the easiest way to solve the problem – i think the filter : avf_google_recaptcha_badge_content may help here:

    add_filter('avf_google_recaptcha_badge_content','avf_google_recaptcha_badge_content_mod');
    function avf_google_recaptcha_badge_content_mod($badge){
    	$badge =	'<div class="av-google-badge-message hidden">';
    	$badge .=	__( 'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" taget="_blank">Terms of Service</a> apply.', 'avia_framework' );
    	$badge .=	'</div>';
    return $badge;
    }

    you can change then the Text and f.e. the links to the language specific privacy page of google – or the link target options – or you like to link to your privacy page with the content of google recaptcha info f.e: to https://your-domain/privacy/#google-recaptcha-info

    • This reply was modified 4 years, 3 months ago by Guenni007.
    #1233192

    Indeed, changing the website language solved the problem for now.
    In the future there will also come a german and a french translation of the site.
    It would however be interesting if there was a way to change the language of the captcha on a specific page. No idea if this is something that can be provided within the Enfold theme settings.

    #1233199

    if you use f.e. WPML – this will be the case – the frontside language decides the output of those settings.

    These plugins then set exactly the frontend language. The Lang files (Enfold / Lang ) are primarily responsible for such translations. As in this case, there are some filters that allow you to redefine these without editing the Lang files.

    • This reply was modified 4 years, 3 months ago by Guenni007.
    #1233417

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

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