• Resolved Masoud

    (@rama777)


    Hello
    Strings in JS files are not translate able. how we can translate these strings with Poedit program?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Masoud

    (@rama777)

    As i turn on debug mode, this error appears in dashboard:


    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the tutor domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. 

    • This reply was modified 1 month, 3 weeks ago by Masoud.

    Hello @rama777,

    Thank you for reaching out!

    Regarding the translation of strings in JS files, could you provide more details? Specifically, which JS file are you referring to, and which strings are not being translated? This will help me better understand the issue and provide guidance.

    As for the _load_textdomain_just_in_time notice, this occurs when WP_DEBUG is enabled in your wp-config.php file. While this is not an error, it’s a notice triggered by debugging mode. I recommend set WP_DEBUG to false in your wp-config.php file, as enabling it is not advised for production sites.

    Thread Starter Masoud

    (@rama777)

    The JS file in lazy-chunks folder.
    For example the strings in course builder are not translatable.
    https://postimg.cc/tYdNFstZ

    Hello @rama777,

    Thank you for bringing this to our attention. I appreciate your feedback and have noted this issue. I will discuss it with our development team to find a resolution.

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