WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Hovercards
Localization fix (1 post)

  1. mecanographik
    Member
    Posted 9 months ago #

    Hi,
    Thanks for your plugin, it workds great, except one think, the localization support.
    I've fixed it by replacing,

    in bp-hovercards.php around line #75 :
    load_plugin_textdomain('bp-hovercards', false, BPHOVERCARDS_DIR . 'languages/' );

    with:
    load_plugin_textdomain('bp-hovercards', false, dirname( plugin_basename( __FILE__ ) ).'/languages');

    it works if you change the file name of the .po and .mo files, for example with NL :
    bp-hovercards-nl_NL.po

    Regards,

    http://wordpress.org/plugins/buddypress-hovercards/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 9 months ago by mecanographik
  • This topic is not resolved
  • WordPress version: 3.6.1