All Wordpress Themes

How to translate Contact Form

In order to translate Contact form you should:
1. Edit file section-contacts.php. It lays in menu Appearance -> Editor. If you use child theme, do it for it.
Replace this part of code

do_shortcode($smof_data['email']);

with this one

do_shortcode(__($smof_data['email']));

Screenshot_13

2. Create new contact form in language you need and copy its shortcode.
3. Go to menu WPML-> String Translations, rescan strings. Then new string will appear. Translate it (you just need to paste the shortcode of new contact form

Screenshot_12

Save changes.