Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter SK

    (@sooskriszta)

    This is what the WPML guys have to say about it

    We have dedicated team with the right resources that tightly works with theme/plugin authors to make their themes or plugins compatible with WPML.

    Usually it takes no more than a couple of days to compete this and make the theme fully compatible from the moment the team author approach us.

    The author can contact us at http://wpml.org/documentation/theme-compatibility/go-global-program

    Thread Starter SK

    (@sooskriszta)

    It appears that the basics are simple:

    1) Add another parameter in the ajax call for the language. You can use the ICL_LANGUAGE_CODE constant to know the active language.
    2) Get that parameter and do this at the top of your ajax process:
    $lang = $_POST[“lang”] //or whatever you used
    global $sitepress;
    $sitepress->switch_lang($lang);

    The above may be an oversimplification, but the WPML guys say that the whole process from registering at http://wpml.org/documentation/theme-compatibility/go-global-program/ to implementation, testing and fixing for edge-cases etc takes about 2-3 days. They help the theme author with the sticky issues as it is good for them as well if more themes are compatible.

    Here’s an example they have put out where they claim it takes about 1-2 hrs to implement http://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/

    Thread Starter SK

    (@sooskriszta)

    @fpcorso Any thoughts on multilingual?

    Can you create a quiz per language?

    Thread Starter SK

    (@sooskriszta)

    Sure. But that doesn’t really help, does it?

    1. For being organized, it is important to know which quizzes are translations of each other and have them connected to each other.

    2. If I create several quizzes, one in each language, I can translate the questions and answer options. But what about the quiz’s internal strings, e.g. Begin quiz, Next question, etc?

    Ask WPML on their support forum if they could create a file named wpml-config.xml that will be placed in the root folder of the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multilingual quizzes’ is closed to new replies.