Notifications
Clear all

wpForo 1.x.x [Solved] Google reCAPTCHA language

5 Posts
2 Users
1 Reactions
711 Views
Posts: 4
Topic starter
(@hamid)
Active Member
Joined: 4 years ago

hi

How can I change the Google reCAPTCHA language to Persian?

4 Replies
Tutrix
Posts: 1445
(@tutrix)
Noble Member
Joined: 4 years ago

@hamid

Google reCAPTCHA uses the language of your browser.

If you use Persian language in your browser, Google reCAPTCHA is also in Persian.

Posts: 4
Topic starter
(@hamid)
Active Member
Joined: 4 years ago

@tutrix

Thank you, but what should I do if I always want to be Persian?
Because we provide services only in Persian languages and many of them use English language browsers.

Tutrix
Posts: 1445
(@tutrix)
Noble Member
Joined: 4 years ago

@hamid

You can put the following script in the header.php of your Wordpress theme

between the head tags <head></head>

<script src='https://www.google.com/recaptcha/api.js?hl=fa'></script>

Example the header.php from the twentytwentyone Theme

<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src='https://www.google.com/recaptcha/api.js?hl=fa'></script>
<?php wp_head(); ?>
</head>

you can find more information here reCAPTCHA Guides

 

Posts: 4
Topic starter
(@hamid)
Active Member
Joined: 4 years ago

Thank you

😉 😉 😉 😉