Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve solved it!!!
    inside the directory:
    pages/site/quiz

    edit section.php
    … <form method=”post” action=”<?php echo esc_url($_SERVER[‘REQUEST_URI’]); ?>”>

    like that:

    <?php if(qtrans_getLanguage() == “it”) : ?>
    <form method=”post” action=”<?php echo esc_url($_SERVER[‘REQUEST_URI’]); ?>?lang=it”>
    <?php endif ?>
    <?php if(qtrans_getLanguage() == “en”) : ?>
    <form method=”post” action=”<?php echo esc_url($_SERVER[‘REQUEST_URI’]); ?>?lang=en”>
    <?php endif ?>
    <?php if(qtrans_getLanguage() == “ru”) : ?>
    <form method=”post” action=”<?php echo esc_url($_SERVER[‘REQUEST_URI’]); ?>?lang=ru”>
    <?php endif ?>

    Thread Starter hwassie

    (@hwassie)

    Thanks for the help. I had to change:
    ?lang=ru” to
    &lang=ru”

    I would prefer a “non hard coded” solution but this works and I have implemented it.
    Thanks very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Survey And Quiz Tool] WPSQT and qTranslate’ is closed to new replies.