Summary
hCaptcha currently supports several languages, but not all languages supported by WMF wikis. We should use a fallback instead of English if we are able to.
Background
- hCaptcha supports many languages, but not as many as are supported by WMF wikis
- If a user sees the CAPTCHA while using an unsupported language, we need to define an appropriate fallback language
- The appropriate fallback language will be the first language from LanguageFallback::getAll that is supported by hCaptcha
Acceptance criteria
- The display language for hCaptcha is forced to a fallback language if hCaptcha does not support the language being used by the user