Support » Plugin: BuddyPress FollowMe » Localisation not working

  • Resolved seogroup



    i tried to translate but it doesnt work. At first you are using in bp-follow-loader load_textdomain. Thats not correct. Correct is: load_plugin_textdomain. I have changed it to this:

    function bp_followme_action_init()
        load_plugin_textdomain('bp-follow', false, dirname(plugin_basename(__FILE__)) . '/languages');
    add_action('init', 'bp_followme_action_init');

    But it is still not working. I donĀ“t understand why. Do you have an idear?


Viewing 1 replies (of 1 total)
  • Plugin Author meg@info



    thankls for report, i was fix the problem.
    you can edit the bp-follow-loader.php anre replace the code in lines 12,13 with this code

    if ( file_exists( BP_FOLLOW_PLUGIN_DIR . '/languages/' . get_locale() . '.mo' ) )<br />
    	load_textdomain( 'bp-follow', BP_FOLLOW_PLUGIN_DIR . '/languages/' . get_locale() . '.mo' );<br />

    Or follw the dev in GitHub


Viewing 1 replies (of 1 total)
  • The topic ‘Localisation not working’ is closed to new replies.