PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Multi-Language Forms ... Problem

  1. Pietro
    Member

    Hi Guys ...
    So ... Finally I've learned how to shows user meta in Wordpress and how to use dynamic populations, so I though I've got the worse past ... but ... I have a problem now which seems very stupid and I do not understand how to solve it.
    I have a multi-language site with qTranslate.
    In order to have multi-language forms, once I have my final form in italian ... I just duplicate it, changing then the language in all my fields and that's all ...
    At this point I pubblish via short code the form_ITA in the italian version of the page, and the other one in the english version of it ... BUT ... and here is my problem ...
    My form is a 3 page forms ...
    If I am filling, let's say the italian one, when I switch to the next form page it doesn't load me the second page of the italian form, but again the first one, in english language ...
    Could You tell me why ??
    Thank You
    Pietro

    Posted 11 years ago on Saturday December 15, 2012 | Permalink
  2. David Peralty

    Can you link to your form so we can take a look? Are you including both forms on a single page? I'm not sure how the URLs are being written in your qTranslate and whatnot, so I can't even speculate until I see it happening.

    Posted 11 years ago on Monday December 17, 2012 | Permalink
  3. Pietro
    Member

    Hi David ...
    Sure ... please have a look to http://www.pietrosferrino.com/registration/?lang=it
    You should try some of the language versions other than the english one.
    Thank You
    Pietro

    Posted 11 years ago on Tuesday December 18, 2012 | Permalink
  4. David Peralty

    Yeah, so the language is being appended to the end, which is why it doesn't work with Gravity Forms as Gravity Forms is stripping that language code. Can you try adding ajax=true to your Gravity Forms shortcodes and see if that helps?

    Posted 11 years ago on Tuesday December 18, 2012 | Permalink
  5. Pietro
    Member

    Good morning.
    Well ... but in the short codes ... I already have the ajax=true option :o(
    And if I use the false option ... it doesn't change anything, always the same wrong behavior ... :o(

    Posted 11 years ago on Wednesday December 19, 2012 | Permalink
  6. David Peralty

    The issue with the translation plugin you use is that it appends a query string on the end and that's always going to be dropped by any form submission tool. I'm not sure how to get around that. Is there a setting to change it so it uses a folder or subdomain style to include the language choice in the URL?

    Posted 11 years ago on Wednesday December 19, 2012 | Permalink
  7. Pietro
    Member

    There ii an option in qTranslate advanced settings which says:

    URL Modification Mode:
    - Use Query Mode (?lang=en)
    - Use Pre-Path Mode (Default, puts /en/ in front of URL)
    - Use Pre-Domain Mode (uses http://en.yoursite.com)

    Is it what You mean ??
    ...
    If it is ... unfortunately it doesn't seems it helps ...
    That means I have to forget about multipage forms or what ?? .... :o(

    Posted 11 years ago on Wednesday December 19, 2012 | Permalink
  8. David Peralty

    If you switch it to pre-path mode or pre-domain mode, it still has the same issue where when it submits it goes to the english site?

    Posted 11 years ago on Wednesday December 19, 2012 | Permalink
  9. Pietro
    Member

    Yes, it does :o(

    Posted 11 years ago on Thursday December 20, 2012 | Permalink
  10. David Peralty

    I am not sure how that plugin works, and as such, I'm not sure why it would do that. We have had many people use Gravity Forms successfully using WPML but maybe it won't work with qTranslate.

    Posted 11 years ago on Tuesday December 25, 2012 | Permalink