• Resolved mtb43

    (@mtb43)


    HI, I am trying to add Romanian language to AI engine.

    I used this code and inserted it in ai-engine.php but it doesn’t work. How can I get it to work?

    add_filter( ‘mwai_languages’, function( $languages ) {
    unset($languages[‘it’]); // Remove Italian
    $languages[‘ro’] = “Romanian”; // Add Romanian
    return $languages;
    }, 10, 1);

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

    (@tigroumeow)

    Hi,

    How did you add it? Did you try Code Snippets?
    That code works; but you know where the language is added, right?

Viewing 1 replies (of 1 total)

The topic ‘adding language’ is closed to new replies.