-
AuthorPosts
-
July 19, 2020 at 11:38 am #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
July 21, 2020 at 7:33 am #1231961Hey 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,
RikardJuly 21, 2020 at 6:25 pm #1232069Thank you for your reply. login details in de private content field.
Best regards
Marc- This reply was modified 4 years, 5 months ago by marc_vandaele.
July 23, 2020 at 6:17 am #1232485Hi Marc,
Thanks for that. The login details are not working though, please check and verify:
FOUT: Ongeldige gebruikersnaam of wachtwoord.
Best regards,
RikardJuly 23, 2020 at 9:18 am #1232520Updated login data in private field
July 24, 2020 at 6:12 am #1232876Hi 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,
RikardJuly 24, 2020 at 6:35 am #1232884First, 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, 5 months ago by Guenni007.
July 25, 2020 at 12:49 pm #1233192Indeed, 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.July 25, 2020 at 1:44 pm #1233199if 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, 5 months ago by Guenni007.
July 27, 2020 at 3:43 am #1233417 -
AuthorPosts
- You must be logged in to reply to this topic.