• Hi, just want to share my solution.

    There is native WPML solution for this, but in my case (default language is not English) it is not very good.

    Instead of translating each form field individually, I decided to translate the whole form template. Here is the code:

    function translate_contactform(&$form_obj) {
      $form_obj->form = icl_t(
        'contactform', //context
        'form'.$form_obj->id, //string name
        $form_obj->form //template
      );
    }
    add_action('wpcf7_contact_form','translate_contactform',null,1);

    I don’t know if this works with multiple forms, but for my one and only contact form it works.

    http://wordpress.org/extend/plugins/contact-form-7/

The topic ‘[Plugin: Contact Form 7] Localize form template using "WPML string translation"’ is closed to new replies.