WordPress.org

Ready to get started?Download WordPress

Forums

WP Survey And Quiz Tool
Language Swap - qTranslate (3 posts)

  1. dailybread81
    Member
    Posted 2 years ago #

    I got that problem:
    - when i choose a language with qTranslate, Wpsqt change it when I click on the next button and retakes me to the default language..

    http://wordpress.org/extend/plugins/wp-survey-and-quiz-tool/

  2. dailybread81
    Member
    Posted 2 years ago #

    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 ?>

  3. jondesrum
    Member
    Posted 1 year ago #

    Hi all,

    I would like to swap language in WP Survey and Quiz Tool (version 2.13.1).
    In the folder 'wp-content/plugins/wp-survey-and-quiz-tool/lang', there are many languages files (.mo extension):
    - wp-survey-and-quiz-tool-es_ES.mo
    - wp-survey-and-quiz-tool-it_IT.mo
    - ...

    In this folder, there is an other folder named 'po' with another languages files (.po extension):
    - es_ES.po
    - it_IT.po
    - ...

    Please, how I can change the language on this plugin? I don't find where I can precise which language (so which files) I want to use.

    Thanks for your support !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic