Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Donna Peplinskie (a11n)

    (@donnapep)

    Hi Freddy,

    That’s odd. Can you try going to Settings > Permalinks and resaving without making any changes?

    Thread Starter freddyvangeel

    (@freddyvangeel)

    Hi Donna,

    thanks for the reply, but this didn’t help..

    it has something to do with translation i think

    Thread Starter freddyvangeel

    (@freddyvangeel)

    dutch translation for lesson is les and course is cursus

    Plugin Author Donna Peplinskie (a11n)

    (@donnapep)

    So your site is in Dutch but course and lesson were not using the translated versions in the URLs before? Do you have a translation plugin installed?

    As a quick fix, please try installing the Code Snippets plugin and then add the following snippet:

    add_filter( 'sensei_lesson_slug', 'update_lesson_slug' );
    add_filter( 'sensei_course_slug', 'update_course_slug' );
    
    function update_lesson_slug() {
    	return 'lesson';
    }
    
    function update_course_slug() {
    	return 'course';
    }

    That should get the URLs using “lesson” and “course” again.

    Thread Starter freddyvangeel

    (@freddyvangeel)

    I haven’t changed anything, only updated paid courses.
    at first there were a few other things not translated, now i see more translated words..
    this snippet fixed it, but is this a permanent fix?
    thanks a lot btw!

    Plugin Author Donna Peplinskie (a11n)

    (@donnapep)

    I’m actually not sure what the problem is. Suddenly your URLs were being translated, but the Dutch translation is not complete for Sensei LMS so it wouldn’t have been possible to download it. I presume your Site Language in Settings > General is set to Nederlands?

    I suppose you could try looking in your wp-content/languages/plugins folder for files that start with sensei-lms-nl_NL and delete them, but I expect none will exist. If they did, deleting them would also remove any of the Sensei text that is currently being translated on your site.

    Thread Starter freddyvangeel

    (@freddyvangeel)

    I’ve the same problem with the tests…
    i wanted to copy the filter, but i’m not sure what the correct word is for the English part..
    the link now (in an example) is: https://www.knxcontrol.nl/test/toets-1-over-knx/

    Nevermind, i found it.. it’s ‘quiz’

    • This reply was modified 3 years, 12 months ago by freddyvangeel.

    Hi @freddyvangeel ,

    Were you able to get this fixed, then? ??

    Best,
    Cena

    Thread Starter freddyvangeel

    (@freddyvangeel)

    The quiz part is fixed by a new filter.. But I don’t know how to find out what the problem was in the first place

    Yes, that’s frustrating. It can be nearly impossible to find out what caused something after the fact (and fix).

    It sounds like neither you nor Donna was ever quite sure on what was causing it, and you never answered this: “Do you have a translation plugin installed?” which could be factoring into things. (That is, the method of translation may have been the root of the issue, rather than Sensei itself.)

    I’ll close this for now, but please do let us know if you’re continuing have difficulties here.

    Best,
    Cena

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘panic: 3.9 link changed’ is closed to new replies.