-
How can I change the language of google recaptcha? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is not possible. |
Beta Was this translation helpful? Give feedback.
-
Usually, reCAPTCHA automatically selects the language of the user's browser for the captcha. If you still want to change it, follow these steps: First of all, you need to install the panel modules for building. (Make sure you are in the yarn install Then you need to change the following file: sitekey={siteKey || '_invalid_key'}
onVerify={response => { between the sitekey and onVerify add this line: hl={'[languagecode]'} You will need to replace the yarn build:production When the building is complete, the reCAPTCHA language should be changed to the language specified in |
Beta Was this translation helpful? Give feedback.
Usually, reCAPTCHA automatically selects the language of the user's browser for the captcha. If you still want to change it, follow these steps:
First of all, you need to install the panel modules for building. (Make sure you are in the
/var/www/pterodactyl
folder and have yarn installed!)Then you need to change the following file:
/var/www/pterodactyl/resources/scripts/components/auth/LoginContainer.tsx
.In line 104 it should look like this:
between the sitekey and onVerify add this line:
You will need to replace the
[languagecode]
with something likeen
(List here)After you've edited the fi…