• Resolved adminadminadmin

    (@adminadminadmin)


    Hi

    I am using qtranslate to set my website in different languages and I am also using contact form. I would like to have the contact form in different languages. Therefore, I was trying to insert php code in the Form field from the plugin in order to define the text for the language. As an example, I was trying:

    <p>
    <?php if(qtrans_getLanguage() == “en”) : echo(‘Name’); endif ?><?php if(qtrans_getLanguage() == “pt”) : echo(‘Nomo’); endif ?>

    [text* your-name] </p>

    It is working with the code:

    <p>Name (required)
    [text* your-name] </p>

    Is it possible to insert php code? Can I use qtranslate with Contact form 7? Im using 3.5.2 version.

    Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using qtranslate to have contact form for different languages’ is closed to new replies.