• Resolved Tano

    (@tanohex)


    Please note that Masteriyo v1.6.16 is not compatible anymore with TranslatePress.

    • If you try to translate the Courses page (mywebsite.com/courses/), or the individual Course page (mywebsite.com/courses/test-course/), the TranslatePress translation sidebar doesn’t open anymore.
    • If you try to translate the Lesson page (mywebsite.com/learn/course/test-course/#/course/266/lesson/268), Masteriyo returns a 404 error.

    The only Masteriyo page that can be translated is the User Account page, but there’s an issue here also, as you can only translate the Dashboard, the other menu sections (Your Courses, Profile, Order History etc.) being impossible to translate.

    Hope this gets fixed soon, as for me at least, is a huge issue.

    Note to everyone that uses this plugin: NEVER update Masteriyo, without testing the release first, on dev.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Aashil Bijukshe

    (@lihsaa)

    Hello @tanohex

    1. The translatepress plugin is working normally as we tested it from our side in v1.6.16. You can check this screenrecord.
    2. As you mentioned the issue on the account page, has been replicated on our side as other tab content was not shown on clicking the respective tab. This is due to the URL issue, as the translate press plugin adds ‘?trp-edit-translation=true’ before ‘#/dashboard’ or ‘#/courses’. This makes other tabs inaccessible due to permalink issues. This should be enhanced from the Translatepress plugin side as they are inserting the parameters before our URL.

    Thank You

    Thread Starter Tano

    (@tanohex)

    @lihsaa Thanks for the reply, but you’re not doing it right. ??

    Here’s the proof: https://drive.google.com/file/d/1Ji8ft_IRkywOzrnOflBgDLzXXlorbZxT/view

    WP v6.3.2

    Masteriyo v1.6.16

    TranslatePress v2.6.4

    Divi Theme v4.22.2

    PS1: This worked before, so either TranslatePress messed up their plugin somehow (highly unlikely, as the User Dashboard translation works fine), or you guys did something that’s blocking the TP editor overlay, when coming directly from the page that is to be translated.

    PS2: This is hugely important for me, as I have a team of 6 translators (non-techies) waiting to translate this website, and they need the translator to work visually, directly from the pages they’re on, not coming from the WP Admin Backend.

    Plugin Support Aashil Bijukshe

    (@lihsaa)

    Can you try removing PHP_INT_MAX from this code add_filter( 'template_include', array( $this, 'template_loader' ), PHP_INT_MAX ); which is located on masteriyo folder/includes/Masteriyo.php line 122. It seems like template overiding might have cause this. If this fixes we will enhance it in our next update. For that time you can use this as temporary solution.

    Thanks. Please let us know. ??

    Thread Starter Tano

    (@tanohex)

    I can confirm that after this change, TranslatePress works properly.

    Now only 2 issues remain:

    • The URL issue in the User Dashboard: TP adds ‘?trp-edit-translation=true’ before ‘#/dashboard’ or ‘#/courses’.
    • The 404 Error on the Learn page, also related to the URL: TP replaces ‘/#/course/266/lesson/268’ in the URL with ‘/?trp-edit-translation=true’.

    Thanks a lot for your help Aashil, you’re a lifesaver!

    Plugin Support Aashil Bijukshe

    (@lihsaa)

    Glad it is resolved in your side as well. We need to set the right priority for that hook as builders like Oxygen overrides all of our template. We will test through different priorities and enhance it in that way.

    Yes, the other issues need to be fixed from Translate press side as well. I have reported it to them as well. Lets wait for the feedback until then. ??

    Marking this topic as resolved. You can always create new one for other queiries.

    Thank You

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with TranslatePress’ is closed to new replies.