Closed sergiop closed 5 years ago
As reported in reCaptcha v2 docs, to allow reCaptcha to auto-detect the language, you don't have to specify hl param.
hl
If you set it to en in the defaultProps, it's impossible to set it to undefined and there isn't a way to enable the auto-detection of the language.
en
defaultProps
I created a PR to fix this: https://github.com/appleboy/react-recaptcha/pull/257
Let me know what do you think and if you can merge it. Thanks for your attention. 🙂
Closed via #257
As reported in reCaptcha v2 docs, to allow reCaptcha to auto-detect the language, you don't have to specify
hl
param.If you set it to
en
in thedefaultProps
, it's impossible to set it to undefined and there isn't a way to enable the auto-detection of the language.I created a PR to fix this: https://github.com/appleboy/react-recaptcha/pull/257
Let me know what do you think and if you can merge it. Thanks for your attention. 🙂