• johannesdb

    (@johannesdb)


    So I updated to wpml string translation and my site broke :-/

    The WPML team found a fix. Just tested the fix and it works ?? Maybe this fix could be included in the next version of this fine plugin?

    Our compatibility team has found a fix for this issue. It happens because the plugin tries to load a directory instead of a MO file. The specific location is in /wp-content/plugins/buddypress-restrict-messages/bp-restrict-messages-loader.php line 21. Please change this line:

    load_textdomain( ‘bp-restrict-messages’, dirname( __FILE__ ) . ‘/languages/’ );
    With this line:

    load_textdomain( ‘bp-restrict-messages’, dirname( __FILE__ ) . ‘/languages/bp-restrict-messages-‘ . get_locale() . ‘.mo’);
    Save the changes and activate the BuddyPress Restrict Messages and the String Translation plugins and everything should be ok.

  • The topic ‘Wpml string translation’ is closed to new replies.