Support » Plugin: Contact Form 7 » How to translate Google recaptcha?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    You don’t need to translate reCAPTCHA since it detects the browser’s language preference and translates the widget automatically.

    Ah OK, good to know, thanks. We can consider this resolved then.

    The code on this page translates the reCAPTCHA of Contact Form 7 for the whole Website.

    It is correct that reCAPTCHA detects the browsers language. But what if I want to control it as a webmaster?

    I have a website which has pages in multiple languages (WMPL). As the contact form is not translatable using CF7 I set up multiple contact forms, each in a different language.

    I want the translation to be consistent. So if a visitor set the browser to Spanish but CHOOSES to read the website in English, I want him to appear EVERYTHING in English and not some stuff in Spanish because of his device settings.

    For reCAPTCHA 1.0 there is a documentation for internationalization. I don’t know if this is still valid with 2.0 and 3.0. But they still provide the Language codes page in the main menu. So for me it looks like overwriting the automatic language detecting is still possible and an option for Google.

    This could look like:
    [recaptcha id:test class:test size:compact theme:dark lang:fr-CA]

    And a note in the shortcode generator that “without value autodetecting the browser language is enabled” and link to Language codes would be good. Or a dropdown like “Auto, Arabic, Afrikaans”.

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to translate Google recaptcha?’ is closed to new replies.