Ideally the language of reCaptcha should be one, the user had chosen from language toggle block (English or Ukrainian in my case). Maybe something like {if} statement.
I am not very familiar with php for now, only javascript. Will see what I can do. And I am not very experienced with github, only committed changes to my personal repository by command line.
As I read the Google documentation, I note that this parameter is described as: “Optional. Forces the widget to render in a specific language. Auto-detects the user’s language if unspecified.”
Can you identify any reason Google’s autodetection of the language is not working properly?
Checked this issue once more. It seems that reCaptcha uses the browsers` language, but not html page language. I have installed Ukrainian language pack on Firefox and changed default language to it. After this manipulations reCaptcha language also have changed to this language. This mostly solves the problem for the authors, who not know English.
One thing that is different about your config than most configs is that you are using disable_path_info. Is this due to current server limitations? Do have a way to test this in your current environment with disable_path_info as “Off”?
It seems to function correctly with respect to Google, and then fail validation within OJS. Have you made any changes to your OJS code? Are you running the latest stable OJS 3.0.1?
Eliminating the Strict Standards warnings leaves one of interest: Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0
To use ReCAPTCHA successfully, you (or your hosting provider or system administrator) will need to enable allow_url_fopen at the PHP level. This is usually done by modifying the “php.ini” file, but this will vary based on your system. Check with your hosting provider support or friendly system admin for more information.