• Resolved Khaled Yahya

    (@khaled0y)


    I translated my site and tutor lms to Arabic, but in some cases when clicking on some events and calling AJAX, the language returns to the default, such as the page given when clicking on the Add to Cart (????? ?????) button, the View Cart button appears in English, but when refreshing the page, the button appears in Arabic, In other cases, such as the payment page, when updating the country, the order details return to the default language, but I cancelled updating the tax in the order details to solve the problem temporarily, Also, where can I translate the alerts?

    • This topic was modified 1 week, 6 days ago by Khaled Yahya. Reason: add new details

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @khaled0y,

    Thank you for bringing this to our attention.

    I appreciate your detailed feedback regarding the language switching issue in AJAX calls. I have noted your concerns and will discuss them with our development team to explore possible solutions. However, I cannot guarantee a specific timeline for implementation at this moment.

    I solved this problem by creating my own translation with the loco translator plugin

    Thread Starter Khaled Yahya

    (@khaled0y)

    @urnafiz
    Can you give me a temporary solution?
    and the second Q how can translate the alerts?

    Thread Starter Khaled Yahya

    (@khaled0y)

    @mosaicdigital
    i already create it in loco plugin and its translated correctly but when calling ajax request its return to the default lang En

    Hello @khaled0y,

    For a temporary solution, you can manually update the tutor/assets/js/tutor-front.min.js file to translate the View Cart string.

    Regarding your second question, I confirm that the alert strings are already translatable.

    Let me know if you need further assistance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.