• Resolved bpmstudio

    (@bpmstudio)


    After the latest update today, the language hook filter to remove and add languages stopped working

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @bpmstudio,

    Can you share here exactly the code that you are using? I didn’t change anything related to this part of AI Engine, so it should work; I would like to check your code and try it on my environments.

    Thread Starter bpmstudio

    (@bpmstudio)

    @tigroumeow yes ofc. I reverted back to 1.7.6 and the below code working just fine

    add_filter( 'mwai_languages', function( $languages ) {
      unset($languages['de']); // Remove German
      unset($languages['fr']); // Remove French
      unset($languages['es']); // Remove Spain
      unset($languages['it']); // Remove Italy
      unset($languages['zh']); // Remove Chinese
      unset($languages['ja']); // Remove Japanese
      unset($languages['pt']); // Remove Portuguese
    
      $languages['el'] = "Greek"; // Add Greek
      return $languages;
    }, 10, 1);
    Thread Starter bpmstudio

    (@bpmstudio)

    hi, the problem is not solved on the last 2 releases

    Plugin Support Val Meow

    (@valwa)

    Hello @bpmstudio ,

    We greatly appreciate you notifying us about this matter as other users are also sharing the same issue. Rest assured, we are actively working on resolving this problem and will include the necessary fixes in an upcoming update. Our aim is to address your concerns and provide a solution that alleviates the inconvenience caused.

    I recommend joining our Discord community and discussing this topic with users sharing the same issue.

    Thank you for your patience and understanding. ??

    MrLeif

    (@mrleif)

    Just got the same problem
    Version 1.9.95?
    wordpress 6.4.1

    Plugin Author Jordy Meow

    (@tigroumeow)

    It will be fixed in 1.9.97. Coming soon!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Languages stopped working’ is closed to new replies.