• Resolved imaginarytrout

    (@imaginarytrout)


    We’re using WPML to translate all the site content including SenseiLMS. All content has been translated including questions and answers for both English and Spanish. When viewing the quizzes in Spanish the questions display, but not the answers.

    You need to be logged in as a registered user to see the lesson content and “take the quiz” in either Spanish or English. We have screenshots and test logins to this test environment mentioned above.

    We’re at a loss as to what the solution to the problem is. Any ideas or information you have could be helpful to us. Thank you.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Dan (a11n)

    (@drawmyface)

    @kkarpieszuk do you have any suggestions here? Do you know if it’s something we need to change in Sensei LMS?

    Thread Starter imaginarytrout

    (@imaginarytrout)

    Dan, thanks for looking at this. We also have WPML taking a look at it, however, I’m not sure what they will come back with since the content is fully translated to Spanish including lessons and quizzes with full Q&A. Like I said its working fine for English, but Spanish we’re just looking at questions. No answers or the ability to complete a quiz. If you need a login, FTP or site + database archive, let us know.

    Plugin Support Dan (a11n)

    (@drawmyface)

    @imaginarytrout thanks, there are some known issues with Sensei + WPML compatibility currently. It sounds like you’ve already opened a support ticket with WPML. They will investigate to determine the cause of the issue, and will work with our developers if necessary to fix the compatibility.

    Thread Starter imaginarytrout

    (@imaginarytrout)

    Thanks, Dan. I was actually going to hit you up on the WP Slack channel. WPML is asking us to go install SenseiLMS and attempt to translate lessons a clean WP install. I guess we’re not understanding why the burden is on us to support the “known issues”. We’ll do what we can but would appreciate SenseiLMS and WPML support to put their heads together on this. Us being a go-between the two dev parties are not making this easy to resolve, particularly with you I’m guessing in EU and Carlos (the support tech working with us from WPML) in Montevideo Also, We ride on WP Engine and can grant a user to take advantage of their tooling including phpMySQL, etc.

    @imaginarytrout could you share the link to WPML forum’s ticket? I will check this (I am working in WPML compatibility team)

    Thank you @drawmyface for pinging me

    Thread Starter imaginarytrout

    (@imaginarytrout)

    @kkarpieszuk here is the link: https://wpml.org/forums/topic/split-spanish-version-of-sensei-plugin-the-quiz-link-301-redirects-back-to-the-lesson/ which is a split from a previous issue where we were experiencing a 301 redirect with quiz post type translation. The original issue was resolved by not using “cuestionario” and instead using “quiz” as the spanish quiz post type slug. In other words, please ignore the title 🙂

    Thread Starter imaginarytrout

    (@imaginarytrout)

    @kkarpieszuk @drawmyface no pressure guys 🙂 but our client just sent this to us.

    Thank you for the follow up call today. While I’m not a software developer, I can’t believe that the questions are viewable but not the answers. It can’t be that difficult of a fix!

    To remind everyone, we have pushed out the focus group several weeks past the original date and have committed to 10/18/2019 review by this group with a usable product to test.

    Looking forward to resolving the hiccup and moving forward by next Friday!

    Rick
    Washington Retail Association

    Hi Rick, I have replied to you on our forum, let’s continue there

    Thread Starter imaginarytrout

    (@imaginarytrout)

    The fix for this from @kkarpieszuk (thank you, sir!!) is as follows:

    In wpml > settings > taxonomy term translation taxonomy Question types were set as Translatable. Because of this question types, for example, Boolean has been translated to Spanish also “Boolean” but it’s slug was “boolean-es”. This is not a valid question type according to Sensei and when Sensei tries to query for answers with this slug, it gets nothing.

    Solution:
    – go to wpml > settings > Taxonomies translations
    – find Question types and set it as Not translatable
    – now you need to change a bit in your database. In table wp_terms find where slug ends with “-es”, the query for this is:
    SELECT * FROMwp_termsWHEREslugLIKE '%-es'
    – now for each slug, please remove -es from the end (so boolean-es should be boolean, required-es must be required etc)

    that’s it!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Spanish Quiz Answers do not display’ is closed to new replies.