evoWeb / recaptcha

TYPO3 Extension to make use of googles nocaptcha
GNU General Public License v2.0
5 stars 18 forks source link

plugin setting for language does not seem to force the language #10

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

very much like your extension.

in our setup we need to distinguish different language locales (e.g. germany, switzerland, austria) but setting the plugin setting plugin.tx_recaptcha.lang = de depending on the current selected language does not seem to change the resulting recaptch code. Maybe I'm just missing something but I didn't found the right entry point in the extension, otherwise this may be a pull request. :)

Looking forward to any feedback.

kind regards jonathan

garbast commented 6 years ago

In general reCAPTCHA detects the browser language and displays accordingly. So i would suggest to keep the autodetection on.

If for what ever weird reason the customer is not satisfied with that you could add the different language keys by changing

plugin.tx_recaptcha.public_key.wrap =

Due to missleading expectations i think about getting rid of the lang setting.

ghost commented 6 years ago

Hi,

thanks for the quick reply. Regarding the differenct german versions the browser detection is sufficient.

The feedback of our customer is, when switching to spain the content changes but the captcha does not.

I'll look into it with different keys. Thanks again!

Jonathan