@javiberlin
if using form shortcode (note that it’s been deprecated) then you can use translation of the string ‘Submit’ in the domain ‘integration-dynamics’ OR you can add wordpresscrm_form_submit_button filter (takes 2 args, caption as a string, and FormInstance, returns string).
If using Twig form, you can overwrite the form template (form.twig file) with your own implementation OR use Javascript to change the caption.
Ok, cuold you give me same example of using “wordpresscrm_form_submit_button filter (takes 2 args, caption as a string, and FormInstance, returns string).”
Thanks!
@javiberlin following simple filter examples:
add_filter( 'wordpresscrm_form_submit_button', 'change_button_caption', 10, 2 );
function change_button_caption( $caption, $form ) {
// replace default button caption with Send
return "Send";
}
Keep in mind that, as I mentioned, it only works for the shortcode. You mentioned translation, for the shortcode you can use translation instead of the code above.