Upfront contact form CAPTCHA field refresh link translation

Hi,

I noticed the text string "Click to change" below the CAPTCHA image (to refresh the captcha puzzle) will not translate to the corresponding string defined in the .po/.mo files.

  • Vinod Dalvi

    Hi @RavanH,

    I hope you are well today and thanks for posting on the forum.

    I could confirm on my test site using latest version of Spirit theme that the text "Click to change" is not translatable as it's added from the JavaScript.

    I have notified this to the plugin developer to make it translatable.

    In the meanwhile you can change it by using the attached small plugin that contains the following code.

    function add_custom_translate_scripts(){ ?>
    	<script type="text/javascript">
    		jQuery(document).ready(function($){
    			// setTimeout(function(){
    			$('.upfront-contact-form .realperson-regen').html('Custom click to change');
    			// }, 3000);
    		});
    	</script>
    <?php }
    add_action('wp_footer', 'add_custom_translate_scripts', 99);

    Change the text 'Custom click to change' in the above plugin code to whatever you want to display.

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.